{"id":13833355,"url":"https://github.com/pengx17/logseq-plugin-todo-master","last_synced_at":"2025-03-16T19:32:47.045Z","repository":{"id":40608717,"uuid":"402684360","full_name":"pengx17/logseq-plugin-todo-master","owner":"pengx17","description":"A simple plugin to render a progress bar to gather the overall progress of the TODO markers based on the rendering position.","archived":false,"fork":false,"pushed_at":"2022-08-31T02:50:24.000Z","size":671,"stargazers_count":123,"open_issues_count":14,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T19:13:45.080Z","etag":null,"topics":["logseq","logseq-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pengx17.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-03T07:28:30.000Z","updated_at":"2024-10-01T03:54:37.000Z","dependencies_parsed_at":"2023-01-16T16:01:04.973Z","dependency_job_id":null,"html_url":"https://github.com/pengx17/logseq-plugin-todo-master","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":"pengx17/logseq-plugin-template-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengx17%2Flogseq-plugin-todo-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengx17%2Flogseq-plugin-todo-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengx17%2Flogseq-plugin-todo-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengx17%2Flogseq-plugin-todo-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pengx17","download_url":"https://codeload.github.com/pengx17/logseq-plugin-todo-master/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221667532,"owners_count":16860621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logseq","logseq-plugin"],"created_at":"2024-08-04T12:00:26.821Z","updated_at":"2024-10-27T11:11:06.618Z","avatar_url":"https://github.com/pengx17.png","language":"TypeScript","funding_links":[],"categories":["Features","others"],"sub_categories":["🚥 Kanban board"],"readme":"# Logseq Plugin TODO Master\n\nA simple plugin to render a progress bar to gather the overall progress of the TODO markers based on the rendering position.\n\n![](./legend.png)\n\n## Usage\n\nUse slash command `[TODO Master] Add Progress Bar` to add a progress bar macro `{{renderer :todomaster}}` .\nThe progress will be calculated based on the position of the macro.\n\n- If the macro has children blocks, it will show the progress of the children blocks\n- If the macro is at the root of the page (without a parent block) and has no children blocks, it will show the progress of the current page\n- If the macro is rendering in a block which has a query block, it will show the progress of the query block\n\n### Tips\n\nSince this macro `{{renderer :todomaster}}` will display progress based on the rendering block, you can place it in the journal template, or in a query block title. Here are some examples:\n\n#### Add TODO Master into the page's properties\n\n```md\nprogress:: {{renderer :todomaster}}\n```\n\n#### Add TODO Master into the query block's title\n\n```clojure\n#+BEGIN_QUERY\n{:title \"{{renderer :todomaster}}\"\n    :query [:find (pull ?h [*])\n            :in $ ?start ?next\n            :where\n            [?h :block/marker ?marker]\n            [?h :block/refs ?p]\n            [?p :block/journal? true]\n            [?p :block/journal-day ?d]\n            [(\u003e ?d ?start)]\n            [(\u003c ?d ?next)]]\n    :inputs [:today :7d-after]\n    :collapsed? false}\n#+END_QUERY\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengx17%2Flogseq-plugin-todo-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpengx17%2Flogseq-plugin-todo-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengx17%2Flogseq-plugin-todo-master/lists"}