create-pmos 0.396.0 → 0.398.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 +25 -25
- 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/scripts/nine-stages.js +49 -20
- package/payload/state/discoveries.md +1 -1
- package/payload/state/log.md +1 -1
- package/workspace/briefing-premium-adddoc-test.js +103 -74
- package/workspace/briefing-premium-board-test.js +316 -154
- package/workspace/briefing-premium-calendar-2-test.js +135 -195
- package/workspace/briefing-premium-calendar-3-test.js +143 -413
- package/workspace/briefing-premium-calendar-test.js +86 -185
- package/workspace/briefing-premium-doc-edit-test.js +95 -83
- package/workspace/briefing-premium-initiative-test.js +166 -294
- package/workspace/briefing-premium-insights-test.js +351 -214
- package/workspace/briefing-premium-metrics-test.js +53 -118
- package/workspace/briefing-premium-products-test.js +40 -27
- package/workspace/briefing-premium-sources-test.js +91 -52
- package/workspace/briefing-premium-test.js +150 -633
- package/workspace/briefing-premium-work-test.js +88 -269
- package/workspace/changelog.json +24 -0
- package/workspace/fixtures/board-premium-facts.js +2 -1
- package/workspace/fixtures/board-premium-jira.js +28 -0
- package/workspace/fixtures/board-premium-trail.js +32 -0
- package/workspace/fixtures/initiative-premium-facts.js +2 -1
- package/workspace/fixtures/initiatives-api/list.json +30 -42
- package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
- package/workspace/fixtures/initiatives-api/sheet.json +10 -14
- package/workspace/fixtures/insights-premium-facts.js +11 -2
- package/workspace/fixtures/premium-viewer-fixtures.js +182 -0
- package/workspace/guide/briefing-premium.md +3 -1
- package/workspace/guide/home.md +47 -0
- package/workspace/guide/index.md +2 -0
- package/workspace/guide/lifecycle.md +51 -0
- package/workspace/home-shot.js +38 -0
- package/workspace/lib/agent-roles.js +71 -0
- package/workspace/lib/board-premium.js +160 -3
- package/workspace/lib/board-trail.js +223 -0
- package/workspace/lib/engine/boards.js +15 -14
- package/workspace/lib/engine/nine-stages.js +49 -20
- package/workspace/lib/engine/signals/detectors.js +13 -11
- package/workspace/lib/home-work-item.js +58 -0
- package/workspace/lib/insights-goals.js +196 -0
- package/workspace/lib/insights-premium.js +126 -1
- package/workspace/lib/insights-records.js +101 -0
- package/workspace/lib/jira-tickets.js +1 -1
- package/workspace/lib/route-modules.js +4 -0
- package/workspace/lib/routes-board-premium.js +3 -2
- package/workspace/lib/routes-board-trail.js +33 -0
- package/workspace/lib/routes-home-desk.js +176 -0
- package/workspace/lib/routes-initiatives.js +1 -1
- package/workspace/lib/routes-insights-premium.js +19 -3
- package/workspace/lib/routes-insights-records.js +129 -0
- package/workspace/lib/routes-notes.js +1 -0
- package/workspace/lib/routes-viewer.js +108 -0
- package/workspace/lib/transcript-steps.js +123 -0
- package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
- package/workspace/lib/viewer-meeting.js +205 -0
- package/workspace/lib/viewer-report.js +89 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-agreed-viewer-shots.js +76 -0
- package/workspace/premium-board-actions-test.js +85 -73
- package/workspace/premium-briefing-depth-test.js +66 -53
- package/workspace/premium-chat-attach-test.js +54 -63
- package/workspace/premium-chat-chart-tab-test.js +35 -36
- package/workspace/premium-chat-context-test.js +22 -19
- package/workspace/premium-chat-goal-view-test.js +28 -26
- package/workspace/premium-chat-notes-test.js +29 -33
- package/workspace/premium-chat-report-tab-test.js +35 -25
- package/workspace/premium-chat-term-test.js +16 -14
- package/workspace/premium-chat-viewer-test.js +60 -53
- package/workspace/premium-core-doc-issue-test.js +50 -41
- package/workspace/premium-html-viewer-test.js +17 -18
- package/workspace/premium-phone-card-test.js +8 -2
- package/workspace/premium-phone-room-test.js +42 -31
- package/workspace/premium-report-read-test.js +115 -197
- package/workspace/premium-viewer-download-test.js +19 -22
- package/workspace/premium-viewer-flicker-test.js +11 -16
- package/workspace/premium-viewer-share-test.js +6 -9
- package/workspace/premium-viewer-test.js +41 -60
- package/workspace/premium-vw-backlog-test.js +53 -31
- package/workspace/premium-vw-cal-test.js +82 -123
- package/workspace/premium-vw-copy-test.js +17 -33
- package/workspace/premium-vw-doc-test.js +12 -11
- package/workspace/premium-vw-item-test.js +50 -48
- package/workspace/premium-vw-jira-test.js +55 -26
- package/workspace/premium-vw-meet-test.js +118 -187
- package/workspace/premium-vw-notes-test.js +85 -107
- package/workspace/premium-vw-rec-test.js +72 -193
- package/workspace/premium-vw-slides-test.js +46 -50
- package/workspace/premium-welcome-test.js +3 -2
- package/workspace/premium-work-depth-test.js +63 -51
- package/workspace/public/pm/bd-acts.js +305 -0
- package/workspace/public/pm/bd-span.js +224 -0
- package/workspace/public/pm/bd-stages.js +47 -0
- package/workspace/public/pm/c3-doc-sheet.js +1 -1
- package/workspace/public/pm/c3-md.js +3 -395
- package/workspace/public/pm/c3-phone-detail.js +1 -1
- package/workspace/public/pm/c3-phone-model.js +3 -68
- package/workspace/public/pm/chat-term.js +3 -3
- package/workspace/public/pm/cozy-board.css +640 -0
- package/workspace/public/pm/cozy-home.css +580 -0
- package/workspace/public/pm/cozy-home.js +172 -0
- package/workspace/public/pm/cozy-initiative.css +138 -0
- package/workspace/public/pm/cozy-insights.css +421 -0
- package/workspace/public/pm/cozy-md.js +396 -0
- package/workspace/public/pm/cozy-nav.js +65 -0
- package/workspace/public/pm/cozy-placeholder.js +26 -0
- package/workspace/public/pm/cozy-viewer.css +143 -0
- package/workspace/public/pm/cozy-viewer.js +144 -0
- package/workspace/public/pm/cozy-vw.css +485 -0
- package/workspace/public/pm/cozy.css +254 -0
- package/workspace/public/pm/home-adddoc.js +48 -0
- package/workspace/public/pm/home-app.js +905 -0
- package/workspace/public/pm/home-around.js +515 -0
- package/workspace/public/pm/home-chat.js +459 -0
- package/workspace/public/pm/home-data.js +312 -0
- package/workspace/public/pm/home-draft.js +68 -0
- package/workspace/public/pm/home-more.js +249 -0
- package/workspace/public/pm/home-phone-card.js +109 -0
- package/workspace/public/pm/home-work.js +519 -0
- package/workspace/public/pm/lifecycle-lens-model.js +45 -27
- package/workspace/public/pm/lifecycle-lens.js +22 -11
- package/workspace/public/pm/phone-moment.js +69 -0
- package/workspace/public/pm/pm-work-view.js +1 -1
- package/workspace/public/pm/premium-attach.js +4 -0
- package/workspace/public/pm/premium-board.js +544 -253
- package/workspace/public/pm/premium-brief.js +1 -1
- package/workspace/public/pm/premium-chart-tab.js +110 -62
- package/workspace/public/pm/premium-chat.js +17 -10
- package/workspace/public/pm/premium-deck.js +3 -3
- package/workspace/public/pm/premium-first.js +25 -21
- package/workspace/public/pm/premium-initiative-head.js +138 -0
- package/workspace/public/pm/premium-initiative.js +28 -4
- package/workspace/public/pm/premium-insights.js +950 -440
- package/workspace/public/pm/premium-meeting.js +61 -549
- package/workspace/public/pm/premium-notes.js +1 -1
- package/workspace/public/pm/premium-report-frame.css +20 -0
- package/workspace/public/pm/premium-report-read.js +509 -480
- package/workspace/public/pm/premium-report-tab.js +87 -63
- package/workspace/public/pm/premium-shell.js +107 -124
- package/workspace/public/pm/premium-viewer.js +27 -1
- package/workspace/public/pm/premium-vw-cal.js +187 -48
- package/workspace/public/pm/premium-vw-doc.css +6 -0
- package/workspace/public/pm/premium-vw-doc.js +40 -2
- package/workspace/public/pm/premium-vw-file.js +2 -2
- package/workspace/public/pm/premium-vw-jira-model.js +22 -5
- package/workspace/public/pm/premium-vw-jira.css +11 -0
- package/workspace/public/pm/premium-vw-jira.js +11 -4
- package/workspace/public/pm/premium-vw-meet.js +6 -83
- package/workspace/public/pm/premium-vw-mtg.js +731 -0
- package/workspace/public/pm/premium-vw-notes.js +56 -69
- package/workspace/public/pm/premium-vw-open.js +35 -0
- package/workspace/public/pm/premium-vw-page.js +16 -0
- package/workspace/public/pm/premium-vw-rec.js +11 -215
- package/workspace/public/pm/premium-vw-slides.css +5 -0
- package/workspace/public/pm/premium-vw-slides.js +44 -8
- package/workspace/public/pm/term-view.js +22 -0
- package/workspace/public/premium-board.html +57 -64
- package/workspace/public/premium-chat.html +7 -33
- package/workspace/public/premium-initiative.html +8 -41
- package/workspace/public/premium-insights.html +63 -62
- package/workspace/public/premium-viewer.html +20 -0
- package/workspace/public/premium-work.html +6 -72
- package/workspace/public/premium.html +21 -66
- package/workspace/public/vendor/nunito-var.woff2 +0 -0
- package/workspace/server.js +25 -3
- package/workspace/test-files.json +1 -0
- package/workspace/test-lists/home-libs.json +9 -0
- package/workspace/test-lists/premium-agreed-viewer.json +9 -0
- package/workspace/test-lists/premium-report-read.json +1 -1
- package/workspace/test-lists/premium-vw-agreed.json +9 -0
- package/workspace/test-lists/premium-vw-notes.json +1 -1
- package/workspace/third-party/README.md +1 -0
- package/workspace/public/pm/premium-work.js +0 -719
- package/workspace/public/pm/premium.js +0 -1133
|
@@ -5,74 +5,75 @@
|
|
|
5
5
|
<meta name="pmos-nonce" content="" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
7
7
|
<title>PMOS · Insights</title>
|
|
8
|
-
<!-- The premium Insights (initiative
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<link rel="
|
|
8
|
+
<!-- The premium Insights in the Agreed design (initiative premium-agreed-design, G1 and G2; before it briefing-premium-insights and insights-one-list).
|
|
9
|
+
One bar: the product picker, the tabs Goals, Outcomes and Library, the view, the period and the icon tools. No page header; the floating place menu
|
|
10
|
+
(pm/cozy-nav.js) replaces the rail. It reads GET /api/insights-premium (the KR metric records, the board's initiatives, the report files and setups)
|
|
11
|
+
and GET /api/board-metrics-premium for the Delivery trends tiles, whose one press sets a target (POST /api/board-metric-targets/save). -->
|
|
12
|
+
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
|
+
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
14
|
+
<link rel="stylesheet" href="/pm/cozy-insights.css" />
|
|
13
15
|
</head>
|
|
14
|
-
<body>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
|
|
19
|
-
<button class="pl" data-go="work"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
|
|
20
|
-
<button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
|
|
21
|
-
<button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
|
|
22
|
-
<button class="pl" data-go="rep" aria-current="page"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
|
|
23
|
-
</nav>
|
|
16
|
+
<body class="cz">
|
|
17
|
+
<!-- Insights has no dialog, dock or veil of the old shell: pm/premium-shell.js binds to a detached copy when #dlg is absent, and a report opens in
|
|
18
|
+
the Viewer card (pm/cozy-viewer.js). The floating place menu (pm/cozy-nav.js) is the page's navigation; there is no rail. The toast is the shell's. -->
|
|
19
|
+
<div class="ins-toast" id="toast" role="status" aria-live="polite"></div>
|
|
24
20
|
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
<div class="
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<div class="
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
21
|
+
<main class="cz-panel ins stage" id="stage">
|
|
22
|
+
<h1 class="vh">Insights</h1>
|
|
23
|
+
<div class="ins-bar" id="insBar">
|
|
24
|
+
<span class="ins-mw ins-pkw"><button type="button" class="cz-pick" id="prodPick" aria-haspopup="menu" aria-expanded="false" aria-controls="prodMenu" aria-label="Switch product"><span id="prodName">pmos</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="prodMenu" role="menu" aria-label="Products" hidden></div></span>
|
|
25
|
+
<span class="ins-ttl" aria-hidden="true">Insights</span>
|
|
26
|
+
<div class="cz-tabs ins-tabs" role="tablist" aria-label="Insights">
|
|
27
|
+
<button type="button" role="tab" class="cz-tab" id="tabGoals" data-tab="goals" aria-controls="pGoals" aria-selected="true">Goals <span class="n" id="nGoals"></span></button>
|
|
28
|
+
<button type="button" role="tab" class="cz-tab" id="tabOutcomes" data-tab="outcomes" aria-controls="pOutcomes" aria-selected="false" tabindex="-1">Outcomes <span class="n" id="nOutcomes"></span></button>
|
|
29
|
+
<button type="button" role="tab" class="cz-tab" id="tabLibrary" data-tab="library" aria-controls="pLibrary" aria-selected="false" tabindex="-1">Library <span class="n" id="repCap"></span></button>
|
|
30
|
+
</div>
|
|
31
|
+
<span class="cz-vr ins-vw"></span>
|
|
32
|
+
<span class="ins-mw ins-vw"><button type="button" class="cz-chip gh" id="viewChip" aria-haspopup="menu" aria-expanded="false" aria-controls="viewMenu">View: <b id="viewName">All goals</b><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="viewMenu" role="menu" aria-label="Views" hidden></div></span>
|
|
33
|
+
<div class="cz-tools ins-tools">
|
|
34
|
+
<span class="ins-mw ins-perw"><button type="button" class="cz-chip" id="perChip" aria-haspopup="menu" aria-expanded="false" aria-controls="perMenu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v14H4zM4 10h16M9 3v4M15 3v4"/></svg><b id="perName">Q4</b><span class="ins-perd" id="perSub"></span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu ins-permenu" id="perMenu" role="menu" aria-label="Period" hidden></div></span>
|
|
35
|
+
<span class="cz-vr ins-dk"></span>
|
|
36
|
+
<button type="button" class="cz-ib" id="findB" aria-expanded="false" aria-controls="findRow" aria-label="Find a goal, initiative or report" title="Find a goal, initiative or report"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg></button>
|
|
37
|
+
<span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="menu" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by objective, owner, type or lane" title="Filter by objective, owner, type or lane"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="ins-fdot" id="filtDot" hidden></i></button><div class="ins-menu ins-right" id="filtMenu" role="menu" aria-label="Filter" hidden></div></span>
|
|
38
|
+
<span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-haspopup="menu" aria-expanded="false" aria-controls="newMenu" aria-label="New goal, dashboard or chart" title="New goal, dashboard or chart"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button><div class="ins-menu ins-right" id="newMenu" role="menu" aria-label="New" hidden>
|
|
39
|
+
<button type="button" role="menuitem" data-new="goal">New goal<small>A number PMOS reads, with a target and a date</small></button>
|
|
40
|
+
<button type="button" role="menuitem" data-new="dash">New dashboard<small>Pick goals in the table, then save them as a view</small></button>
|
|
41
|
+
<button type="button" role="menuitem" data-new="chart">New chart<small>One goal drawn one way, on a dashboard</small></button>
|
|
42
|
+
</div></span>
|
|
43
|
+
<span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: sources, export, about these numbers" title="More: sources, export, about these numbers"><svg viewBox="0 0 24 24" aria-hidden="true" stroke-width="3"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg></button><div class="ins-menu ins-right" id="moreMenu" role="menu" aria-label="More" hidden>
|
|
44
|
+
<button type="button" role="menuitem" data-more="sources">Sources<small>What this page reads, and what it could not read</small></button>
|
|
45
|
+
<button type="button" role="menuitem" data-more="export">Export<small>The goals as a CSV file</small></button>
|
|
46
|
+
<button type="button" role="menuitem" data-more="about">About these numbers<small>Where each number comes from</small></button>
|
|
47
|
+
</div></span>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="ins-find" id="findRow" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg><input id="findIn" maxlength="120" autocomplete="off" placeholder="Find a goal, initiative or report" aria-label="Find a goal, initiative or report"><button type="button" class="cz-ib" id="findX" aria-label="Clear and close the search" title="Clear and close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
|
|
51
|
+
|
|
52
|
+
<!-- Goals (AgInsGoals; the cards on a phone are AgInsPhone) -->
|
|
53
|
+
<section class="ins-pane" id="pGoals" role="tabpanel" aria-labelledby="tabGoals">
|
|
54
|
+
<div class="ins-strip" id="insHero"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="insText" aria-live="polite"><b id="insEye"></b> <span id="brief">Reading the records.</span> <span id="insWhy"></span></p><a class="cz-chip gh" id="askWhy" href="/premium.html?ask=insights"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z"/></svg>Ask why</a></div>
|
|
55
|
+
<div class="ins-tbl" id="goalTbl" role="table" aria-label="Goals"></div>
|
|
56
|
+
<div class="ins-cards" id="goalCards" role="list" aria-label="Goals"></div>
|
|
53
57
|
</section>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<div class="
|
|
58
|
-
<
|
|
59
|
-
<span class="newm"><button class="nrplus" type="button" id="listNew" aria-haspopup="menu" aria-expanded="false" aria-controls="listMenu" aria-label="New dashboard or report" title="New"><svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg></button>
|
|
60
|
-
<span class="lmenu" id="listMenu" role="menu" hidden><button type="button" role="menuitem" id="pdNew">Dashboard</button><button type="button" role="menuitem" id="repNew">Report</button></span></span>
|
|
61
|
-
<input id="repAskIn" maxlength="500" autocomplete="off" placeholder="Ask PMOS to set up a report" aria-label="Ask PMOS to set up a report">
|
|
62
|
-
<button class="nrgo" id="repAskGo" type="submit" aria-label="Ask" title="Ask"><svg class="i" viewBox="0 0 24 24"><path d="M12 19V5M6 11l6-6 6 6"/></svg></button>
|
|
63
|
-
</form>
|
|
64
|
-
<p class="note nask-n nrline">Only proposes. Nothing is set up until you press Set it up. <button type="button" class="infob" aria-controls="repFold" aria-expanded="false" aria-label="About reports and the pin" title="About reports and the pin"><i aria-hidden="true">i</i></button></p>
|
|
65
|
-
<div class="ifold" id="repFold" hidden><p class="mhint">Ask starts a background run that only proposes a report. A report is a file in the repository. PMOS drafts it, you read it. <b>Nothing is sent from here.</b> The pin puts one dashboard at the top of this page. It shows nowhere else. Open a report to read it, edit its words or issue a draft.</p></div>
|
|
58
|
+
|
|
59
|
+
<!-- Outcomes (AgInsOutcomes): shipped work against what it promised -->
|
|
60
|
+
<section class="ins-pane" id="pOutcomes" role="tabpanel" aria-labelledby="tabOutcomes" hidden>
|
|
61
|
+
<div class="ins-strip"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="outText"></p></div>
|
|
62
|
+
<div class="ins-tbl" id="outTbl" role="table" aria-label="Outcomes"></div>
|
|
66
63
|
</section>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<div class="
|
|
71
|
-
<div
|
|
64
|
+
|
|
65
|
+
<!-- Library (AgInsLibrary): reports, then dashboards. Reports are made in Home. -->
|
|
66
|
+
<section class="ins-pane" id="pLibrary" role="tabpanel" aria-labelledby="tabLibrary" hidden>
|
|
67
|
+
<div class="ins-lbar"><span class="ins-chips" id="listSeg" role="group" aria-label="Show"></span><span class="cz-vr"></span><button type="button" class="cz-chip gh" id="sugB" hidden></button><span class="note ins-lnote">Reports are made in Home, in Product. This list opens them in the reader.</span></div>
|
|
68
|
+
<div id="repBody"></div>
|
|
72
69
|
</section>
|
|
73
|
-
<div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
|
|
74
|
-
<div class="ifold" id="footFold" hidden><p class="foot" id="foot">Charts read the KR metric records of this workspace and never invent a number. A press here records only what it says: a dashboard or a chart in the workspace's state folder, a report setup, request or dismissal in the report ledger, or a report's look in its design folder. The Board measures card counts the Board's four measures from the repository, over 8, 26 or 52 weeks; a target set there is saved in the workspace's state folder and drawn on the Board too. Left out: any measure no record holds. Nothing is sent from this page.</p></div>
|
|
75
70
|
</main>
|
|
71
|
+
|
|
72
|
+
<aside class="ins-side" id="side" role="dialog" aria-modal="false" aria-labelledby="sideTitle" tabindex="-1" hidden>
|
|
73
|
+
<div class="ins-sh"><div><p class="ins-eye" id="sideEye"></p><h2 id="sideTitle"></h2></div><span class="ins-st" id="sideTools"></span><button type="button" class="cz-ib" id="sideX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
|
|
74
|
+
<div class="ins-sb" id="sideBody"></div>
|
|
75
|
+
<div class="ins-sf"><p class="note" id="sideNote"></p><p class="note ins-sm" id="sideMsg" role="status"></p><span class="ins-sa" id="sideAct"></span></div>
|
|
76
|
+
</aside>
|
|
76
77
|
<noscript>This page needs JavaScript.</noscript>
|
|
77
78
|
<script type="module" src="/pm/premium-insights.js"></script>
|
|
78
79
|
</body>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="pmos-nonce" content="" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
7
|
+
<title>PMOS · Viewer</title>
|
|
8
|
+
<!-- The Viewer on its own page (initiative premium-agreed-design, area viewer). It is the address "Open in a new tab" gives an item:
|
|
9
|
+
?open=meeting¬e=<id> or &event=<id>&date=YYYY-MM-DD, ?open=calendar, ?open=notes, ?open=report&path=reports/<cadence>/<date>.md,
|
|
10
|
+
each with an optional &ws=. The item opens in the same Viewer card Home shows (cozy-viewer.js), here as the whole page. -->
|
|
11
|
+
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
12
|
+
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
13
|
+
<link rel="stylesheet" href="/pm/cozy-vw.css" />
|
|
14
|
+
</head>
|
|
15
|
+
<body class="cz vz-solo">
|
|
16
|
+
<main class="vz-host" data-cz-viewer-host></main>
|
|
17
|
+
<p class="vz-gone" id="vzGone" hidden>Nothing is open. <a href="/premium.html">Go to Home</a></p>
|
|
18
|
+
<script type="module" src="/pm/premium-vw-page.js"></script>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -2,79 +2,13 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<meta name="
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
<link rel="stylesheet" href="/pm/premium.css" />
|
|
11
|
-
<link rel="stylesheet" href="/pm/premium-wide.css" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>PMOS · Home</title>
|
|
7
|
+
<!-- premium-agreed-design H3: Home replaced this page. The server answers this address with a redirect to /premium.html and the same query;
|
|
8
|
+
this file only covers a copy served without that server. -->
|
|
9
|
+
<meta http-equiv="refresh" content="0; url=/premium.html" />
|
|
12
10
|
</head>
|
|
13
11
|
<body>
|
|
14
|
-
<
|
|
15
|
-
<nav class="rail glass" aria-label="Places">
|
|
16
|
-
<i class="ind"></i>
|
|
17
|
-
<button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
|
|
18
|
-
<button class="pl" data-go="work" aria-current="page"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
|
|
19
|
-
<button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
|
|
20
|
-
<button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
|
|
21
|
-
<button class="pl" data-go="rep"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
|
|
22
|
-
</nav>
|
|
23
|
-
|
|
24
|
-
<div class="dock glass" id="dock" inert><span class="nm">My work</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">to clear</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
|
25
|
-
<div class="veil" id="veil"></div>
|
|
26
|
-
<div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
|
|
27
|
-
<div class="grab"></div>
|
|
28
|
-
<div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
|
|
29
|
-
<div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
|
|
30
|
-
<div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
|
|
31
|
-
<div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
|
|
32
|
-
<section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="toast glass" id="toast" role="status"></div>
|
|
35
|
-
<main class="stage" id="stage">
|
|
36
|
-
<header class="top rise" style="--d:0">
|
|
37
|
-
<h1 class="vh">My work</h1><div class="where"><span class="glass name" aria-hidden="true">My work</span></div>
|
|
38
|
-
<div class="tools tools-top"><span class="vh" id="snap">Reading your list</span></div>
|
|
39
|
-
</header>
|
|
40
|
-
<section class="hero">
|
|
41
|
-
<p class="date rise" style="--d:1" id="date"></p>
|
|
42
|
-
<p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p>
|
|
43
|
-
</section>
|
|
44
|
-
<form class="cap glass rise" style="--d:3" id="cap" autocomplete="off">
|
|
45
|
-
<svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
46
|
-
<input id="capIn" placeholder="Add anything to your list" aria-label="Add an item to your list" maxlength="300">
|
|
47
|
-
<button class="capb" type="submit" aria-label="Add it to your list" title="Add it to your list"><svg class="i" viewBox="0 0 24 24"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
|
|
48
|
-
</form>
|
|
49
|
-
<div class="tx rise" style="--d:4" id="tx"><span class="hint" id="capHint" aria-live="polite">One line. The date and priority are read from it, for example "Reply to Rina about SSO by Friday".</span></div>
|
|
50
|
-
<section class="card rise" style="--d:5;margin-top:24px" id="queue" aria-labelledby="hQueue">
|
|
51
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="M8 9h8M8 13h8M8 17h5"/></svg></span><h2 id="hQueue">Work queue</h2><small id="qCap"></small><span id="xFocus" class="xfo" role="group" aria-label="Focus today"></span></div>
|
|
52
|
-
<div class="qbar"><div class="qtabs" id="qTabs" role="tablist" aria-label="Work queue"></div><button type="button" class="qmore" id="qMore" aria-haspopup="true" aria-expanded="false" aria-controls="qMenu">More<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="m7 10 5 5 5-5"/></svg></button><div class="qmenu glass" id="qMenu" role="tablist" aria-label="More of the Work queue" hidden></div></div>
|
|
53
|
-
<div class="tgrid" id="qBody" role="tabpanel" aria-labelledby="hQueue"></div>
|
|
54
|
-
<p class="note" id="qNote" style="margin-top:14px"></p>
|
|
55
|
-
</section>
|
|
56
|
-
<div class="cols2" style="margin-top:24px">
|
|
57
|
-
<div>
|
|
58
|
-
<section class="card rise" style="--d:8" id="waitCard" aria-labelledby="hWait">
|
|
59
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span><h2 id="hWait">Waiting on others</h2><small id="waitCap"></small></div>
|
|
60
|
-
<div id="waitBody"></div>
|
|
61
|
-
</section>
|
|
62
|
-
</div>
|
|
63
|
-
<div>
|
|
64
|
-
<section class="card rise" style="--d:9" id="frCard" aria-labelledby="hFr">
|
|
65
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="5" width="16" height="15" rx="3"/><path d="m8.5 13 2.5 2.5 4.5-5"/></svg></span><h2 id="hFr">Weekly review</h2><small id="frCap"></small></div>
|
|
66
|
-
<div id="frBody"></div>
|
|
67
|
-
</section>
|
|
68
|
-
<section class="card rise" style="--d:9" id="revCard" aria-labelledby="hRev" hidden>
|
|
69
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M4 12a8 8 0 0 1 14-5.3M20 12a8 8 0 0 1-14 5.3"/><path d="M18 3v4h-4M6 21v-4h4"/></svg></span><h2 id="hRev">Untouched</h2><small id="revCap"></small></div>
|
|
70
|
-
<div class="revc"><p id="revTxt"></p><button id="revBtn" type="button">Look at them</button></div>
|
|
71
|
-
</section>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
|
|
75
|
-
<div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads your list, the same one the Work page reads. It writes only when you press a button that says what it does, and each press uses the Work page's own route. Starting an agent from a list is not built here. The Kept and Done tabs show only your own items. Answers, ideas and reports an agent files on its own, effort figures and review timing need records PMOS does not hold yet. Jira and Slack items appear only when an agent session has read them.</p></div>
|
|
76
|
-
</main>
|
|
77
|
-
<noscript>This page needs JavaScript.</noscript>
|
|
78
|
-
<script type="module" src="/pm/premium-work.js"></script>
|
|
12
|
+
<p>This page moved to <a href="/premium.html">Home</a>.</p>
|
|
79
13
|
</body>
|
|
80
14
|
</html>
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="pmos-nonce" content="" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
7
|
-
<title>PMOS ·
|
|
8
|
-
<!--
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
<title>PMOS · Home</title>
|
|
8
|
+
<!-- Home in the Agreed design (initiative premium-agreed-design, Home; mockup Main.dc.html place="work"). One desk: the list on the left, the chat
|
|
9
|
+
in the middle and the Viewer on the right. An initiative is a layout of this page (?ini=<id>): its card sits at the top of the list. On a phone
|
|
10
|
+
the chat is the page, and "N need you" in the top bar opens the list as a sheet. It replaces the Briefing, My work, Chat and the initiative
|
|
11
|
+
page; their addresses open it. The default page; the old console stays at /console.html and nothing here links to it. -->
|
|
12
12
|
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials" />
|
|
13
13
|
<meta name="theme-color" content="#090b0c" />
|
|
14
14
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
@@ -16,68 +16,23 @@
|
|
|
16
16
|
<meta name="apple-mobile-web-app-title" content="PMOS" />
|
|
17
17
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
18
18
|
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
|
|
19
|
-
<link rel="preload" href="/vendor/
|
|
20
|
-
<link rel="stylesheet" href="/pm/
|
|
21
|
-
<link rel="stylesheet" href="/pm/
|
|
19
|
+
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
20
|
+
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
21
|
+
<link rel="stylesheet" href="/pm/cozy-home.css" />
|
|
22
22
|
</head>
|
|
23
|
-
<body>
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
<button class="
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<div class="dock glass" id="dock" inert><span class="nm">Briefing</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">for you</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
|
|
35
|
-
<div class="veil" id="veil"></div>
|
|
36
|
-
<div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
|
|
37
|
-
<div class="grab"></div>
|
|
38
|
-
<div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
|
|
39
|
-
<div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
|
|
40
|
-
<div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
|
|
41
|
-
<div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
|
|
42
|
-
<section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="toast glass" id="toast" role="status"></div>
|
|
45
|
-
<main class="stage" id="stage">
|
|
46
|
-
<header class="top rise" style="--d:0">
|
|
47
|
-
<h1 class="vh">Briefing</h1><div class="where"><span class="glass name" aria-hidden="true">Briefing</span></div>
|
|
48
|
-
<div class="tools tools-top"><span class="vh" id="snap">Reading the repository</span>
|
|
49
|
-
<span id="pkPark" hidden><span class="pkw" id="pkw" hidden><button class="fchip" id="pick" aria-haspopup="menu" aria-expanded="false" aria-controls="pickMenu">Products<em id="pickN"></em></button><div class="crmenu pkmenu" id="pickMenu" role="menu" hidden></div></span></span></div>
|
|
50
|
-
</header>
|
|
51
|
-
<section class="hero">
|
|
52
|
-
<p class="date rise" style="--d:1" id="date"></p>
|
|
53
|
-
<p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p>
|
|
54
|
-
<p class="rfline" id="rfLine" role="status" hidden></p>
|
|
55
|
-
</section>
|
|
56
|
-
<div class="cols2">
|
|
57
|
-
<div>
|
|
58
|
-
<section class="card rise" id="movesCard" style="--d:6" aria-labelledby="hMoves">
|
|
59
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M5 12l4.5 4.5L19 7"/></svg></span><h2 id="hMoves">What you need to do</h2><small id="movesCap"></small></div>
|
|
60
|
-
<div class="mprog" id="mprog" role="progressbar" aria-label="Done today" aria-valuemin="0" hidden><b></b></div>
|
|
61
|
-
<div class="rank" id="rank"></div>
|
|
62
|
-
<div class="calm" id="calm" hidden><i><svg class="i" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></i><div><b>Nothing needs you right now.</b><small id="calmNext"></small></div></div>
|
|
63
|
-
<p class="note" id="order" style="margin-top:14px"></p>
|
|
64
|
-
<p class="note" id="putoff" hidden></p>
|
|
65
|
-
</section>
|
|
66
|
-
</div>
|
|
67
|
-
<div>
|
|
68
|
-
<section class="card rise" id="todayCard" style="--d:7" aria-labelledby="hToday">
|
|
69
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span><h2 id="hToday">Calendar</h2><small id="todayCap"></small><div class="chm" id="calM"><button type="button" class="chmore" id="calMore" aria-haspopup="true" aria-expanded="false" aria-controls="calMenu" aria-label="Calendar options" title="Notes, sources and the full calendar"><svg class="i" viewBox="0 0 24 24"><circle cx="5" cy="12" r="1.6"/><circle cx="12" cy="12" r="1.6"/><circle cx="19" cy="12" r="1.6"/></svg></button><div class="chmenu" id="calMenu" hidden><button class="fbtn" data-opts="todayOpts" aria-expanded="false" aria-controls="todayOpts" aria-label="Filter sources"><svg class="i" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></svg><span>Filter sources</span></button></div></div></div>
|
|
70
|
-
<div id="wkStrip"></div>
|
|
71
|
-
<div class="prep" id="prep" hidden></div>
|
|
72
|
-
<div class="opts" id="todayOpts" inert><div><div class="chips" id="srcChips" role="group" aria-label="Sources"></div></div></div>
|
|
73
|
-
<div class="tl" id="tl" role="group" aria-label="Today. Use the up and down arrow keys to move between rows."></div>
|
|
74
|
-
</section>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
|
|
78
|
-
<div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads the repository's records. It writes only when you press a button that says it records: a decision goes to pm-decisions.md, a returned run to the corrections ledger, a put-off row and a note to the workspace's state folder. It keeps its last answer in the workspace's state folder, so a reload is quick. Counts come from derived state at the time shown above.</p></div>
|
|
23
|
+
<body class="cz cz-home">
|
|
24
|
+
<header class="hm-top" id="hmTop">
|
|
25
|
+
<div class="hm-top-t"><b id="hmTopTitle">Home</b><span id="hmTopSub"></span></div>
|
|
26
|
+
<button type="button" class="hm-needs" id="hmNeeds" aria-controls="hmList" aria-expanded="false"><i aria-hidden="true"></i><span id="hmNeedsN">Reading</span></button>
|
|
27
|
+
<button type="button" class="hm-ib" id="hmMoreP" aria-haspopup="menu" aria-label="More" title="More"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="6" cy="12" r="1.4"/><circle cx="12" cy="12" r="1.4"/><circle cx="18" cy="12" r="1.4"/></svg></button>
|
|
28
|
+
</header>
|
|
29
|
+
<main class="hm-desk" id="hmDesk">
|
|
30
|
+
<aside class="hm-list" id="hmList" aria-label="Sessions"></aside>
|
|
31
|
+
<section class="hm-chat" id="hmChat" aria-label="Conversation"></section>
|
|
32
|
+
<div class="hm-vw" data-cz-viewer-host></div>
|
|
79
33
|
</main>
|
|
80
|
-
<
|
|
81
|
-
<
|
|
34
|
+
<div class="hm-menu" id="hmMenu" role="menu" aria-label="More" hidden></div>
|
|
35
|
+
<div class="hm-toast" id="toast" role="status" aria-live="polite"></div>
|
|
36
|
+
<script type="module" src="/pm/home-app.js"></script>
|
|
82
37
|
</body>
|
|
83
38
|
</html>
|
|
Binary file
|
package/workspace/server.js
CHANGED
|
@@ -3208,6 +3208,9 @@ function sessionConversation(s) {
|
|
|
3208
3208
|
// held back shows on the next poll even when the file has not moved since
|
|
3209
3209
|
const h = transcriptHarness(s) || {};
|
|
3210
3210
|
const out = { ...c, turn: h.turn || null, openCall: h.openCall ? h.openCall.verb : null, model: h.model || null };
|
|
3211
|
+
// premium-agreed-design (Home): the agent's own step list (TodoWrite) and the open call as a change, re-read only when the file moved
|
|
3212
|
+
if (!(s.stepsRead && s.stepsStamp === stamp)) { s.stepsRead = require('./lib/transcript-steps.js').readSteps(found.file, scrub, s.root); s.stepsStamp = stamp; }
|
|
3213
|
+
out.steps = s.stepsRead.steps; out.stepsAt = s.stepsRead.stepsAt; out.change = out.turn === 'tool' ? s.stepsRead.change : null;
|
|
3211
3214
|
// the prompt is on the screen, not in the transcript: read it only while a tool call is open
|
|
3212
3215
|
const ask = out.turn === 'tool' ? paneAsk(s) : null;
|
|
3213
3216
|
return ask ? { ...out, ask } : out;
|
|
@@ -3405,6 +3408,9 @@ function sessionList() {
|
|
|
3405
3408
|
initiative: 'initiative' in s ? (s.initiative == null ? null : s.initiative) : null,
|
|
3406
3409
|
attributed_by: 'initiative' in s ? (s.attributedBy || null) : null,
|
|
3407
3410
|
work_type: s.workType || null,
|
|
3411
|
+
// premium-agreed-design (Home): the skill that started the session, and the role name the chat shows for it (lib/agent-roles.js; "Claude" when none)
|
|
3412
|
+
skill: (s.modelAsk && s.modelAsk.skill) || null,
|
|
3413
|
+
role: require('./lib/agent-roles.js').roleOf({ skill: s.modelAsk && s.modelAsk.skill, origin: s.origin }),
|
|
3408
3414
|
profile_id: 'profile' in s ? (s.profile == null ? null : s.profile) : null,
|
|
3409
3415
|
profile_line: profilesLib.profileLine(
|
|
3410
3416
|
!('profile' in s) ? undefined
|
|
@@ -6410,16 +6416,30 @@ async function handleRequest(req, res) {
|
|
|
6410
6416
|
// for itself still lands in the console. The older shell (public/index.html) stays at '/classic.html'.
|
|
6411
6417
|
// ROLLBACK, one line: change the final 'premium.html' in the readFile name chain below to 'c3.html' and delete the '/c3.html'
|
|
6412
6418
|
// redirect block above.
|
|
6419
|
+
// premium-agreed-design H3: Home replaced the Briefing, My work and Chat. My work and Chat open Home with their own query, so an
|
|
6420
|
+
// ?item=, ?about=, ?open= or ?say= link still lands on what it named.
|
|
6421
|
+
if (p === '/premium-work' || p === '/premium-work.html' || p === '/premium-chat' || p === '/premium-chat.html') {
|
|
6422
|
+
res.writeHead(302, { Location: '/premium.html' + url.search, 'Cache-Control': 'no-store' });
|
|
6423
|
+
return res.end();
|
|
6424
|
+
}
|
|
6425
|
+
// premium-agreed-design (Home): the initiative is a layout inside Home. ?id=<x> becomes ?ini=<x>; the other query keys go along.
|
|
6426
|
+
if (p === '/premium-initiative' || p === '/premium-initiative.html') {
|
|
6427
|
+
const q = new URLSearchParams(url.search);
|
|
6428
|
+
if (q.has('id')) { q.set('ini', q.get('id')); q.delete('id'); }
|
|
6429
|
+
const s = q.toString();
|
|
6430
|
+
res.writeHead(302, { Location: '/premium.html' + (s ? '?' + s : ''), 'Cache-Control': 'no-store' });
|
|
6431
|
+
return res.end();
|
|
6432
|
+
}
|
|
6413
6433
|
if (p === '/c3.html' || p === '/c3') {
|
|
6414
6434
|
res.writeHead(302, { Location: (url.search ? '/console.html' : '/premium.html') + url.search, 'Cache-Control': 'no-store' });
|
|
6415
6435
|
return res.end();
|
|
6416
6436
|
}
|
|
6417
|
-
if (p === '/' || p === '/index.html' || p === '/console' || p === '/console.html' || p === '/classic' || p === '/classic.html' || p === '/welcome' || p === '/welcome.html' || p === '/premium' || p === '/premium.html' || p === '/premium-work' || p === '/premium-work.html' || p === '/premium-board' || p === '/premium-board.html' || p === '/premium-initiative' || p === '/premium-initiative.html' || p === '/premium-insights' || p === '/premium-insights.html' || p === '/premium-welcome' || p === '/premium-welcome.html' || p === '/premium-chat' || p === '/premium-chat.html') {
|
|
6437
|
+
if (p === '/' || p === '/index.html' || p === '/console' || p === '/console.html' || p === '/classic' || p === '/classic.html' || p === '/welcome' || p === '/welcome.html' || p === '/premium' || p === '/premium.html' || p === '/premium-work' || p === '/premium-work.html' || p === '/premium-board' || p === '/premium-board.html' || p === '/premium-initiative' || p === '/premium-initiative.html' || p === '/premium-insights' || p === '/premium-insights.html' || p === '/premium-welcome' || p === '/premium-welcome.html' || p === '/premium-chat' || p === '/premium-chat.html' || p === '/premium-viewer' || p === '/premium-viewer.html') {
|
|
6418
6438
|
// pm-os-absorb Run 2 (R25, X11): the per-launch nonce goes into the base meta line, nowhere else. no-store, so a
|
|
6419
6439
|
// restarted server never answers a press from a page that holds the previous launch's value. The page code is
|
|
6420
6440
|
// referenced under this launch's build prefix.
|
|
6421
6441
|
const n = pmGuard.launchNonce();
|
|
6422
|
-
return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : (p === '/premium-welcome' || p === '/premium-welcome.html') ? 'premium-welcome.html' : (p === '/premium-chat' || p === '/premium-chat.html') ? 'premium-chat.html' : (p === '/console' || p === '/console.html') ? 'c3.html' : 'premium.html'), 'utf8', (err, html) => {
|
|
6442
|
+
return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : (p === '/premium-welcome' || p === '/premium-welcome.html') ? 'premium-welcome.html' : (p === '/premium-chat' || p === '/premium-chat.html') ? 'premium-chat.html' : (p === '/premium-viewer' || p === '/premium-viewer.html') ? 'premium-viewer.html' : (p === '/console' || p === '/console.html') ? 'c3.html' : 'premium.html'), 'utf8', (err, html) => {
|
|
6423
6443
|
if (err) { res.writeHead(404); res.end('not found'); return; }
|
|
6424
6444
|
let out = withBuild(html);
|
|
6425
6445
|
if (n) out = out.replace('<meta name="' + pmGuard.NONCE_META + '" content="" />', '<meta name="' + pmGuard.NONCE_META + '" content="' + n + '" />');
|
|
@@ -6506,6 +6526,7 @@ async function handleRequest(req, res) {
|
|
|
6506
6526
|
// because the terminal renders bold — with only the regular face the browser synthesises it.
|
|
6507
6527
|
if (p === '/vendor/space-grotesk-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'space-grotesk-var.woff2'));
|
|
6508
6528
|
if (p === '/vendor/geist-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-var.woff2'));
|
|
6529
|
+
if (p === '/vendor/nunito-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'nunito-var.woff2')); // the Agreed design's face (premium-agreed-design)
|
|
6509
6530
|
if (p === '/vendor/geist-mono-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-mono-var.woff2'));
|
|
6510
6531
|
if (p === '/vendor/ibm-plex-mono-400.woff2') return serveFile(res, path.join(PUB, 'vendor', 'ibm-plex-mono-400.woff2'));
|
|
6511
6532
|
// 500 joined 400/700 with the four-panel design, whose section labels and pills are medium-weight
|
|
@@ -7250,7 +7271,8 @@ async function handleRequest(req, res) {
|
|
|
7250
7271
|
}
|
|
7251
7272
|
const c = sessionConversation(sess);
|
|
7252
7273
|
return json(res, { ok: true, id: sess.id, agent: sess.agent, messages: c.messages, state: c.state || null, missing: c.missing || null, turn: c.turn || null,
|
|
7253
|
-
openCall: c.openCall || null, model: c.model || null, ask: c.ask || null, stamp: c.stamp || null
|
|
7274
|
+
openCall: c.openCall || null, model: c.model || null, ask: c.ask || null, stamp: c.stamp || null,
|
|
7275
|
+
steps: c.steps || null, stepsAt: c.stepsAt || null, change: c.change || null });
|
|
7254
7276
|
}
|
|
7255
7277
|
if (p === '/api/sessions/transcript' && req.method === 'GET') {
|
|
7256
7278
|
const sess = sessions.get(String(url.searchParams.get('id') || ''));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Initiative premium-agreed-design, area viewer (I1): the pure header card of the premium initiative page. The page itself runs in briefing-premium-initiative-test.js; the Viewer's Jira ticket (V1) in premium-vw-jira*.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"premium-initiative-head.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"premium-initiative-head.test.js": 1
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "Initiative premium-report-read: a report
|
|
2
|
+
"_comment": "Initiative premium-report-read, re-pointed for premium-agreed-design (area viewer): a report cycle read in the Viewer card (/premium-viewer.html?open=report): deck, page, Present, download, print, edit, issued, the writes, floors, issue and archive, against the real server on a scratch repository.",
|
|
3
3
|
"seconds": {
|
|
4
4
|
"premium-report-read-test.js": 60
|
|
5
5
|
},
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Initiative premium-agreed-design, area viewer: the meeting (prep, live, after), Calendar | Notes and the report panel in the czViewer card, the pure halves and the file-mode records behind them (lib/viewer-meeting.js, lib/viewer-report.js, lib/routes-viewer.js).",
|
|
3
|
+
"modules": [
|
|
4
|
+
"premium-vw-agreed.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"premium-vw-agreed.test.js": 2
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "Initiative premium-viewer, R9: the Notes
|
|
2
|
+
"_comment": "Initiative premium-viewer, R9; re-pointed for premium-agreed-design (area viewer): the Notes side of Calendar | Notes in the Viewer card (/premium-viewer.html?open=notes), grouped by initiative, a series as one row, search, a note opened in the card and Change what it is about.",
|
|
3
3
|
"modules": [
|
|
4
4
|
"premium-vw-notes.test.js"
|
|
5
5
|
],
|
|
@@ -51,6 +51,7 @@ Two binary font faces are vendored under `public/vendor/` for `public/premium.ht
|
|
|
51
51
|
|---|---|---|---|
|
|
52
52
|
| Geist (variable) | SIL Open Font License 1.1 | `public/vendor/geist-var.woff2` | `19f9c92546aa300c312235e3125af1b81394d8db9a4bc4a425cd5b641d2d54e1` |
|
|
53
53
|
| Geist Mono (variable) | SIL Open Font License 1.1 | `public/vendor/geist-mono-var.woff2` | `684ad5b531f81d43c1e8c7038262d5db7cdc1f68006e04d6c7769efa8d33c8cc` |
|
|
54
|
+
| Nunito (variable, latin) | SIL Open Font License 1.1 | `public/vendor/nunito-var.woff2` | `ba344451eab25b217a165363b1982048a5e5830a0daf36577973955a04cac793` |
|
|
54
55
|
|
|
55
56
|
The licences are in this folder: [geist-OFL.LICENSE](geist-OFL.LICENSE) and [geist-mono-OFL.LICENSE](geist-mono-OFL.LICENSE). The files are the ones in `prototype/premium-ux-concept/fonts/`.
|
|
56
57
|
|