create-pmos 0.536.0 → 0.538.0
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/package.json +81 -33
- package/payload/KIT-VERSION +2 -2
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/payload/state/log.md +1 -1
- package/workspace/board-columns-test.js +11 -10
- package/workspace/board-programs-test.js +27 -24
- package/workspace/board-publish-ui-test.js +19 -15
- package/workspace/board-shared-ui-test.js +16 -13
- package/workspace/board-workflows-test.js +26 -32
- package/workspace/briefing-premium-board-test.js +70 -50
- package/workspace/briefing-premium-insights-test.js +24 -31
- package/workspace/briefing-premium-metrics-test.js +2 -2
- package/workspace/calm-timeline-test.js +1 -1
- package/workspace/changelog.json +80 -0
- package/workspace/ev-everywhere-test.js +4 -5
- package/workspace/fixtures/board-premium-facts.js +1 -1
- package/workspace/fixtures/board-workflows-facts.js +7 -1
- package/workspace/fixtures/initiative-premium-facts.js +1 -1
- package/workspace/fixtures/insights-premium-facts.js +6 -6
- package/workspace/fixtures/program-ascent.js +1 -1
- package/workspace/guide/adler.md +2 -2
- package/workspace/guide/agent-capabilities.md +38 -6
- package/workspace/guide/board.md +20 -2
- package/workspace/guide/claude-proposes.md +1 -1
- package/workspace/guide/home.md +2 -2
- package/workspace/guide/index.md +3 -3
- package/workspace/guide/intelligence-okr-goals.md +18 -7
- package/workspace/guide/lifecycle.md +2 -2
- package/workspace/guide/programs.md +2 -2
- package/workspace/guide/reports-needs-you.md +5 -5
- package/workspace/guide/settings.md +14 -11
- package/workspace/guide/workflows.md +3 -3
- package/workspace/guide/your-impact.md +1 -1
- package/workspace/lib/agent-team.js +262 -0
- package/workspace/lib/ai-cli.js +36 -4
- package/workspace/lib/bg-queue.js +9 -4
- package/workspace/lib/board-premium.js +6 -3
- package/workspace/lib/goal-source.js +77 -0
- package/workspace/lib/grill-runs.js +6 -3
- package/workspace/lib/headless.js +36 -4
- package/workspace/lib/idle-lab-engine.js +7 -6
- package/workspace/lib/initiative-premium.js +6 -3
- package/workspace/lib/insights-premium.js +1 -1
- package/workspace/lib/job-graph.js +191 -0
- package/workspace/lib/okr-goals.js +3 -0
- package/workspace/lib/orchestrator-keeprate.js +108 -7
- package/workspace/lib/pmos-verbs.js +3 -0
- package/workspace/lib/proposal-runs.js +8 -5
- package/workspace/lib/proposals.js +32 -2
- package/workspace/lib/report-slots.js +14 -10
- package/workspace/lib/routes-boards.js +2 -2
- package/workspace/lib/routes-insights-premium.js +11 -4
- package/workspace/lib/routes-premium-dashboards.js +20 -6
- package/workspace/lib/routes-proposals.js +10 -5
- package/workspace/lib/routes-your-move.js +6 -7
- package/workspace/lib/status-proof.js +45 -0
- package/workspace/lib/status-signal.js +4 -2
- package/workspace/lib/task-links.js +3 -1
- package/workspace/lib/team-cli.js +164 -0
- package/workspace/lib/team-runs.js +244 -0
- package/workspace/lib/verify-runs.js +112 -0
- package/workspace/okr-goals-ui-test.js +10 -13
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-vw-backlog-test.js +2 -2
- package/workspace/premium-vw-jira-test.js +2 -2
- package/workspace/public/pm/bd-acts.js +30 -45
- package/workspace/public/pm/bd-ini-panel.js +38 -27
- package/workspace/public/pm/bd-publish.js +1 -1
- package/workspace/public/pm/bd-span.js +2 -1
- package/workspace/public/pm/bd-views.js +7 -5
- package/workspace/public/pm/bd-wf.js +5 -28
- package/workspace/public/pm/c3-ini-ui.js +9 -7
- package/workspace/public/pm/cozy-board.css +75 -31
- package/workspace/public/pm/cozy-insights.css +18 -0
- package/workspace/public/pm/cozy-nav.js +2 -2
- package/workspace/public/pm/cozy-search.js +29 -7
- package/workspace/public/pm/cozy-settings.js +39 -20
- package/workspace/public/pm/home-data.js +3 -1
- package/workspace/public/pm/home-ini-model.js +15 -1
- package/workspace/public/pm/home-ini.js +9 -3
- package/workspace/public/pm/ini-tail.js +61 -0
- package/workspace/public/pm/ini-view-model.js +10 -7
- package/workspace/public/pm/premium-board.js +119 -119
- package/workspace/public/pm/premium-insights.js +95 -112
- package/workspace/public/pm/premium-report-intel.js +3 -2
- package/workspace/public/pm/readonly.js +4 -3
- package/workspace/public/pm/stage-chip.js +2 -1
- package/workspace/public/pm/status-proof.js +43 -0
- package/workspace/public/premium-board.html +14 -35
- package/workspace/public/premium-intelligence.html +7 -9
- package/workspace/server.js +35 -1
- package/workspace/sort-order-test.js +10 -8
- package/workspace/test-files.json +4 -2
- package/workspace/test-lists/agent-team.json +9 -0
- package/workspace/test-lists/job-graph.json +11 -0
- package/workspace/test-lists/status-proof.json +5 -0
- package/workspace/workflows-setup-test.js +3 -2
- package/workspace/public/premium-chat.html +0 -14
- package/workspace/public/premium-initiative.html +0 -15
- package/workspace/public/premium-work.html +0 -14
|
@@ -30,9 +30,8 @@ body.bd-page main.bd-main { position: relative; max-width: none; margin: 16px; p
|
|
|
30
30
|
.bd-page main.bd-main * { box-sizing: border-box; }
|
|
31
31
|
|
|
32
32
|
/* ── the toolbar (AgBoard .hd .tools) ── */
|
|
33
|
-
.bd-hd { display: flex; align-items: center; gap:
|
|
34
|
-
.bd-
|
|
35
|
-
.bd-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
|
|
33
|
+
.bd-hd { display: flex; align-items: center; gap: 8px; min-height: 44px; flex-wrap: nowrap; }
|
|
34
|
+
.bd-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
|
|
36
35
|
.bd-ib { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--cz-ink2); background: transparent; border: 0; padding: 0; cursor: pointer; font: inherit; text-decoration: none; flex: none; position: relative; }
|
|
37
36
|
.bd-ib:hover { background: var(--cz-well); }
|
|
38
37
|
.bd-ib[hidden] { display: none; }
|
|
@@ -44,10 +43,57 @@ body.bd-page main.bd-main { position: relative; max-width: none; margin: 16px; p
|
|
|
44
43
|
.bd-ib.sm svg { width: 14px; height: 14px; }
|
|
45
44
|
.bd-ib:disabled { opacity: .5; cursor: default; }
|
|
46
45
|
.bd-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--cz-well); gap: 2px; }
|
|
47
|
-
|
|
48
|
-
.bd-views
|
|
49
|
-
.bd-
|
|
50
|
-
.bd-
|
|
46
|
+
/* the four views, with their names (batch 28 item 3, canvas BhA): a desktop has the room */
|
|
47
|
+
.bd-views { flex: none; }
|
|
48
|
+
.bd-views > button { all: unset; box-sizing: border-box; cursor: pointer; height: 34px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--cz-sans); color: var(--cz-ink2); white-space: nowrap; }
|
|
49
|
+
.bd-views > button:hover { color: var(--cz-ink); }
|
|
50
|
+
.bd-views > button[aria-pressed="true"] { background: var(--cz-card); color: var(--cz-ink); box-shadow: 0 1px 3px rgba(42,46,53,.12); }
|
|
51
|
+
.bd-show-s, .bd-grpw2.bd-show-s { display: none; }
|
|
52
|
+
/* the one-row header's own pieces (BhA): a quiet blue New, Group blue while By product is on, Shared pressed while it shows, the tune icon on a phone */
|
|
53
|
+
.bd-ib.bd-new { background: transparent; color: var(--cz-blueink); }
|
|
54
|
+
.bd-ib.bd-new:hover { background: var(--cz-bluebg); filter: none; }
|
|
55
|
+
.bd-ib.bd-new svg { width: 20px; height: 20px; }
|
|
56
|
+
.bd-ib.on { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
57
|
+
.bd-chip.bd-shb { border-color: transparent; background: transparent; }
|
|
58
|
+
.bd-chip.bd-shb:hover { background: var(--cz-well); }
|
|
59
|
+
.bd-chip.bd-shb[aria-pressed="true"] { background: var(--cz-bluebg); color: var(--cz-blueink); }
|
|
60
|
+
.bd-chip.bd-shb .n:empty { display: none; }
|
|
61
|
+
.bd-tools .bd-icf { display: none; }
|
|
62
|
+
.bd-tools .bd-tune-pip[hidden] { display: none; }
|
|
63
|
+
.bd-tools .bd-tune-pip { right: 7px; top: 7px; }
|
|
64
|
+
/* the View chip and its menu (UI grill U2): the four views, the span and the Columns on the timeline, Shared with me */
|
|
65
|
+
.bd-vbtn { gap: 2px; padding: 0 8px 0 10px; border-color: transparent; background: transparent; }
|
|
66
|
+
.bd-vbtn svg { width: 18px; height: 18px; }
|
|
67
|
+
.bd-vbtn svg.bd-chv { width: 14px; height: 14px; }
|
|
68
|
+
.bd-viewm .bd-vcols { display: flex; flex-direction: column; gap: 4px; padding: 6px 12px; }
|
|
69
|
+
.bd-viewm .bd-vcols .bd-cmh { font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--cz-sans); color: var(--cz-ink3); }
|
|
70
|
+
.bd-lgdm .bd-lgdrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; font: var(--fw-regular) var(--fs-meta)/var(--lh-meta) var(--cz-sans); color: var(--cz-ink2); white-space: nowrap; }
|
|
71
|
+
.bd-lgdm .bd-lgdrow > span { flex: 1; }
|
|
72
|
+
.bd-lgdm button.bd-lgdrow { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 0; font: var(--fw-strong) var(--fs-meta)/var(--lh-meta) var(--cz-sans); color: var(--cz-ink); }
|
|
73
|
+
.bd-lgdm button.bd-lgdrow:hover { color: var(--cz-blueink); }
|
|
74
|
+
.bd-lgdm button.bd-lgdrow:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 6px; }
|
|
75
|
+
.bd-lgdm .bd-lgdrow svg { width: 16px; height: 16px; flex: none; }
|
|
76
|
+
.bd-lgdm .bd-lgdrow .bd-ib { width: 28px; height: 28px; }
|
|
77
|
+
.bd-grpw2 .bd-grpm.bd-viewm { left: 0; right: auto; min-width: 260px; max-width: calc(100vw - 24px); padding: 8px; gap: 2px; border-radius: 20px; }
|
|
78
|
+
.bd-viewm .bd-vmi { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 14px; font: var(--fw-regular) var(--fs-row)/var(--lh-row) var(--cz-sans); color: var(--cz-ink); }
|
|
79
|
+
.bd-viewm .bd-vmi:hover, .bd-viewm .bd-vmi:focus-visible { background: var(--cz-well); }
|
|
80
|
+
.bd-viewm .bd-vmi:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
|
|
81
|
+
.bd-viewm .bd-vmi.on { background: var(--cz-bluebg); font-weight: var(--fw-strong); }
|
|
82
|
+
.bd-viewm .bd-vmi svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
83
|
+
.bd-viewm .bd-vmi .ck, .bd-viewm .bd-vmi .k { margin-left: auto; display: inline-flex; color: var(--cz-blueink); font-weight: var(--fw-strong); font-size: var(--fs-label); line-height: var(--lh-label); }
|
|
84
|
+
.bd-viewm .bd-vmi .ck svg { width: 18px; height: 18px; }
|
|
85
|
+
.bd-viewm .bd-mlbl { font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--cz-sans); color: var(--cz-ink3); padding: 6px 12px 2px; }
|
|
86
|
+
.bd-viewm .bd-vsp { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 6px; }
|
|
87
|
+
.bd-viewm .bd-vsp .bd-chip { all: unset; box-sizing: border-box; cursor: pointer; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); display: inline-flex; align-items: center; font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--cz-sans); color: var(--cz-ink); }
|
|
88
|
+
.bd-viewm .bd-vsp .bd-chip.on { background: var(--cz-bluebg); border-color: transparent; color: var(--cz-blueink); }
|
|
89
|
+
.bd-viewm .bd-vsp .bd-chip::before { display: none; }
|
|
90
|
+
.bd-viewm .bd-vsp .bd-chip:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
91
|
+
.bd-viewm .bd-vsep { height: 1px; background: var(--cz-hair); margin: 6px 8px; flex: none; }
|
|
92
|
+
/* the tune sheet's Jira read (BhA): Adler's face, when Jira was read, and one press to read it again */
|
|
93
|
+
.bd-tjr { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: var(--fs-label); line-height: var(--lh-label); color: var(--cz-ink2); }
|
|
94
|
+
.bd-tjr > span { flex: 1; min-width: 0; }
|
|
95
|
+
.bd-tjr svg.ad-svg { width: 30px; height: 30px; flex: none; }
|
|
96
|
+
.bd-tjr .bd-jread { width: 44px; justify-content: center; padding: 0; }
|
|
51
97
|
/* the product picker (AgBoard .pick): 30 px, 13 px bold, a small chevron */
|
|
52
98
|
.bd-pickw .where { gap: 6px; display: flex; }
|
|
53
99
|
.bd-pickw .crumb { display: inline-flex; align-items: center; gap: 0; height: 30px; padding: 0 8px 0 0; border: 0; border-radius: 999px; background: var(--cz-well); font-family: var(--cz-sans); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
|
|
@@ -94,7 +140,6 @@ body.bd-page main.bd-main { position: relative; max-width: none; margin: 16px; p
|
|
|
94
140
|
.bd-page .crumb #crBoard:disabled { cursor: default; color: var(--cz-ink2); }
|
|
95
141
|
|
|
96
142
|
/* ── the tabs and the chips (AgBoard .row .tab .chip) ── */
|
|
97
|
-
.bd-chiprow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
98
143
|
.bd-tabs { display: flex; gap: 4px; margin-right: 8px; }
|
|
99
144
|
.bd-tab { height: 32px; padding: 0 12px; border-radius: 999px; font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--cz-sans); color: var(--cz-ink3); background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
|
|
100
145
|
.bd-tab[aria-selected="true"] { background: var(--cz-well); color: var(--cz-ink); }
|
|
@@ -578,17 +623,14 @@ span.tg-end { left: var(--tl-x); cursor: default; } /* a shared board's milest
|
|
|
578
623
|
/* ── phone (AgBoardPhone, AgBoardPhoneSheet, AgBoardTimelinePhone): a one-line top bar, cards, and a bottom sheet ── */
|
|
579
624
|
@media (max-width: 720px) {
|
|
580
625
|
body.bd-page main.bd-main { margin: 0; border-radius: 0; min-height: 100vh; padding: 16px 16px 110px; box-shadow: none; background: transparent; gap: 10px; }
|
|
581
|
-
.bd-hd { gap:
|
|
582
|
-
.bd-
|
|
583
|
-
.bd-tools {
|
|
584
|
-
.bd-
|
|
585
|
-
.bd-show-s { display: inline-flex; }
|
|
626
|
+
.bd-hd { gap: 2px; min-height: 44px; }
|
|
627
|
+
.bd-tools { gap: 0; margin-left: auto; }
|
|
628
|
+
.bd-hide-s, .bd-views, .bd-spw, .bd-lgdw, #chSprint, .bd-page #pvBell, .bd-page #moreBtn, .bd-page .tools-top { display: none !important; }
|
|
629
|
+
.bd-show-s, .bd-grpw2.bd-show-s { display: inline-flex; }
|
|
586
630
|
.bd-ib { width: 44px; height: 44px; }
|
|
587
631
|
.bd-pickw .crumb, .bd-pickw .crumb #crBoard { height: 34px; }
|
|
588
|
-
.bd-pickw .crumb #crBoard { max-width:
|
|
589
|
-
.bd-
|
|
590
|
-
.bd-chiprow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; gap: 6px; mask-image: linear-gradient(90deg, black 85%, transparent); -webkit-mask-image: linear-gradient(90deg, black 85%, transparent); }
|
|
591
|
-
.bd-chiprow::-webkit-scrollbar { display: none; }
|
|
632
|
+
.bd-pickw .crumb #crBoard { max-width: 120px; }
|
|
633
|
+
.bd-sp { display: none !important; }
|
|
592
634
|
/* a chip is drawn 30 px, as the frame draws it, inside a 44 px press target */
|
|
593
635
|
.bd-chip, .bd-chip.gh { height: 44px; padding: 7px 0; border: 0; background: none; position: relative; z-index: 0; }
|
|
594
636
|
.bd-chip::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 7px; bottom: 7px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); }
|
|
@@ -743,8 +785,15 @@ button.bd-lr:hover { background: var(--bd-row); }
|
|
|
743
785
|
.bd-alink:hover { text-decoration: underline; }
|
|
744
786
|
.bd-alink:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
745
787
|
@media (max-width: 720px) {
|
|
746
|
-
.bd-chiprow { margin: -9px -16px -8px; } /* AgBoardPhone: the chips 45 px under the top bar, the first card 29 px under the chips */ /* AgBoardPhone: the chips sit 45 px under the top bar */
|
|
747
788
|
.bd-hd .bd-ib:not(.solid):hover, .bd-hd .bd-ib:not(.solid):active { background: none; } /* the phone's view button stays plain */
|
|
789
|
+
/* the one row (BhA): the view button and the pill of what needs a look sit flat, 40 px high inside their 44 px press target */
|
|
790
|
+
.bd-hd .bd-vbtn { padding: 0 4px 0 6px; }
|
|
791
|
+
.bd-hd .bd-vbtn::before { display: none; }
|
|
792
|
+
.bd-hd .bd-need { padding: 0 8px; gap: 6px; min-width: 44px; justify-content: center; }
|
|
793
|
+
.bd-hd .bd-need::before { top: 2px; bottom: 2px; border: 0; background: var(--cz-well); }
|
|
794
|
+
.bd-hd .bd-need.on::before { background: var(--cz-bluebg); }
|
|
795
|
+
.bd-hd .bd-need > svg { display: none; }
|
|
796
|
+
.bd-hd .bd-need > span { gap: 3px; }
|
|
748
797
|
}
|
|
749
798
|
|
|
750
799
|
/* ── the uncovered features (initiative premium-uncovered-features, Board: BdList, BdByStage, BdDocs, BdSpans, BdAsks, BdNew, BdGrill, BdActions,
|
|
@@ -1007,7 +1056,6 @@ button.sp-n:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -
|
|
|
1007
1056
|
.sp-bkg { display: flex; align-items: center; padding: 0 10px; }
|
|
1008
1057
|
.sp-body .tg-empty { padding: 16px 14px; margin: 0; color: var(--cz-ink3); font-size: var(--fs-meta); line-height: var(--lh-meta); }
|
|
1009
1058
|
/* the phone (BdPhone) */
|
|
1010
|
-
.bd-phseg { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; flex-wrap: wrap; }
|
|
1011
1059
|
.bd-plist { display: flex; flex-direction: column; gap: 2px; }
|
|
1012
1060
|
.bd-ghd { display: flex; align-items: center; gap: 6px; padding: 10px 10px 4px 8px; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink2); line-height: var(--lh-label); }
|
|
1013
1061
|
.bd-ghd .n { margin-left: auto; font-weight: var(--fw-strong); color: var(--cz-ink3); font-size: var(--fs-label); line-height: var(--lh-label); }
|
|
@@ -1040,7 +1088,6 @@ button.sp-n:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -
|
|
|
1040
1088
|
.bd-bk { grid-template-columns: 70px minmax(0, 1fr) auto; }
|
|
1041
1089
|
.bd-bk > :nth-child(3), .bd-bk > :nth-child(4) { display: none; }
|
|
1042
1090
|
.pk-dg { grid-template-columns: 1fr 1fr; }
|
|
1043
|
-
.bd-phseg .bd-seg > button { height: 44px; }
|
|
1044
1091
|
.bd-showing { flex-wrap: nowrap; overflow-x: auto; }
|
|
1045
1092
|
}
|
|
1046
1093
|
.bd-form input.bd-inp, .bd-form textarea.bd-inp, .bd-form select.bd-inp { background: var(--cz-well); border-color: transparent; border-radius: 14px; min-height: 42px; padding: 0 14px; font-size: var(--fs-body); line-height: var(--lh-body); }
|
|
@@ -1230,13 +1277,11 @@ html[data-theme="dark"] body.bd-page { --bd-prog: rgb(180,170,240); --bd-progbg:
|
|
|
1230
1277
|
.bd-fold { width: 44px; height: 44px; }
|
|
1231
1278
|
}
|
|
1232
1279
|
|
|
1233
|
-
/*
|
|
1234
|
-
.bd-spw { margin-left:
|
|
1280
|
+
/* the span picker after the views on a desktop timeline (BbB); a phone has the spans in its view button (BhA) */
|
|
1281
|
+
.bd-spw { margin-left: 0; }
|
|
1235
1282
|
.bd-spw .bd-grpm { left: 0; right: auto; }
|
|
1236
1283
|
.bd-spw .bd-spk { gap: 2px; }
|
|
1237
1284
|
.bd-spw .bd-spk svg { width: 14px; height: 14px; }
|
|
1238
|
-
body.bd-spick .bd-hd .bd-title { display: none; }
|
|
1239
|
-
body.bd-spick .bd-hd .bd-tools { margin-left: auto; }
|
|
1240
1285
|
@media (max-width: 720px) { .bd-spw .bd-spk, .bd-spw .bd-grpm button, .bd-needm .bd-nr { min-height: 44px; } .bd-chip.bd-jf { width: 44px; } .bd-chip.bd-jf::before { display: none; } }
|
|
1241
1286
|
/* programs first on every span (PgTimeline's rule): the program row brackets its initiatives' bars and carries its milestones */
|
|
1242
1287
|
.sp-pg { background: var(--bd-progbg); min-height: 56px; }
|
|
@@ -1251,11 +1296,6 @@ body.bd-spick .bd-hd .bd-tools { margin-left: auto; }
|
|
|
1251
1296
|
/* ── workflows (D99, workflows-per-initiative, workstream B: WfABoard, WfABoardOne, WfATrack, WfAElse, WfAPhone) ── */
|
|
1252
1297
|
.wfi { display: inline-flex; flex: none; align-items: center; justify-content: center; color: var(--cz-ink2); }
|
|
1253
1298
|
.wfi svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
1254
|
-
.bd-wfchips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
|
|
1255
|
-
.bd-wfchips .bd-chip { display: inline-flex; align-items: center; gap: 5px; }
|
|
1256
|
-
.bd-wfedit { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; color: var(--cz-ink2); }
|
|
1257
|
-
.bd-wfedit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
1258
|
-
.bd-fg .bd-chip .wfi { margin-right: 4px; }
|
|
1259
1299
|
/* By stage: a card names its own stage with its workflow's icon (All), In progress holds its cards three across, the category bar (one workflow) */
|
|
1260
1300
|
.bd-bc .cm { display: flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink2); min-width: 0; line-height: var(--lh-label); }
|
|
1261
1301
|
.bd-bc .cm > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -1295,8 +1335,6 @@ body.bd-spick .bd-hd .bd-tools { margin-left: auto; }
|
|
|
1295
1335
|
.bnd span { height: 6px; }
|
|
1296
1336
|
.bnd span.m { flex-basis: 7px; min-width: 7px; height: 7px; }
|
|
1297
1337
|
.bnd span em { display: none; }
|
|
1298
|
-
.bd-wfchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 4px; padding: 0 16px; }
|
|
1299
|
-
.bd-wfchips::-webkit-scrollbar { display: none; }
|
|
1300
1338
|
}
|
|
1301
1339
|
/* the phone's category sections (WfAPhone) */
|
|
1302
1340
|
.bd-pcats { gap: 4px; }
|
|
@@ -1506,3 +1544,9 @@ span.tg-ng { cursor: default; }
|
|
|
1506
1544
|
.bd-fc-go { display: flex; justify-content: flex-end; padding-bottom: 6px; }
|
|
1507
1545
|
.bd-fc-sp { all: unset; box-sizing: border-box; width: 44px; height: 44px; border-radius: 22px; background: var(--cz-blue); color: var(--cz-onsolid); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
|
|
1508
1546
|
.bd-fc-sp:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
1547
|
+
|
|
1548
|
+
/* Publish a read-only copy as a row of the Board ⋯ (UI grill U2): its count of open links sits after the words */
|
|
1549
|
+
#moreMenu #bdPublish .bpn { position: static; margin-left: 8px; display: inline-block; min-width: 16px; padding: 0 5px; border-radius: 99px; background: var(--cz-well); color: var(--cz-ink2); font: var(--fw-strong) var(--fs-badge)/16px var(--cz-sans); text-align: center; }
|
|
1550
|
+
#moreMenu #bdPublish .bpn[hidden] { display: none; }
|
|
1551
|
+
/* a row the Board takes out of the shared ⋯ (UI grill U2) stays out: the shell draws its rows as flex */
|
|
1552
|
+
#moreMenu [hidden] { display: none !important; }
|
|
@@ -989,3 +989,21 @@ body.ins-trv #pGoals .ins-trstrip { display: flex; } /* the narrow form hides
|
|
|
989
989
|
.ins-nrow:first-child { border-top: 1px solid var(--cz-hair); }
|
|
990
990
|
.ins-nrow .ac .note { display: none; }
|
|
991
991
|
}
|
|
992
|
+
|
|
993
|
+
/* Waiting on a source (U3, UI grill item 4): the key results with no reading, one row per source, its key results, its one connect ✓ */
|
|
994
|
+
.ins-wait .ins-wh { display: flex; align-items: baseline; gap: 8px; padding: 0 4px; }
|
|
995
|
+
.ins-wait .ins-wh h2 { margin: 0; font-size: var(--fs-row); font-weight: var(--fw-strong); line-height: var(--lh-row); }
|
|
996
|
+
.ins-wait .ins-wh .q { color: var(--cz-ink3); font-size: var(--fs-meta); }
|
|
997
|
+
.ins-wl { display: flex; flex-direction: column; border: 1px solid var(--cz-hair); border-radius: 18px; overflow: hidden; background: var(--cz-card); }
|
|
998
|
+
.ins-wrow { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
|
|
999
|
+
.ins-wrow + .ins-wrow { border-top: 1px solid var(--cz-hair); }
|
|
1000
|
+
.ins-wsrc { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
1001
|
+
.ins-wsrc small { color: var(--cz-ink3); font-size: var(--fs-meta); line-height: var(--lh-meta); }
|
|
1002
|
+
.ins-wkrs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
|
|
1003
|
+
.ins-wkr { border: 1px solid var(--cz-hair); background: transparent; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: var(--fs-meta); color: var(--cz-ink2); cursor: pointer; text-align: left; }
|
|
1004
|
+
.ins-wkr:hover, .ins-wkr:focus-visible { background: var(--cz-bluebg); }
|
|
1005
|
+
.ins-wkr .ins-krt { margin-right: 6px; }
|
|
1006
|
+
@media (max-width: 760px) {
|
|
1007
|
+
.ins-wrow { grid-template-columns: minmax(0, 1fr) auto; }
|
|
1008
|
+
.ins-wkrs { grid-column: 1 / -1; grid-row: 2; }
|
|
1009
|
+
}
|
|
@@ -123,7 +123,7 @@ export function mountNav(here, doc = document, opts = {}) {
|
|
|
123
123
|
if (a && opts.here && !e.metaKey && !e.ctrlKey && !e.shiftKey) { e.preventDefault(); set(false); opts.here(); return; }
|
|
124
124
|
const b = e.target.closest('button'); if (!b) return;
|
|
125
125
|
set(false);
|
|
126
|
-
if ('czSearch' in b.dataset) import('./cozy-search.js').then((M) => M.openSearch(opts.search ? { go: opts.search() } : {}));
|
|
126
|
+
if ('czSearch' in b.dataset) import('./cozy-search.js').then((M) => M.openSearch({ ...(opts.search ? { go: opts.search() } : {}), ...(opts.scope ? { scope: opts.scope() } : {}) }));
|
|
127
127
|
// a stale source opens Settings at Connectors, the stale one first (FmA3Settings: open where it matters)
|
|
128
128
|
else if ('czGuide' in b.dataset) import('./premium-vw-open.js').then((M) => M.openGuide('index'));
|
|
129
129
|
else if ('czSettings' in b.dataset) import('./cozy-settings.js').then((M) => M.openSettings(N.stale ? 'connectors' : undefined));
|
|
@@ -135,7 +135,7 @@ export function mountNav(here, doc = document, opts = {}) {
|
|
|
135
135
|
if (!k && !(e.key === '/' && !e.ctrlKey && !e.metaKey && !e.altKey && !typing)) return;
|
|
136
136
|
if (t && t.closest && t.closest('.xterm')) return; // a terminal keeps its keys
|
|
137
137
|
e.preventDefault(); e.stopImmediatePropagation();
|
|
138
|
-
import('./cozy-search.js').then((M) => M.openSearch(opts.search ? { go: opts.search() } : {}));
|
|
138
|
+
import('./cozy-search.js').then((M) => M.openSearch({ ...(opts.search ? { go: opts.search() } : {}), ...(opts.scope ? { scope: opts.scope() } : {}) }));
|
|
139
139
|
}, true);
|
|
140
140
|
const read = async () => {
|
|
141
141
|
if (doc.hidden) return;
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
* One palette over the page: the query, the kind chips with their counts (All, Initiatives, Documents, Slides, Reports, Artifacts, Meetings)
|
|
4
4
|
* (no worktree chip since workspace grill W4); the results grouped (Initiatives · Documents, slides and reports · Artifacts and designs ·
|
|
5
5
|
* Meetings), and last "Ask Claude about …", which starts a chat in Home. ↑ ↓ move, ↵ opens, Esc closes. On a phone it is the whole screen.
|
|
6
|
-
* openSearch({ go?, q? }) go: the page's own opener ({ ini } | { ses } | { doc }), used before a page change
|
|
6
|
+
* openSearch({ go?, q?, scope? }) go: the page's own opener ({ ini } | { ses } | { doc }), used before a page change
|
|
7
|
+
* scope: the page Search opens from (UI grill U2: one search; the Board's and Intelligence's own find boxes are gone). { name, hits(q) }
|
|
8
|
+
* where hits returns [{ label, rows: [{ id?, title, sub?, tag?, icon?, open() }] }]: the page's own groups, drawn first ("On this Board ·
|
|
9
|
+
* Initiatives", "… · Work-items in Jira"), then everything else Search reads. An initiative the page lists is not listed twice.
|
|
7
10
|
* closeSearch()
|
|
8
11
|
* It reads GET /api/find (the repository and every worktree: lib/search-index.js), GET /api/boards/backlog (the initiatives' stage) and
|
|
9
12
|
* GET /api/sessions. A result opens in the Viewer when it can: a document of main as its page (premium-vw-doc.js), a meeting as its card,
|
|
@@ -17,7 +20,7 @@ import { adler } from './cozy-adler.js'; // session names A: the PM's name win
|
|
|
17
20
|
|
|
18
21
|
const PHONE = 760;
|
|
19
22
|
const isPhone = () => innerWidth <= PHONE;
|
|
20
|
-
const S = { el: null, q: '', kind: 'all', at: 0, rows: [], res: null, busy: false, err: '', wt: null, back: null, go: null, seq: 0, boards: null, sessions: null, t: 0 };
|
|
23
|
+
const S = { el: null, q: '', kind: 'all', scope: null, at: 0, rows: [], res: null, busy: false, err: '', wt: null, back: null, go: null, seq: 0, boards: null, sessions: null, t: 0 };
|
|
21
24
|
const KIND_ICON = { initiative: ICON.flag, document: ICON.doc, slides: ICON.slides, report: ICON.report, artifact: ICON.design, file: ICON.file, meeting: ICON.meet, session: ICON.session };
|
|
22
25
|
async function getj(p) { try { const r = await fetch(p, { credentials: 'same-origin' }); const j = await r.json().catch(() => null); return j || { ok: false, error: 'the server did not answer' }; } catch { return { ok: false, error: 'the server did not answer' }; } }
|
|
23
26
|
|
|
@@ -53,12 +56,14 @@ function mount() {
|
|
|
53
56
|
export function openSearch(o = {}) {
|
|
54
57
|
const el = mount();
|
|
55
58
|
S.go = typeof o.go === 'function' ? o.go : null;
|
|
59
|
+
S.scope = o.scope && typeof o.scope.hits === 'function' ? o.scope : null;
|
|
56
60
|
if (!el.hidden) { el.querySelector('#evQ').focus(); return el; }
|
|
57
61
|
const ae = document.activeElement; S.back = ae && ae !== document.body ? ae : null;
|
|
58
62
|
S.wt = null; S.kind = 'all'; S.at = 0; // every worktree: with no chip there is no pick to keep (workspace grill W4)
|
|
59
63
|
if (o.q != null) S.q = String(o.q);
|
|
60
64
|
el.hidden = false; document.getElementById('evSpScrim').hidden = false; el.setAttribute('data-esc-layer', '');
|
|
61
65
|
const q = el.querySelector('#evQ'); q.value = S.q; q.focus(); q.select();
|
|
66
|
+
q.placeholder = S.scope ? 'Search ' + S.scope.name + ', then everywhere' : 'Search initiatives, documents, slides, reports, artifacts and meetings';
|
|
62
67
|
if (!S.boards) getj('/api/boards/backlog?limit=200' + wsQ('&')).then((b) => { S.boards = b && b.ok && Array.isArray(b.rows) ? b : { rows: [] }; draw(); });
|
|
63
68
|
if (!S.sessions) getj('/api/sessions').then((s) => { S.sessions = s && Array.isArray(s.sessions) ? s.sessions.filter((x) => !x.automatic && x.shown !== 'exited') : []; draw(); });
|
|
64
69
|
run();
|
|
@@ -101,10 +106,15 @@ const countsOf = (rows) => { const c = { all: rows.length }; for (const r of row
|
|
|
101
106
|
function drawChips() {
|
|
102
107
|
const box = S.el && S.el.querySelector('#evChips'); if (!box) return;
|
|
103
108
|
const rows = allRows(), c = countsOf(rows), K = isPhone() ? PHONE_KINDS : SEARCH_KINDS;
|
|
109
|
+
// the page's own hits (UI grill U2) count on All and on Initiatives, where they show; an initiative listed twice counts once
|
|
110
|
+
{ const kind = S.kind; S.kind = 'all'; const own = scopeGroups(S.q.trim()); S.kind = kind;
|
|
111
|
+
const ids = new Set(own.flatMap((g) => g.rows.map((r) => r.id).filter(Boolean))), n = own.reduce((a, g) => a + g.rows.length, 0), dup = rows.filter((r) => r.kind === 'initiative' && ids.has(r.id)).length;
|
|
112
|
+
if (n) { c.all = (c.all || 0) + n - dup; c.initiative = (c.initiative || 0) + n - dup; } }
|
|
104
113
|
// no worktree chip and no "main" chip (workspace grill W4): Search reads every worktree, and the footer says "Searches your work"
|
|
105
114
|
box.innerHTML = K.map(([k, l]) => `<button type="button" class="ev-chip${S.kind === k ? ' on' : ''}" data-ev-kind="${k}" aria-pressed="${S.kind === k}">${esc(l)}${!isPhone() && S.q.trim().length >= 2 ? ' ' + (c[k] || 0) : ''}</button>`).join('');
|
|
106
115
|
}
|
|
107
116
|
function rowHtml(r, i) {
|
|
117
|
+
if (r.kind === 'scoped') return `<button type="button" class="ev-mi${i === S.at ? ' hl' : ''}" role="option" id="evo${i}" data-ev-i="${i}" aria-selected="${i === S.at}">${svg(KIND_ICON[r.icon] || ICON[r.icon] || ICON.flag, 18)}<span class="ev-t"><b>${esc(r.title)}</b>${r.sub ? (isPhone() ? `<br><span class="ev-small ev-mut">${esc(r.sub)}</span>` : ` <span class="ev-mut">· ${esc(r.sub)}</span>`) : ''}</span>${r.tag ? `<span class="ev-k">${esc(r.tag)}</span>` : ''}</button>`;
|
|
108
118
|
const tag = resultTag(r), sub = resultSub(r);
|
|
109
119
|
const right = r.kind === 'document' && r.draft ? '<span class="ev-pill y">Draft</span>' : esc(tag);
|
|
110
120
|
const title = r.kind === 'initiative' ? `<b>${esc(r.title)}</b>` : esc(r.title);
|
|
@@ -112,23 +122,34 @@ function rowHtml(r, i) {
|
|
|
112
122
|
const two = isPhone() ? `<span class="ev-t">${title}${sub ? `<br><span class="ev-small ev-mut">${subHtml}</span>` : ''}</span>` : `<span class="ev-t">${title}${sub ? ` <span class="ev-mut">· ${subHtml}</span>` : ''}</span>`;
|
|
113
123
|
return `<button type="button" class="ev-mi${i === S.at ? ' hl' : ''}" role="option" id="evo${i}" data-ev-i="${i}" aria-selected="${i === S.at}">${svg(KIND_ICON[r.kind] || ICON.doc, 18)}${two}${right ? `<span class="ev-k">${right}</span>` : ''}</button>`;
|
|
114
124
|
}
|
|
125
|
+
/** The page's own groups first (o.scope, UI grill U2), on All and on Initiatives; a page that throws or finds nothing adds nothing. */
|
|
126
|
+
function scopeGroups(q) {
|
|
127
|
+
if (!S.scope || q.length < 2 || !['all', 'initiative'].includes(S.kind)) return [];
|
|
128
|
+
let G = []; try { G = S.scope.hits(q) || []; } catch { G = []; }
|
|
129
|
+
return G.filter((g) => g && (g.rows || []).length).map((g) => ({ key: 'scoped', label: g.label, rows: g.rows.map((x) => ({ ...x, kind: 'scoped' })) }));
|
|
130
|
+
}
|
|
115
131
|
function drawList() {
|
|
116
132
|
const box = S.el && S.el.querySelector('#evRes'); if (!box) return;
|
|
117
133
|
const q = S.q.trim();
|
|
118
134
|
let rows = allRows();
|
|
119
135
|
if (S.kind !== 'all') rows = rows.filter((r) => (S.kind === 'artifact' ? ['artifact', 'file'].includes(r.kind) : S.kind === 'meeting' ? ['meeting', 'session'].includes(r.kind) : r.kind === S.kind));
|
|
120
|
-
const
|
|
136
|
+
const own = scopeGroups(q), ownIds = new Set(own.flatMap((g) => g.rows.map((r) => r.id).filter(Boolean)));
|
|
137
|
+
if (ownIds.size) rows = rows.filter((r) => !(r.kind === 'initiative' && ownIds.has(r.id)));
|
|
138
|
+
const groups = own.concat(searchGroups(rows, { phone: isPhone() }));
|
|
121
139
|
S.rows = groups.flatMap((g) => g.rows);
|
|
122
140
|
const ask = q.length >= 2 ? { kind: 'ask', title: q } : null;
|
|
123
141
|
if (ask) S.rows.push(ask);
|
|
124
142
|
S.at = Math.min(S.at, Math.max(0, S.rows.length - 1));
|
|
125
143
|
let h = '', i = 0;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
144
|
+
// the page's own groups first (UI grill U2): what Search itself could not read is said after them
|
|
145
|
+
own.forEach((g) => { h += `<p class="ev-mlbl">${esc(g.label)}</p>` + g.rows.map((r) => rowHtml(r, i++)).join(''); });
|
|
146
|
+
const rest = groups.slice(own.length);
|
|
147
|
+
if (q.length < 2) h = `<p class="ev-sp-empty">Type two letters or more. Search reads ${S.scope ? esc(S.scope.name) + ' first, then ' : ''}the initiatives, the documents, slides and reports, the artifacts and designs, and the meetings.</p>`;
|
|
148
|
+
else if (S.err) h += cantRead({ what: 'Search', why: S.err, sources: false });
|
|
149
|
+
else if (S.busy && !rest.length) h += skelRows(3);
|
|
129
150
|
// nothing found: Adler with his magnifier (canvas AdU4); the words stay the same
|
|
130
151
|
else if (!groups.length) h = `<div class="ev-sp-empty ev-sp-ad" role="status">${adler('needs-you', 'l', { label: false, prop: 'magnifier' })}<p>Nothing matches “${esc(q)}”${S.kind !== 'all' ? ' in this kind' : ''}.</p></div>`;
|
|
131
|
-
|
|
152
|
+
rest.forEach((g, gi) => {
|
|
132
153
|
h += `<p class="ev-mlbl">${esc(g.label)}</p>` + g.rows.map((r) => rowHtml(r, i++)).join('');
|
|
133
154
|
if (gi === 0 && isPhone() && g.key === 'initiative') h += '<div class="ev-sp-chips ev-phchips" aria-hidden="true"></div>';
|
|
134
155
|
});
|
|
@@ -152,6 +173,7 @@ function homeUrl(params) { const q = new URLSearchParams(params); if (wsParam())
|
|
|
152
173
|
function go(r) {
|
|
153
174
|
closeSearch();
|
|
154
175
|
if (r.kind === 'ask') { askClaude(r.title); return; }
|
|
176
|
+
if (r.kind === 'scoped') { if (typeof r.open === 'function') r.open(); return; }
|
|
155
177
|
if (r.kind === 'initiative') { if (S.go) { S.go({ ini: r.id }); return; } location.assign(homeUrl(r.board ? { ini: r.id, board: r.board } : { ini: r.id })); return; }
|
|
156
178
|
if (r.kind === 'session') { if (S.go) { S.go({ ses: r.id }); return; } location.assign(homeUrl({ session: r.id })); return; }
|
|
157
179
|
if (r.kind === 'meeting') { import('./premium-vw-open.js').then(() => window.czViews.openMeeting({ note: r.id }, { ws: wsParam() })).catch(() => openFileCard(r)); return; }
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* General Theme (this device; the place menu's Theme row moved here, feedback batch 16 item 5), Viewer opens as a column or a popup
|
|
3
3
|
* (this device), Product (which products Home reads: the Products card), Your day (when the end-of-day card shows:
|
|
4
4
|
* time.workEnd, POST /api/settings), Your impact (impact.on, POST /api/settings; canvas GmP1Switch, batch 16 item 7: the one switch
|
|
5
|
-
* for Adler's leaf, the impact log and the weekly check; the page hears `pmos:impact`), Agents write to Jira (fixed: only after Commit)
|
|
5
|
+
* for Adler's leaf, the impact log and the weekly check; the page hears `pmos:impact`), Agents write to Jira (fixed: only after Commit).
|
|
6
|
+
* Extras at the bottom (UI grill U4, 2026-11-08: nine sections became five): "Adler ›" and "Jev and Laya ›" open each as a
|
|
7
|
+
* sub-panel inside General with the controls they had as sections, nothing removed (T.sub; ‹ goes back to General).
|
|
6
8
|
* Claude the Claude profile, the API key, and Sharpen prompts: suggestions after a reply, Sharpen as I type, the style and Your own rules
|
|
7
9
|
* (GET/POST /api/next-prompt/prefs; batch 26 item 2)
|
|
8
|
-
* Claude’s checks
|
|
10
|
+
* › Checks (a heading inside Claude since U4; it was the section Claude’s checks) Grill by itself (Full, Only at stage exits, Off) and the monthly credit for checks with what this month used (grill.mode,
|
|
9
11
|
* grill.cap, POST /api/settings; GET /api/grill; canvas GrillEntry). At the cap Claude pauses and says so once here.
|
|
10
|
-
* Jev and Laya the TypeSafe key, Laya on this computer and the per-repository switches (pm/cozy-jl.js; canvas JlA1Empty–JlA4Phone)
|
|
11
|
-
* Adler
|
|
12
|
+
* › Jev and Laya (a sub-panel of General › Extras since U4) the TypeSafe key, Laya on this computer and the per-repository switches (pm/cozy-jl.js; canvas JlA1Empty–JlA4Phone)
|
|
13
|
+
* › Adler (a sub-panel of General › Extras since U4) how much of Claude's face shows, Motion, Celebrations, Quiet after (adler.*, POST /api/settings; canvas AdM5, batch 16 item 2)
|
|
12
14
|
* › Dress for the day (adler.dress.*, canvas AsSet1, batch 18 item 8): the master switch, where you are, one switch per group,
|
|
13
15
|
* "More festivals" with one switch per day, big sports and your colours, exam season, your days, Wear now (pm/cozy-seasons.js).
|
|
14
16
|
* openSettings('dress') opens it straight away (the › in Adler's tap popover, AsSet2Tap).
|
|
@@ -18,8 +20,9 @@
|
|
|
18
20
|
* where a measured read applies (SrSee R3). Claude's failed background work and the Git sync failure are rows too. ↻ in the
|
|
19
21
|
* header reads every source (POST /api/sources/refresh-all); (i) says what PMOS reads and that it never posts. The switches
|
|
20
22
|
* (what PMOS reads on its own, the connectors your sessions have; GET and POST /api/proactive/settings) fold into one row.
|
|
21
|
-
* Workspaces the repositories PMOS works in (GET and POST /api/workspaces, POST /api/workspaces/forget; the folder is never touched)
|
|
22
|
-
*
|
|
23
|
+
* Workspaces the repositories PMOS works in (GET and POST /api/workspaces, POST /api/workspaces/forget; the folder is never touched),
|
|
24
|
+
* then the row "Workflows ›" (U4; it was a section of its own that linked out): the stages each kind of initiative goes
|
|
25
|
+
* through (pm/wf-page.js, D99). It opens WF_HREF.
|
|
23
26
|
* Updates the versions and Check now, Update, Restart to update (GET /api/kit/status, POST /api/kit/check | update | upgrade-app); opening it
|
|
24
27
|
* asks for the latest kit. Under it, what's new (design E, UpE): this week's summary lines, the newest kit at version level,
|
|
25
28
|
* then "Earlier this week" as one flat list of Claude's plain-language stories (a blue dot New, an amber dot Fixed, no dot
|
|
@@ -30,7 +33,8 @@
|
|
|
30
33
|
* The card at the bottom of General says when an update is ready. While a source needs you (lib/source-heal.js), an amber box at the top of every other section names
|
|
31
34
|
* it with its one action and what Claude tried, and the place menu opens Settings at Connectors. Every write is the PM's press (pmPost carries the launch nonce).
|
|
32
35
|
* PMOS reads the sources and never posts to them.
|
|
33
|
-
* openSettings(section?)
|
|
36
|
+
* openSettings(section?): general, claude, connectors, workspaces, updates; the old section names still land where their controls are now
|
|
37
|
+
* (checks → Claude, scrolled to Checks; adler and jl → General's sub-panel; dress → Adler › Dress for the day; workflows → Workspaces). */
|
|
34
38
|
import { mountClaudeSetup } from './cozy-claude-setup.js';
|
|
35
39
|
import * as JL from './cozy-jl.js';
|
|
36
40
|
import { pmGet, pmPost, pressFetch } from './http.js';
|
|
@@ -45,11 +49,12 @@ async function pmSend(method, path, body) {
|
|
|
45
49
|
try { const res = await pressFetch(path, { method, ...(body === undefined ? {} : { body: JSON.stringify(body) }) }); const out = await res.json(); if (out && typeof out === 'object' && !res.ok) out.status = res.status; return out; }
|
|
46
50
|
catch (e) { return { ok: false, error: 'could not reach the workspace server — ' + ((e && e.message) || String(e)) }; }
|
|
47
51
|
}
|
|
48
|
-
const SECTIONS = [['general', 'General'], ['claude', 'Claude'], ['
|
|
49
|
-
const
|
|
52
|
+
const SECTIONS = [['general', 'General'], ['claude', 'Claude'], ['connectors', 'Connectors'], ['workspaces', 'Workspaces'], ['updates', 'Updates']];
|
|
53
|
+
const SUBS = { adler: 'Adler', jl: 'Jev and Laya' }; // General › Extras: each opens as a sub-panel of General (U4)
|
|
54
|
+
const WF_HREF = '/premium-workflows.html'; // Workspaces › Workflows: the Workflows panel's address
|
|
50
55
|
const SRC = { calendar: 'Calendar', wispr: 'Wispr Flow', mail: 'Mail', slack: 'Slack', jira: 'Jira', confluence: 'Confluence', github: 'GitHub', drive: 'Google Drive', figma: 'Figma', website: 'Your websites' };
|
|
51
56
|
const VIEWER_KEY = 'pmos.cz.viewer';
|
|
52
|
-
const T = { el: null, sec: 'general', ws: null, st: {}, src: null, con: {}, conn: [], set: null, prods: null, msg: '', busy: false, phase: '', say: '', back: null, fresh: null, reading: '', note: {}, info: false, fold: false, dress: false, more: false, bday: false, dset: {}, wkOpen: new Set(), wkMore: new Set(), arc: false };
|
|
57
|
+
const T = { el: null, sec: 'general', sub: '', ws: null, st: {}, src: null, con: {}, conn: [], set: null, prods: null, msg: '', busy: false, phase: '', say: '', back: null, fresh: null, reading: '', note: {}, info: false, fold: false, dress: false, more: false, bday: false, dset: {}, wkOpen: new Set(), wkMore: new Set(), arc: false };
|
|
53
58
|
const cmpVer = (a, b) => { const x = String(a || '0').split('-')[0].split('.').map(Number), y = String(b || '0').split('-')[0].split('.').map(Number); for (let i = 0; i < 3; i++) if ((x[i] || 0) !== (y[i] || 0)) return (x[i] || 0) < (y[i] || 0) ? -1 : 1; return 0; };
|
|
54
59
|
const home = () => (T.ws && T.ws[0] ? T.st[T.ws[0].id] : null);
|
|
55
60
|
const latest = () => { const s = home(); return (s && (s.latest || (s.lastCheck && s.lastCheck.latest))) || null; };
|
|
@@ -73,6 +78,8 @@ const trow = (title, sub, right) => `<div class="ev-trow"><div class="ev-tx"><b>
|
|
|
73
78
|
const sw = (on, attrs, label) => `<button type="button" class="ev-sw" role="switch" aria-checked="${!!on}" aria-label="${esc(label)}" ${attrs}>${on ? 'On' : 'Off'}</button>`;
|
|
74
79
|
|
|
75
80
|
function general() {
|
|
81
|
+
if (T.sub === 'adler') return T.dress ? dressSec() : subHead('adler') + adlerSec();
|
|
82
|
+
if (T.sub === 'jl') return subHead('jl') + JL.html();
|
|
76
83
|
const theme = (() => { const t = store.get('pmos.c3.theme'); return t === 'light' || t === 'dark' ? t : 'auto'; })();
|
|
77
84
|
const vw = store.get(VIEWER_KEY) === 'popup' ? 'popup' : 'column';
|
|
78
85
|
const P = T.prods, on = P ? P.filter((x) => x.on) : null;
|
|
@@ -89,8 +96,14 @@ function general() {
|
|
|
89
96
|
+ trow('Your day', 'When the end-of-day card shows', `<label class="ev-vh" for="evDay">Your day ends at</label><select id="evDay" class="ev-inp" data-ev-day>${hours.map((h) => `<option value="${h}"${h === end ? ' selected' : ''}>${pad(h)}:00</option>`).join('')}</select>`)
|
|
90
97
|
+ trow('Your impact', 'Adler’s sprout and your impact log. Only you see it. Nothing leaves PMOS.', sw(impactOn(), 'data-ev-impact', 'Your impact'))
|
|
91
98
|
+ trow('Agents write to Jira', 'Only after you press Commit. Never on their own.', (ready() ? '' : adFace('needs-you', 24)) + '<span class="ev-pill ok">Fixed</span>')
|
|
92
|
-
+ upd
|
|
99
|
+
+ upd
|
|
100
|
+
+ '<h4>Extras</h4>'
|
|
101
|
+
+ trow('Adler', 'How much of Claude’s face shows, motion, celebrations, quiet hours and Dress for the day', subBtn('adler'))
|
|
102
|
+
+ trow('Jev and Laya', 'The TypeSafe key, Laya on this computer and the repositories it reads', subBtn('jl'));
|
|
93
103
|
}
|
|
104
|
+
/* General › Extras (U4): the row's › opens the sub-panel; its ‹ comes back to General */
|
|
105
|
+
const subBtn = (k) => `<button type="button" class="ev-ib" data-ev-sub="${k}" aria-label="${esc(SUBS[k])}" title="${esc(SUBS[k])}">${svg(CHEV, 18)}</button>`;
|
|
106
|
+
const subHead = (k) => `<div class="ev-dr-hd"><button type="button" class="ev-ib" data-ev-sub="" aria-label="Back to General" title="Back">${svg(BACK, 18)}</button><h4 class="ev-grow">${esc(SUBS[k])}</h4></div>`;
|
|
94
107
|
/* Your impact (GmP1Switch): on by default; off hides every impact surface and stops Claude's daily read */
|
|
95
108
|
function impactOn() { const x = T.set && Array.isArray(T.set.settings) ? T.set.settings.find((y) => y.key === 'impact.on') : null; return x ? x.value !== false : true; }
|
|
96
109
|
/** One Dress for the day press: POST /api/settings, keep the row, and tell the page (the event adler:dress) so Adler changes at once. */
|
|
@@ -106,7 +119,6 @@ async function saveDress(key, value, said = 'Saved.') {
|
|
|
106
119
|
}
|
|
107
120
|
/* Settings > Adler (AdM5): four choices, each saved for this computer the moment it is pressed */
|
|
108
121
|
function adlerSec() {
|
|
109
|
-
if (T.dress) return dressSec();
|
|
110
122
|
const P = AD.prefs();
|
|
111
123
|
return `<div class="ev-ad-hd">${AD.adler('handled', 48)}<p class="ev-small ev-mut">Adler is how Claude shows its mood in PMOS. You choose how much of him you see.</p></div>`
|
|
112
124
|
+ trow('How much Adler', 'Face only keeps his face where Claude speaks and drops the scenes. Off shows the plain mood dot.', seg('How much Adler', 'adler.amount', P['adler.amount'], [['full', 'Full'], ['face', 'Face only'], ['off', 'Off']]))
|
|
@@ -218,7 +230,8 @@ function workspaces() {
|
|
|
218
230
|
if (T.ws === null) return '<p class="ev-small ev-mut">Reading the repositories.</p>';
|
|
219
231
|
return '<p class="ev-small ev-mut">A workspace is one repository PMOS works in. Removing one forgets the address only; the folder is not deleted.</p>'
|
|
220
232
|
+ T.ws.filter((x) => !x.linked).map((x) => trow(x.label || x.name || x.id, (x.root || '') + (x.home ? ' · home' : ''), x.home ? '<span class="ev-pill">Home</span>' : `<button type="button" class="ev-btn sm" data-ev-rm="${esc(x.id)}">Remove</button>`)).join('')
|
|
221
|
-
+ '<div class="ev-add"><label class="ev-vh" for="evRoot">Folder path of a repository</label><input id="evRoot" class="ev-inp" placeholder="Folder path of a repository"><button type="button" class="ev-btn pri" data-ev-add>Add</button></div>'
|
|
233
|
+
+ '<div class="ev-add"><label class="ev-vh" for="evRoot">Folder path of a repository</label><input id="evRoot" class="ev-inp" placeholder="Folder path of a repository"><button type="button" class="ev-btn pri" data-ev-add>Add</button></div>'
|
|
234
|
+
+ trow('Workflows', 'The stages each kind of initiative goes through', `<a class="ev-ib" href="${WF_HREF}" data-ev-wf aria-label="Workflows" title="Workflows">${svg(CHEV, 18)}</a>`);
|
|
222
235
|
}
|
|
223
236
|
function updates() {
|
|
224
237
|
const s = home();
|
|
@@ -285,7 +298,8 @@ function claudeSec() {
|
|
|
285
298
|
return '<h4>Claude login and profile</h4><div data-claude-setup></div>'
|
|
286
299
|
+ trow('API key', keySub, keyRight)
|
|
287
300
|
+ (k.present && C.off ? trow('Runs on the API', 'Off: PMOS_GRILL_API is off in the environment.', '<span class="ev-pill">Off</span>') : '')
|
|
288
|
-
+ sharpenRows()
|
|
301
|
+
+ sharpenRows()
|
|
302
|
+
+ '<h4 id="evChecks">Checks</h4>' + checksSec(); // U4: the section Claude’s checks folded in here
|
|
289
303
|
}
|
|
290
304
|
/* Settings › Claude › Sharpen prompts (batch 26 item 2; pm/next-prompt-ui.js, lib/routes-next-prompt.js): the suggestions after a reply, Sharpen as I
|
|
291
305
|
* type (on by default: both run as a background `claude -p` in the PM's own Claude session, Wawan 2026-11-04), the style, and Your own rules.
|
|
@@ -329,7 +343,9 @@ function checksSec() {
|
|
|
329
343
|
+ trow('Monthly credit for checks', C.paused ? 'Paused at the limit this month. Claude starts again next month, or when you raise it.' : 'At the limit Claude pauses and says so once. It never charges beyond it.', seg('Monthly credit for checks', 'grill.cap', C.cap, caps.map((v) => [v, usd(v)])))
|
|
330
344
|
+ `<div class="ev-trow ev-gcap"><span class="ev-small"><b>${esc(usd(C.spent))}</b> of ${esc(usd(C.cap))} used this month</span><span class="ev-gbar" role="img" aria-label="${used}% of the monthly credit used"><i style="width:${used}%"></i></span></div>`;
|
|
331
345
|
}
|
|
332
|
-
const BODY = { general, claude: claudeSec,
|
|
346
|
+
const BODY = { general, claude: claudeSec, connectors, workspaces, updates };
|
|
347
|
+
// the old section names (deep links, other pages' calls): where their controls are now (U4)
|
|
348
|
+
const MOVED = { checks: ['claude', ''], adler: ['general', 'adler'], jl: ['general', 'jl'], dress: ['general', 'adler'], workflows: ['workspaces', ''] };
|
|
333
349
|
let disposeClaudeSetup = null;
|
|
334
350
|
function draw() {
|
|
335
351
|
const el = T.el; if (!el || el.hidden) return;
|
|
@@ -337,7 +353,7 @@ function draw() {
|
|
|
337
353
|
const ae = document.activeElement, had = ae && el.contains(ae), key = had ? [...ae.attributes].find((a) => a.name.startsWith('data-ev-')) : null;
|
|
338
354
|
const n = { workspaces: T.ws ? T.ws.filter((x) => !x.linked).length : '', updates: ready() ? '<span class="ev-pill y">1</span>' : '' };
|
|
339
355
|
const stale = T.fresh && T.fresh.ok ? bannerOf(T.fresh.sources) : null;
|
|
340
|
-
el.querySelector('.ev-st-nav').innerHTML = '<h2 class="ev-h2">Settings</h2>' + SECTIONS.map(([k, l]) =>
|
|
356
|
+
el.querySelector('.ev-st-nav').innerHTML = '<h2 class="ev-h2">Settings</h2>' + SECTIONS.map(([k, l]) => `<a href="#${k}" class="ev-mi" data-ev-sec="${k}"${T.sec === k ? ' aria-current="page"' : ''}>${esc(l)}${k === 'connectors' && stale ? '<i class="ev-dot risk" aria-label="A source needs you" role="img"></i>' : ''}${n[k] !== undefined && n[k] !== '' ? `<span class="ev-k">${typeof n[k] === 'number' ? n[k] : n[k]}</span>` : ''}</a>`).join('');
|
|
341
357
|
const label = (SECTIONS.find((x) => x[0] === T.sec) || SECTIONS[0])[1];
|
|
342
358
|
const all = T.sec === 'connectors' ? `<button type="button" class="ev-ib" data-ev-info aria-expanded="${!!T.info}" aria-controls="evConInfo" aria-label="What PMOS reads and what it never does" title="What PMOS reads and what it never does">${svg(INFO_I, 18)}</button>`
|
|
343
359
|
+ `<button type="button" class="ev-ib" data-ev-readall aria-label="Read every source again" title="Read all again"${T.reading ? ' disabled' : ''}>${svg(RD, 18)}</button>` : '';
|
|
@@ -382,14 +398,15 @@ function mount() {
|
|
|
382
398
|
}
|
|
383
399
|
async function press(e) {
|
|
384
400
|
const t = e.target.closest('a[data-ev-sec], button'); if (!t) return;
|
|
385
|
-
if (t.dataset.evSec) { e.preventDefault(); T.sec = t.dataset.evSec; T.msg = ''; T.dress = false; draw(); const f = T.el.querySelector(`[data-ev-sec="${T.sec}"]`); if (f) f.focus(); openCheck(); return; }
|
|
401
|
+
if (t.dataset.evSec) { e.preventDefault(); const m = MOVED[t.dataset.evSec]; T.sec = m ? m[0] : t.dataset.evSec; T.sub = m ? m[1] : ''; T.msg = ''; T.dress = false; draw(); const f = T.el.querySelector(`[data-ev-sec="${T.sec}"]`); if (f) f.focus(); openCheck(); return; }
|
|
386
402
|
if ('evClose' in t.dataset) { closeSettings(); return; }
|
|
387
403
|
if (t.dataset.evWk) { const k = t.dataset.evWk; if (T.wkOpen.has(k)) T.wkOpen.delete(k); else T.wkOpen.add(k); draw(); return; }
|
|
388
404
|
if ('evArc' in t.dataset) { T.arc = !T.arc; draw(); return; }
|
|
389
405
|
if ('evInfo' in t.dataset) { T.info = !T.info; draw(); return; }
|
|
390
406
|
if ('evFold' in t.dataset) { T.fold = !T.fold; draw(); return; }
|
|
391
407
|
if (t.dataset.evMore) { T.wkMore.add(t.dataset.evMore); draw(); return; }
|
|
392
|
-
if (t.dataset.evGo) { T.sec = t.dataset.evGo; draw(); return; }
|
|
408
|
+
if (t.dataset.evGo) { T.sec = t.dataset.evGo; T.sub = ''; draw(); return; }
|
|
409
|
+
if (t.dataset.evSub !== undefined) { const k = t.dataset.evSub, was = T.sub; T.sub = k; T.dress = false; T.more = false; T.bday = false; T.msg = ''; draw(); const f = T.el.querySelector(k ? '[data-ev-sub=""]' : `[data-ev-sub="${was}"]`); if (f) f.focus(); return; }
|
|
393
410
|
if (t.dataset.evSeg === 'theme') { const M = await import('./cozy-nav.js'); M.setTheme(t.dataset.v); draw(); return; }
|
|
394
411
|
if (t.dataset.evSeg && t.dataset.evSeg.startsWith('grill.')) {
|
|
395
412
|
const key = t.dataset.evSeg, value = key === 'grill.cap' ? Number(t.dataset.v) : t.dataset.v;
|
|
@@ -538,12 +555,14 @@ async function load() {
|
|
|
538
555
|
}
|
|
539
556
|
export function openSettings(section) {
|
|
540
557
|
const el = mount();
|
|
541
|
-
|
|
542
|
-
|
|
558
|
+
const m = MOVED[section];
|
|
559
|
+
if (m) { T.sec = m[0]; T.sub = m[1]; T.dress = section === 'dress'; } else if (section && BODY[section]) { T.sec = section; T.sub = ''; T.dress = false; }
|
|
560
|
+
else if (el.hidden) { T.sec = 'general'; T.sub = ''; T.dress = false; } // a fresh open with no section opens on General (R2), not on the section of the last visit
|
|
543
561
|
if (el.hidden) { const ae = document.activeElement; T.back = ae && ae !== document.body ? ae : null; T.ws = null; T.src = null; T.msg = ''; T.phase = ''; T.auto = false; T.wkOpen = new Set(); T.wkMore = new Set(); T.arc = false; T.fresh = null; T.note = {}; T.info = false; T.fold = false; T.dset = {}; T.cl = null; T.gr = null; T.np = null; JL.reset(); }
|
|
544
562
|
el.hidden = false; document.getElementById('evStScrim').hidden = false; el.setAttribute('data-esc-layer', '');
|
|
545
563
|
draw();
|
|
546
564
|
const f = el.querySelector('[aria-current="page"]'); if (f) f.focus();
|
|
565
|
+
if (section === 'checks') { const h = el.querySelector('#evChecks'); if (h && h.scrollIntoView) h.scrollIntoView({ block: 'start' }); }
|
|
547
566
|
load();
|
|
548
567
|
return el;
|
|
549
568
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* roleOf(s, roles) an agent's role name and initial for a session ("Claude" when no skill names one)
|
|
14
14
|
* D is { brief, board, sessions, desk, trail, today, schedules, now }: the answers of GET /api/briefing-premium, /api/board-premium,
|
|
15
15
|
* /api/sessions, /api/home-desk, /api/board-trail, /api/brief-page and /api/schedules. A part that did not answer is left out, never guessed. */
|
|
16
|
+
import { provenStatus } from './status-proof.js'; // T3: a status renders only with its source and read time
|
|
16
17
|
|
|
17
18
|
export const ICON = {
|
|
18
19
|
chat: 'M4 5h16v11H9l-5 4z', doc: 'M7 3h7l5 5v13H7zM14 3v5h5', goal: 'M5 21V4M5 4h12l-2 4 2 4H5',
|
|
@@ -146,7 +147,8 @@ function iniRow(D, r) {
|
|
|
146
147
|
export const OPEN = (r) => !(r.acts && (r.acts.archived || r.acts.life === 'done' || r.acts.life === 'cancelled'));
|
|
147
148
|
|
|
148
149
|
/* ── the product ── */
|
|
149
|
-
|
|
150
|
+
// T3 (status-proof.js): a claim the row cannot prove counts as No signal: never on track, never at risk
|
|
151
|
+
const statusOf = (r) => { const s = String(r.status || '').toLowerCase(); return /^(stalled|blocked)/.test(s) ? s : provenStatus(r); };
|
|
150
152
|
const risky = (r) => r.late || /risk|late|stalled|blocked/.test(statusOf(r));
|
|
151
153
|
/* workspace grill W2: on track only from a read; a row with nothing read (status 'no signal', or no status at all) is never counted as on track */
|
|
152
154
|
const onTrack = (r) => !risky(r) && (statusOf(r) === 'on track' || statusOf(r) === 'done');
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* InTasks, InDocs, InPhone). home-ini.js draws what these return; a node test imports them.
|
|
3
3
|
*
|
|
4
4
|
* moveModel(h, M, L, now) the stage move: the exit items of the stage, the next and previous stage, whether it can move by itself
|
|
5
|
+
* autoFires(seen, id, mv) whether a move by itself fires on this draw: only when the page saw an open exit item close, never on a read
|
|
5
6
|
* taskRows(M, L, now) the initiative's tasks with the stage each belongs to, its owner and its date
|
|
6
7
|
* docRows(M) the core documents with their kind, phase and whether they need a look
|
|
7
8
|
* docGroups(rows, stage, o) the Documents card's groups: by stage (now, earlier, Later), by kind, or none; o.filter narrows them
|
|
8
9
|
* docChips(rows) the filter chips: All, Needs a look, then one per kind that is there
|
|
9
10
|
*
|
|
10
11
|
* THE RULES (canvas InStage): a stage moves by itself only when every exit item is done, never into a milestone (Deliver, Evaluate), never when the
|
|
11
|
-
* PM turned "Moves on by itself" off,
|
|
12
|
+
* PM turned "Moves on by itself" off, never out of a stage the PM undid a move by itself out of, and never on a read: only when the page saw
|
|
13
|
+
* the last open item close. Every figure comes from a record. */
|
|
12
14
|
import { STEPS, stageKey } from './premium-initiative-head.js';
|
|
13
15
|
|
|
14
16
|
const MON = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
@@ -54,6 +56,18 @@ export function moveModel(h, M, L, now = Date.now()) {
|
|
|
54
56
|
now,
|
|
55
57
|
};
|
|
56
58
|
}
|
|
59
|
+
/** Whether a move by itself fires now (bug 2026-11-08: opening Tender new CIAM moved it Discover → Plan → Prioritize → Build over three
|
|
60
|
+
* opens). Opening or redrawing an initiative is a read, and a read never writes a stage. A stage moves by itself only on a change this page
|
|
61
|
+
* saw: an earlier draw of the SAME stage had an open exit item, and now every one is done. A stage that is already all done when the page
|
|
62
|
+
* first draws it waits for the PM. This also covers Product feature, whose exit items are the engine's checks and do not change when the
|
|
63
|
+
* stage moves, so each new stage first draws all done.
|
|
64
|
+
* seen a Map: initiative id → the last { stage, open } this page drew. autoFires records the draw in it.
|
|
65
|
+
* mv moveModel's answer for this draw. */
|
|
66
|
+
export function autoFires(seen, id, mv) {
|
|
67
|
+
const before = seen.get(id);
|
|
68
|
+
seen.set(id, { stage: mv.cur, open: mv.open.length });
|
|
69
|
+
return !!(mv.autoReady && before && before.stage === mv.cur && before.open > 0);
|
|
70
|
+
}
|
|
57
71
|
/** The reasons Back offers (InStage); "Other" asks for words. */
|
|
58
72
|
export const BACK_REASONS = ['The PRD changed', 'New research', 'Scope was wrong', 'Other'];
|
|
59
73
|
/** The why a move records: the reason chip and the words, or the note. Empty when nothing was said. */
|