Task Matrix
unlistedby Luna Jiang
Visual task dashboards with list, GTD, and Eisenhower views.
Obsidian Task Matrix โก
Visual task dashboards with list, GTD, Eisenhower, and calendar views.
Documentation: https://luna-jmy.github.io/ob-plugin-docs/en/task-matrix/
โจ Features
๐งญ Interface
The view is three rows, top to bottom:
- Toolbar โ new task, refresh, the four panel modes (List / GTD / Matrix / Calendar), a Gantt mode toggle, Hide filters (collapses the filter bar, which is expanded by default), and one expand/collapse button that shows what it will do next (it reads Collapse all only when every container is open). Clicking Gantt mode swaps the panel buttons for the Gantt's own controls (time scale and grouping); the button then reads Exit Gantt mode, and the panel mode you were on is remembered.
- Filter bar โ search, status chips, marker chips, a folder-path box (comma-separated,
-prefix excludes, subfolders included), start and due date ranges, sorting, a liveshown/totalcount, and a clear button. - Main area โ equally sized containers holding task cards, so the grid stays symmetrical at any window width.
The interface ships in Chinese and English and follows the Obsidian language by default (Interface โ Interface language).
๐ Four Views
| View | Layout | Best for |
|---|---|---|
| ๐ Note list | A container per note; with grouping on, those containers sit under collapsible folder sections | Browsing everything |
| ๐ฅ GTD | Four containers: Inbox, In progress, Waiting, Done | Working through a flow |
| ๐ณ Matrix | Four containers: Q1โQ4 | Deciding what matters |
| ๐ Calendar | Month, week or list | Planning by date |
| ๐ Gantt | A timeline with day, week, month and year scales | Seeing how work spans time |
Hovering an entry in the calendar gives an instant tooltip with the task and the note it lives in โ it does not wait for the page-preview delay.
๐ The Gantt view
The Gantt is a mode rather than a panel layout: the view opens in panel mode, and Gantt mode in the toolbar swaps the main area for the timeline and brings the Gantt's own controls (time scale and grouping) into the toolbar. Leaving it restores the panel mode you were on.
-
Single-note mode: the Focus note search box scopes the timeline (and the Mermaid preview / export, which share the same model) to one note; a note-name chip next to the box exits the mode. The note's more-options menu and the file-explorer context menu carry a View in Gantt chart entry that opens Task Matrix focused on that note.
-
Bar colours are configurable in the settings, one per Mermaid Gantt state:
activefor open tasks,donefor completed ones,critfor tasks marked๐บ, and a colour for everything else. Type any CSS colour (var(--color-blue), a colour name) or click a swatch. -
Mermaid preview: the Gantt area has two tabs โ the timeline and a Mermaid preview. The preview is generated from the current Gantt state (filters, grouping, collapsed sections), so it is never a second source of truth: there is no code box to edit, and collapsed sections are left out just like on screen. Its toolbar carries two toggles (today's line, weekend marking) and two date fields (extra holidays and make-up workdays), which recompute the preview as you type.
-
Export: Export code copies the generated Mermaid to the clipboard; Write to note picks a note and replaces what sits between the markers configured in the settings (
%% task-matrix:start %%โฆ%% task-matrix:end %%), touching nothing else. When the note has no markers yet, the block is appended at the end. -
Export SVG / Export JPG save the diagram itself: SVG is vector (stays sharp, editable elsewhere), JPG is a 2x bitmap with a background that follows your theme (handy for chat and documents). Both land in your Obsidian attachment folder with a timestamped name, and the path is copied to the clipboard so you can find the file right away.
-
Public holidays are kept per year in the settings (see below) and applied automatically to whatever the Gantt spans โ so the shaded columns in the timeline and the exported
excludes/includeslines always agree, and a working Saturday is never shaded. -
The task column is resizable: drag the divider between the column and the timeline, or focus it and use the arrow keys (
Shiftfor bigger steps). The width is saved, can also be set in the settings, and never squeezes the timeline out of view. -
Every row in the task column carries a
โbutton, so editing a task no longer requires knowing about right-click. Right-clicking a bar still opens the same menu (edit / open note). -
The time axis opens scrolled to today (it waits until it can measure its own width, so this also works when the view is in the sidebar) and scrolls back to it whenever you re-enter Gantt mode. Jump to today in the toolbar brings it back after you have panned or zoomed away. Drag the timeline to pan it โ no need to hunt for the scrollbar โ and
Ctrl+ wheel zooms between day, week, month and year. -
Right-click a bar to edit the task or open its note (a left click opens the note, same as a card in the panel views).
-
Sections group by folder, note, GTD state or quadrant โ or turn grouping off for a single flat list. Grouping by note gives one section per note (named after the note, ordered by path), which keeps a note's tasks together even when they span several folders' worth of projects. Section keys for folder, GTD state and quadrant are shared with the panel views, so collapsing a section in the Gantt also collapses the matching container there.
-
The left column lists tasks and follows the timeline's vertical scroll; clicking a task or its bar opens the note.
-
A task with only one date still gets a bar: the missing end is inferred and drawn with a dashed orange outline, and the sidebar shows ใmissing datesใ.
-
๐ฉ/#milestonerenders as a diamond,๐บ/#critgets a red outline, weekends are shaded, and today is a dashed red line. -
Tasks with no start and no due date cannot be placed on a timeline and are left out; the sidebar header reports how many, so nothing disappears silently.
The Gantt parses task lines with its own rules (start ๐ซ, scheduling โณ, due ๐
, ๐, โ, ๐บ for critical tasks, ๐ฉ / #milestone for milestones, plus the Dataview-style [start:: โฆ], [due:: โฆ], [id:: โฆ] and [dependsOn:: โฆ] forms):
## Launch
### Design
- [ ] Wireframes ๐ซ 2026-09-20 ๐
2026-09-30 ๐ design ๐บ
- [ ] Copy review ๐
2026-09-26 โ design
- [x] Kickoff ๐ฉ 2026-09-18
๐ฏ Task cards
Each card shows the rendered description, a status badge, and chips for priority, dates, task ID and dependencies:
- โ Complete / โบ Reopen (optionally adds
โ YYYY-MM-DD) - โถ Start (adds
๐ซand#doing) - โ Cancel
- โ Edit โ description (a two-line field, tags written straight into it, with clickable tag chips underneath), priority, dates, ID, dependency
- ๐ Delete
- 1โ4 and ๆถ/่ฟ/็ญ quick moves in the Matrix and GTD views
- Click the card to open the note it lives in
A task whose โ dependency is unfinished gets a red left border.
The Note list uses the same task cards as GTD and Matrix โ complete, start, cancel, edit, delete all work โ with two differences: the note path is not repeated on every card (the container is the note; with folder grouping the card shows just the note name), and cards cannot be dragged between containers (a list container is a place, not a status). With grouping on, the note containers sit under collapsible folder sections; the expand/collapse button in the toolbar covers sections and containers alike.
Tags are written in the description, exactly where they sit in the note โ no separate tags field, so there is only one place to look. Underneath it sits a row of tag chips: click one to write it into the description, click it again to take it out. The chips come from the tags actually used in your vault (most used first, plus this task's own), so you rarely have to type one and the #work / #work-items variants stop piling up. On save the tag set is pulled out of the text and rewritten at the end of the line, and only when it actually changed; the rest of the line, including where the inline fields sit, stays as it was. If nothing changed, the line is not rewritten at all.
๐ง How tasks are classified
- GTD comes from tags (
#waiting,#doing,#blocked), start dates and dependencies. An overdue task that never started falls back to Inbox rather than sitting in a column of its own. - Matrix treats high priority and above as important, and anything due inside the configured urgent window (1โ7 days) as urgent.
- Scheduling is only ever written as plain markdown:
๐due,๐ซstart,โณscheduled,โdone,โcreated,๐task ID,โdependency, plus your own#tags.
๐ Filtering
- Search matches description, file path, task ID and dependency ID.
- Status chips: open, to be started, overdue, completed, cancelled โ with
Active only/Hide cancelled/All statusespresets. - Marker chips: filter by what is actually inside the brackets (
[ ],[x],[-],/, or any custom marker you use). The candidates come from your vault, so an unused marker never shows up as a dead chip. - Start and due date: a preset (today, this week, this month, this year, custom) plus an explicit range; editing either end switches to a custom range automatically.
- Sort: due โ, due โ, start โ, priority, file name.
- The count shows how many of the indexed tasks survive the current filters, and Clear filters goes back to the neutral baseline โ nothing filtered, everything shown.
๐ฅ Drag and drop
- Drag a card onto a GTD container to change its state, or onto a Matrix container to change its quadrant.
- Dropping writes the same tags and dates the quick-move buttons write.
- Drag and drop is desktop only; on mobile use the quick-move buttons.
๐ฑ Mobile
- The toolbar and filter bar wrap instead of overflowing.
- Containers fall back to a single column on narrow screens.
- Cards keep every action reachable by tap.
โ๏ธ Settings
Settings are grouped the same way the view is:
Interface
- Interface language: automatic, Chinese, or English
Scanning
- Scan folders: comma-separated folders to index, multi-level paths included (
300 Resources/360 WorkMemos). Defaults to500 Journal, 100 Projects; clear the field to scan the whole vault (slow on large vaults). Full-width commas and semicolons separate entries too, and paths are matched case-insensitively - Excluded folders: tasks here stay out of every view and count
Task markers
- Completion markers / Cancelled markers: what the brackets must contain
- Ignored markers: checkbox contents that are not tasks at all
- Track completion date: add
โ YYYY-MM-DDwhen a task is completed
Display
- Default view, Open location
- Urgent window: how many days ahead counts as urgent (1โ7)
- Due date range, Completed task range, Hide tasks that start far ahead: how much gets laid out at once
- Show completed tasks without a due date
New tasks
- Target note path: where new tasks go, today's journal by default; supports
{{title}},{{date}},{{time}}and{{date:FORMAT}}. The note is created when missing. Empty means the note you have open - Target heading: insert under this heading; empty appends at the end of the note
- Journal template: the note to copy when the target note does not exist yet (
{{title}}is its file name;<% โฆ %>commands are left to Templater)
Note list
- Group by folder: off, one container per note (the
+in the container header adds a task to that note); on, those containers sit under collapsible folder sections - Section names use the full path of your scan folders โ a sub-folder you added to the scan list (
300 Resources/360 WorkMemos) becomes its own section, and everything below it stays in that section. Without scan folders, each note's own folder path is used
GTD and matrix
Split into two halves โ what decides the column, and what a drop writes. Only the tag vocabulary and the urgent window are adjustable; the rules themselves are stated in the settings page rather than offered as switches, because a switch that breaks classification or dragging is not a parameter.
Classification
- Waiting tags and In-progress tags: the tags that decide which column a task falls in (and the first entry is what dragging a task there writes โ one list for both, so a dropped task cannot bounce back to the column it came from)
- Urgent days: how far ahead counts as urgent, which decides the urgent side of the matrix
- The order of the rules is listed right there: a dependency or waiting tag โ Waiting; an in-progress tag โ In progress; due date passed โ Overdue; start date passed โ In progress; start date ahead โ To be started (folded into Inbox); otherwise Inbox
Dragging
- Enable dragging: one master switch. Turn it off and containers stop accepting drops and cards cannot be dragged; the quick-move buttons on cards and the Gantt context menu keep working. Everything below is disabled while it is off
- What a drop writes is fixed and spelled out: the target column's status tag, the other column's tags removed, and the start date brought in line โ In progress gets today, Inbox has it cleared (a start date left in the past would send the task back). Quadrants write their priority and make the due date match the urgent side: Q1/Q3 get today's date, Q2/Q4 lose one that would make them urgent
- What each quadrant writes: one dropdown per quadrant for importance, limited to that quadrant's own side โ high and above for Q1/Q2, medium and below (or nothing) for Q3/Q4 โ so no choice can push a task into the other half. Urgency has no task marker of its own, so it is expressed through the due date
Calendar view
- First day of week, weekends in the month and week views, whole month in the list view, and spreading in-progress tasks across their date range
Gantt view
- Days on bars: do not show, calendar days (inclusive), or workdays. Workdays reuse the same calendar as the shaded columns and the exported
excludes/includes: calendar days โ weekends (when weekend marking is on) โ public holidays + make-up workdays. When a bar is too narrow the label moves to its right, and hovering a bar always reports both counts - Bar colours: one colour per Mermaid Gantt state (
active,done,crit, everything else), typed as any CSS colour or picked from the swatches - Task column width: the width of the task column; it can also be dragged right in the Gantt
- Diagram title and markers: the
titleline of the exported code, and the two markers Write to note replaces between. The today line, weekend marking and the two date lists live on the preview tab, so they can be adjusted while looking at the diagram
Public holiday schedule
Kept per year, because that is how holidays are actually announced: add a year, then fill in Holidays (10-01~10-07, ~ or ่ณ, ranges may cross into the next year) and Make-up workdays (working weekends). Ranges are expanded to individual dates when exporting, which mermaid requires. Whatever the Gantt spans is applied automatically; the two date fields on the preview tab are only for one-off additions.
๐ Dependencies
None required. The plugin uses only Obsidian's API and renders all views itself. One optional integration: if your journal template contains Templater <% โฆ %> commands, Templater (if installed) expands them when the plugin creates a missing target note; without Templater the template is copied as-is and the {{title}} / {{date}} variables still work.
๐ฅ Installation
Using BRAT (Recommended for Beta Versions)
- Install the BRAT plugin in Obsidian
- Open BRAT settings and click "Add Beta plugin"
- Enter:
luna-jmy/obsidian-task-matrix - Click "Add Plugin" and enable it in Community plugins
From GitHub Releases
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder named
task-matrix-dashboardunder.obsidian/plugins/in your vault - Put the downloaded files into that folder
- Enable "Task Matrix" in Obsidian settings โ Community plugins
The folder name must match the plugin id task-matrix-dashboard, otherwise Obsidian will not load the plugin.
From Source
git clone https://github.com/luna-jmy/obsidian-task-matrix.git
cd obsidian-task-matrix
npm install
npm run build
Copy main.js, manifest.json, and styles.css into .obsidian/plugins/task-matrix-dashboard/ in your vault.
๐ Usage
Opening the Task Matrix
- Click the kanban icon in the left ribbon
- Use the command palette: "Open task matrix"
- Set a hotkey for the "Open task matrix" command
Creating Tasks
Create tasks in any markdown file using standard Obsidian syntax:
- [ ] Review quarterly goals ๐
2025-03-15 ๐ผ
- [ ] Write blog post #doing ๐ซ 2025-03-10
- [ ] Waiting for feedback #waiting ๐ task-123
- [ ] Implement feature โ task-123
- [x] Completed task โ
2025-03-11
Task Dependencies
When editing a task, the "Depends On" field shows a dropdown of all incomplete tasks that have a task ID, sorted by due date (nearest first). This makes it easy to set up task dependencies without remembering task IDs.
Task Format Reference
| Symbol | Meaning |
|---|---|
- [ ] | Open task |
- [x] | Completed (changeable in the settings) |
- [-] | Cancelled (changeable in the settings) |
๐บ | Critical priority |
โซ | Highest priority |
๐ผ | High priority |
๐ฝ | Low priority |
โฌ | Lowest priority |
๐
YYYY-MM-DD | Due date |
๐ซ YYYY-MM-DD | Start date |
โณ YYYY-MM-DD | Scheduled date |
โ YYYY-MM-DD | Created date |
๐ task-id | Task identifier |
โ task-id | Depends on task |
โ
YYYY-MM-DD | Completion date (added when "Track completion date" is on) |
- [/] is not a status of its own: a task counts as in progress once it has a start date in the past or a #doing / #active / #next tag.
Drag targets
GTD containers
- โ In progress: adds
#doingand a๐ซstart date of today - โ Waiting: adds
#waiting - โ Done: writes the completion marker
- โ Inbox: clears the flow tags
Matrix containers
- โ Q1: high priority plus a due date of today
- โ Q2: high priority, due date cleared
- โ Q3: low priority plus a due date of today
- โ Q4: lowest priority, due date cleared
If the write would leave a start date after its due date, a dialog asks whether to move the due date to today or to keep both and mark the task #due-date-conflict.
๐๏ธ Tech Stack
- Obsidian API: Plugin framework
- TypeScript: Type-safe development
- esbuild: Fast bundling
- i18n: Chinese source strings with an English dictionary, verified on every build by
npm run check:i18n
๐ Changelog
See CHANGELOG.md for version history.
๐ Data and privacy
Task Matrix runs entirely inside your vault:
- No network requests, no telemetry, and no account or sign-in.
- It only reads and writes markdown files that already exist in your vault, and only the task line you act on.
- Settings are stored through Obsidian's plugin data API inside your vault's
.obsidianfolder.
๐ License
๐ค Contributing
Contributions welcome! Please open issues or submit pull requests.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.