jt-workspace-dashboard 0.1.17 → 0.1.20

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/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.17";
11
+ const VERSION = "0.1.20";
12
12
 
13
13
  /* ---------- page skeleton ---------- */
14
14
  document.title = CFG.title || "Dashboard";
@@ -373,10 +373,10 @@
373
373
  .filter(x => safeUrl(x[1])).map(x => x[0] + ": " + x[1]).join("\n");
374
374
  const note = (priorityOf(it.note) ? priorityOf(it.note).rest : it.note) || "";
375
375
  return String(WS.kickoffPrompt || DEFAULT_KICKOFF).replace(/\{title\}/g, it.title || "").replace(/\{links\}/g, links + (note ? "\n" + note : ""))
376
- .replace(/\{kind\}/g, WS.kickoffKind || "project").replace(/\{figma\}/g, it.figma || "").replace(/\{notion\}/g, it.notion || "").replace(/\{todoist\}/g, it.todoistUrl || "");
376
+ .replace(/\{kind\}/g, (it.airtable && WS.kickoffKindSpec) || WS.kickoffKind || "project").replace(/\{figma\}/g, it.figma || "").replace(/\{notion\}/g, it.notion || "").replace(/\{todoist\}/g, it.todoistUrl || "");
377
377
  }
378
378
  function kickoffEl(it, section){
379
- if(!feat("kickoff") || section !== "upcoming" || it.chat) return null;
379
+ if(!feat("kickoff") || !["upcoming", "today"].includes(section) || safeUrl(it.chat)) return null;
380
380
  const wrap = el("div", "kick-wrap");
381
381
  const b = el("button", "go", "Kick off"); b.type = "button"; b.title = "Opens a new Claude chat with a prompt to start the design";
382
382
  b.onclick = async e => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jt-workspace-dashboard",
3
- "version": "0.1.17",
3
+ "version": "0.1.20",
4
4
  "description": "Shared code for Jeremy's Claude dashboards: a Todoist + Google Calendar consolidator with workspaces.",
5
5
  "main": "dist/dashboard.js",
6
6
  "files": [