jt-workspace-dashboard 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/dashboard.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,6 +75,8 @@ Context:
|
|
|
75
75
|
- decision or background bullet
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
**Project notes:** longer notes live in Notion, one page per project, linked from the task with the `Notion:` line (shown as a Notes chip). The update tasks create and maintain these pages: every Tactus task gets one; a personal task gets one once it has 3+ subtasks.
|
|
79
|
+
|
|
78
80
|
**Subtasks** are the checklist; a subtask's description lines are its notes. Subtasks labelled `Question` show in the card's **Questions** fold instead (complete = answered). Priority p1–p3 shows as Urgent / High / Medium.
|
|
79
81
|
|
|
80
82
|
## Develop
|
package/dist/dashboard.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
const BASE_LABELS = Object.assign({today: "In progress", ready: "Paused", waiting: "Waiting", later: "Later", handoff: "Handoff", meeting: "Ask", question: "Question"}, CFG.labels || {});
|
|
9
9
|
let LABELS = BASE_LABELS; // per workspace: BASE_LABELS + workspace.labels
|
|
10
10
|
const OWNER_NAME = String(CFG.ownerName || "").slice(0, 40);
|
|
11
|
-
const VERSION = "0.1.
|
|
11
|
+
const VERSION = "0.1.9";
|
|
12
12
|
|
|
13
13
|
/* ---------- page skeleton ---------- */
|
|
14
14
|
document.title = CFG.title || "Dashboard";
|
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
render();
|
|
75
75
|
if(!items.length && db){ readDbCache(w.id).then(list => { if(list && w === WS && !cache[w.id] && !items.length){ items = list; render(); } }); }
|
|
76
76
|
clearTimeout(slowTimer);
|
|
77
|
-
|
|
77
|
+
const known = !!cache[w.id] || !!stored; // an empty saved list still counts as loaded
|
|
78
|
+
if(!known && mcp) slowTimer = setTimeout(() => { if(!cache[w.id] && w === WS) setStatus("Loading your to-dos…"); }, 4000);
|
|
78
79
|
if(mcp){ loadTasks(); loadCalendar(); }
|
|
79
80
|
}
|
|
80
81
|
let slowTimer = null;
|
package/package.json
CHANGED