create-pmos 0.395.0 → 0.397.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 -30
- package/payload/KIT-VERSION +1 -1
- 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/workspace/briefing-premium-adddoc-test.js +20 -40
- package/workspace/briefing-premium-board-test.js +145 -107
- package/workspace/briefing-premium-calendar-2-test.js +5 -2
- package/workspace/briefing-premium-calendar-3-test.js +13 -8
- package/workspace/briefing-premium-calendar-test.js +16 -5
- package/workspace/briefing-premium-initiative-test.js +50 -41
- package/workspace/briefing-premium-insights-test.js +104 -85
- package/workspace/briefing-premium-metrics-test.js +11 -32
- package/workspace/briefing-premium-sources-test.js +42 -21
- package/workspace/briefing-premium-test.js +112 -98
- package/workspace/briefing-premium-work-test.js +78 -64
- 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/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/guide/briefing-premium.md +3 -1
- package/workspace/guide/index.md +1 -0
- package/workspace/guide/lifecycle.md +51 -0
- package/workspace/home-shot.js +38 -0
- package/workspace/lib/board-premium.js +92 -1
- 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/insights-premium.js +78 -1
- package/workspace/lib/routes-board-premium.js +3 -2
- package/workspace/lib/routes-initiatives.js +1 -1
- package/workspace/lib/routes-insights-premium.js +8 -1
- package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
- 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 +2 -0
- package/workspace/premium-chat-chart-tab-test.js +6 -5
- package/workspace/premium-chat-context-test.js +8 -6
- package/workspace/premium-chat-goal-view-test.js +9 -7
- package/workspace/premium-chat-notes-test.js +3 -2
- package/workspace/premium-chat-report-tab-test.js +8 -2
- package/workspace/premium-chat-term-test.js +3 -1
- package/workspace/premium-chat-viewer-test.js +23 -17
- package/workspace/premium-core-doc-issue-test.js +2 -0
- package/workspace/premium-html-viewer-test.js +4 -2
- package/workspace/premium-phone-card-test.js +1 -0
- package/workspace/premium-phone-room-test.js +16 -11
- package/workspace/premium-report-read-test.js +1 -1
- package/workspace/premium-vw-backlog-test.js +2 -0
- package/workspace/premium-vw-cal-test.js +9 -4
- package/workspace/premium-vw-doc-test.js +1 -1
- package/workspace/premium-vw-item-test.js +1 -0
- package/workspace/premium-vw-jira-test.js +4 -1
- package/workspace/premium-vw-notes-test.js +2 -1
- package/workspace/premium-vw-rec-test.js +3 -2
- package/workspace/premium-vw-slides-test.js +2 -2
- package/workspace/premium-work-depth-test.js +7 -3
- package/workspace/public/pm/bd-span.js +120 -0
- package/workspace/public/pm/bd-stages.js +33 -0
- package/workspace/public/pm/cozy-board.css +373 -0
- package/workspace/public/pm/cozy-home.css +152 -0
- package/workspace/public/pm/cozy-home.js +170 -0
- package/workspace/public/pm/cozy-initiative.css +138 -0
- package/workspace/public/pm/cozy-insights.css +292 -0
- package/workspace/public/pm/cozy-nav.js +54 -0
- package/workspace/public/pm/cozy-viewer.css +143 -0
- package/workspace/public/pm/cozy.css +172 -0
- package/workspace/public/pm/lifecycle-lens-model.js +45 -27
- package/workspace/public/pm/lifecycle-lens.js +22 -11
- package/workspace/public/pm/premium-board.js +329 -67
- package/workspace/public/pm/premium-brief.js +1 -1
- package/workspace/public/pm/premium-chat.js +17 -10
- 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 +530 -244
- package/workspace/public/pm/premium-shell.js +40 -10
- package/workspace/public/pm/premium-viewer.js +5 -0
- 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-rec.js +5 -2
- package/workspace/public/pm/premium-wide.css +30 -0
- package/workspace/public/pm/premium-work.js +18 -8
- package/workspace/public/pm/premium.js +19 -6
- package/workspace/public/premium-board.html +83 -47
- package/workspace/public/premium-chat.html +7 -32
- package/workspace/public/premium-initiative.html +16 -8
- package/workspace/public/premium-insights.html +83 -43
- package/workspace/public/premium-work.html +6 -71
- package/workspace/public/premium.html +62 -15
- package/workspace/public/vendor/nunito-var.woff2 +0 -0
- package/workspace/server.js +7 -0
- package/workspace/test-lists/premium-agreed-viewer.json +9 -0
- package/workspace/third-party/README.md +1 -0
|
@@ -2,78 +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" />
|
|
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" />
|
|
11
10
|
</head>
|
|
12
11
|
<body>
|
|
13
|
-
<
|
|
14
|
-
<nav class="rail glass" aria-label="Places">
|
|
15
|
-
<i class="ind"></i>
|
|
16
|
-
<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>
|
|
17
|
-
<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>
|
|
18
|
-
<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>
|
|
19
|
-
<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>
|
|
20
|
-
<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>
|
|
21
|
-
</nav>
|
|
22
|
-
|
|
23
|
-
<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>
|
|
24
|
-
<div class="veil" id="veil"></div>
|
|
25
|
-
<div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
|
|
26
|
-
<div class="grab"></div>
|
|
27
|
-
<div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
|
|
28
|
-
<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>
|
|
29
|
-
<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>
|
|
30
|
-
<div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
|
|
31
|
-
<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>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="toast glass" id="toast" role="status"></div>
|
|
34
|
-
<main class="stage" id="stage">
|
|
35
|
-
<header class="top rise" style="--d:0">
|
|
36
|
-
<h1 class="vh">My work</h1><div class="where"><span class="glass name" aria-hidden="true">My work</span></div>
|
|
37
|
-
<div class="tools tools-top"><span class="vh" id="snap">Reading your list</span></div>
|
|
38
|
-
</header>
|
|
39
|
-
<section class="hero">
|
|
40
|
-
<p class="date rise" style="--d:1" id="date"></p>
|
|
41
|
-
<p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p>
|
|
42
|
-
</section>
|
|
43
|
-
<form class="cap glass rise" style="--d:3" id="cap" autocomplete="off">
|
|
44
|
-
<svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
45
|
-
<input id="capIn" placeholder="Add anything to your list" aria-label="Add an item to your list" maxlength="300">
|
|
46
|
-
<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>
|
|
47
|
-
</form>
|
|
48
|
-
<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>
|
|
49
|
-
<section class="card rise" style="--d:5;margin-top:24px" id="queue" aria-labelledby="hQueue">
|
|
50
|
-
<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>
|
|
51
|
-
<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>
|
|
52
|
-
<div class="tgrid" id="qBody" role="tabpanel" aria-labelledby="hQueue"></div>
|
|
53
|
-
<p class="note" id="qNote" style="margin-top:14px"></p>
|
|
54
|
-
</section>
|
|
55
|
-
<div class="cols2" style="margin-top:24px">
|
|
56
|
-
<div>
|
|
57
|
-
<section class="card rise" style="--d:8" id="waitCard" aria-labelledby="hWait">
|
|
58
|
-
<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>
|
|
59
|
-
<div id="waitBody"></div>
|
|
60
|
-
</section>
|
|
61
|
-
</div>
|
|
62
|
-
<div>
|
|
63
|
-
<section class="card rise" style="--d:9" id="frCard" aria-labelledby="hFr">
|
|
64
|
-
<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>
|
|
65
|
-
<div id="frBody"></div>
|
|
66
|
-
</section>
|
|
67
|
-
<section class="card rise" style="--d:9" id="revCard" aria-labelledby="hRev" hidden>
|
|
68
|
-
<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>
|
|
69
|
-
<div class="revc"><p id="revTxt"></p><button id="revBtn" type="button">Look at them</button></div>
|
|
70
|
-
</section>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
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">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>
|
|
75
|
-
</main>
|
|
76
|
-
<noscript>This page needs JavaScript.</noscript>
|
|
77
|
-
<script type="module" src="/pm/premium-work.js"></script>
|
|
12
|
+
<p>This page moved to <a href="/premium.html">Home</a>.</p>
|
|
78
13
|
</body>
|
|
79
14
|
</html>
|
|
@@ -4,8 +4,10 @@
|
|
|
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
|
-
<!--
|
|
7
|
+
<title>PMOS · Home</title>
|
|
8
|
+
<!-- Home (initiative premium-agreed-design, H1 to H3): the desk. It replaces the Briefing, My work and Chat; their addresses open it. The list on the left holds the Briefing's and My work's cards as groups;
|
|
9
|
+
on a desktop the chat and the Viewer are docked beside it, on a phone the chat opens over the list.
|
|
10
|
+
It was the premium Briefing (initiative briefing-premium, slice 1). The default page (premium-default-page); the console is at /console.html.
|
|
9
11
|
The rail's other three places open the matching console tab until their slices land. Slice 2 adds the PM's own presses (record a decision, put a row off, return a run, save a note); the page never writes on its own. -->
|
|
10
12
|
<!-- Add to Home Screen: this is the default page, so it carries what the console carried. The manifest is fetched with credentials because over the
|
|
11
13
|
tailnet every request needs the session cookie. -->
|
|
@@ -18,8 +20,12 @@
|
|
|
18
20
|
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
|
|
19
21
|
<link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
20
22
|
<link rel="stylesheet" href="/pm/premium.css" />
|
|
23
|
+
<link rel="stylesheet" href="/pm/premium-wide.css" />
|
|
24
|
+
<link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
25
|
+
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
26
|
+
<link rel="stylesheet" href="/pm/cozy-home.css" />
|
|
21
27
|
</head>
|
|
22
|
-
<body>
|
|
28
|
+
<body class="cz cz-home">
|
|
23
29
|
<div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
|
|
24
30
|
<nav class="rail glass" aria-label="Places">
|
|
25
31
|
<i class="ind"></i>
|
|
@@ -41,21 +47,24 @@
|
|
|
41
47
|
<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>
|
|
42
48
|
</div>
|
|
43
49
|
<div class="toast glass" id="toast" role="status"></div>
|
|
44
|
-
<main class="stage" id="stage">
|
|
45
|
-
<header class="top
|
|
46
|
-
<h1 class="
|
|
50
|
+
<main class="stage" id="stage" aria-label="Home">
|
|
51
|
+
<header class="top cz-hhead">
|
|
52
|
+
<h1 class="cz-htitle">Home</h1>
|
|
53
|
+
<button type="button" class="cz-ib" id="hChat" aria-label="Open your chat" title="Open your chat"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v11h-9l-5 4v-4H4z"/></svg></button>
|
|
47
54
|
<div class="tools tools-top"><span class="vh" id="snap">Reading the repository</span>
|
|
48
55
|
<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>
|
|
49
56
|
</header>
|
|
50
|
-
<section class="hero">
|
|
51
|
-
<p class="
|
|
52
|
-
<p class="brief
|
|
57
|
+
<section class="hero cz-sum" aria-label="Summary">
|
|
58
|
+
<p class="cz-sumh" id="hSum" aria-live="polite">Reading what needs you.</p>
|
|
59
|
+
<p class="brief" id="brief" aria-live="polite"></p>
|
|
60
|
+
<p class="date" id="date"></p>
|
|
53
61
|
<p class="rfline" id="rfLine" role="status" hidden></p>
|
|
54
62
|
</section>
|
|
63
|
+
<div class="cz-meet" id="hMeet" role="group" aria-label="Your next meeting" hidden></div>
|
|
55
64
|
<div class="cols2">
|
|
56
65
|
<div>
|
|
57
66
|
<section class="card rise" id="movesCard" style="--d:6" aria-labelledby="hMoves">
|
|
58
|
-
<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">
|
|
67
|
+
<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">Needs you</h2><small id="movesCap"></small></div>
|
|
59
68
|
<div class="mprog" id="mprog" role="progressbar" aria-label="Done today" aria-valuemin="0" hidden><b></b></div>
|
|
60
69
|
<div class="rank" id="rank"></div>
|
|
61
70
|
<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,20 +72,58 @@
|
|
|
63
72
|
<p class="note" id="putoff" hidden></p>
|
|
64
73
|
</section>
|
|
65
74
|
</div>
|
|
66
|
-
<div>
|
|
67
|
-
<
|
|
68
|
-
|
|
75
|
+
<div class="cz-hside">
|
|
76
|
+
<div id="prodSlot"></div>
|
|
77
|
+
<section class="cz-grp" id="initGrp" aria-labelledby="hInit">
|
|
78
|
+
<div class="ch"><h2 id="hInit">Initiatives</h2><small id="initCap">Reading</small></div>
|
|
79
|
+
<div id="initBody" class="cz-rows"></div>
|
|
80
|
+
</section>
|
|
81
|
+
<section class="cz-grp" id="sessGrp" aria-labelledby="hSess">
|
|
82
|
+
<div class="ch"><h2 id="hSess">Sessions</h2><small id="sessCap"></small></div>
|
|
83
|
+
<div id="hSessions"></div>
|
|
84
|
+
</section>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
<section class="cz-grp cz-work" id="workGrp" aria-labelledby="hQueue">
|
|
88
|
+
<form class="cap glass rise" style="--d:3" id="cap" autocomplete="off">
|
|
89
|
+
<svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
|
|
90
|
+
<input id="capIn" placeholder="Add anything to your list" aria-label="Add an item to your list" maxlength="300">
|
|
91
|
+
<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>
|
|
92
|
+
</form>
|
|
93
|
+
<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>
|
|
94
|
+
<section class="card rise" style="--d:5" id="queue" aria-labelledby="hQueue">
|
|
95
|
+
<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">Your list</h2><small id="qCap"></small><span id="xFocus" class="xfo" role="group" aria-label="Focus today"></span></div>
|
|
96
|
+
<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>
|
|
97
|
+
<div class="tgrid" id="qBody" role="tabpanel" aria-labelledby="hQueue"></div>
|
|
98
|
+
<p class="note" id="qNote" style="margin-top:14px"></p>
|
|
99
|
+
</section>
|
|
100
|
+
<section class="card rise" style="--d:8" id="waitCard" aria-labelledby="hWait">
|
|
101
|
+
<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>
|
|
102
|
+
<div id="waitBody"></div>
|
|
103
|
+
</section>
|
|
104
|
+
<section class="card rise" style="--d:9" id="frCard" aria-labelledby="hFr">
|
|
105
|
+
<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>
|
|
106
|
+
<div id="frBody"></div>
|
|
107
|
+
</section>
|
|
108
|
+
<section class="card rise" style="--d:9" id="revCard" aria-labelledby="hRev" hidden>
|
|
109
|
+
<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>
|
|
110
|
+
<div class="revc"><p id="revTxt"></p><button id="revBtn" type="button">Look at them</button></div>
|
|
111
|
+
</section>
|
|
112
|
+
</section>
|
|
113
|
+
<section class="card rise" id="todayCard" style="--d:7" aria-labelledby="hToday">
|
|
114
|
+
<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">Today</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>
|
|
69
115
|
<div id="wkStrip"></div>
|
|
70
116
|
<div class="prep" id="prep" hidden></div>
|
|
71
117
|
<div class="opts" id="todayOpts" inert><div><div class="chips" id="srcChips" role="group" aria-label="Sources"></div></div></div>
|
|
72
118
|
<div class="tl" id="tl" role="group" aria-label="Today. Use the up and down arrow keys to move between rows."></div>
|
|
73
119
|
</section>
|
|
74
|
-
</div>
|
|
75
120
|
</div>
|
|
76
121
|
<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>
|
|
77
|
-
<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>
|
|
122
|
+
<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><p class="foot" id="footWork">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>
|
|
78
123
|
</main>
|
|
79
124
|
<noscript>This page needs JavaScript.</noscript>
|
|
80
125
|
<script type="module" src="/pm/premium.js"></script>
|
|
126
|
+
<script type="module" src="/pm/premium-work.js"></script>
|
|
127
|
+
<script type="module" src="/pm/premium-chat.js"></script>
|
|
81
128
|
</body>
|
|
82
129
|
</html>
|
|
Binary file
|
package/workspace/server.js
CHANGED
|
@@ -6410,6 +6410,12 @@ async function handleRequest(req, res) {
|
|
|
6410
6410
|
// for itself still lands in the console. The older shell (public/index.html) stays at '/classic.html'.
|
|
6411
6411
|
// ROLLBACK, one line: change the final 'premium.html' in the readFile name chain below to 'c3.html' and delete the '/c3.html'
|
|
6412
6412
|
// redirect block above.
|
|
6413
|
+
// premium-agreed-design H3: Home replaced the Briefing, My work and Chat. My work and Chat open Home with their own query, so an
|
|
6414
|
+
// ?item=, ?about=, ?open= or ?say= link still lands on what it named.
|
|
6415
|
+
if (p === '/premium-work' || p === '/premium-work.html' || p === '/premium-chat' || p === '/premium-chat.html') {
|
|
6416
|
+
res.writeHead(302, { Location: '/premium.html' + url.search, 'Cache-Control': 'no-store' });
|
|
6417
|
+
return res.end();
|
|
6418
|
+
}
|
|
6413
6419
|
if (p === '/c3.html' || p === '/c3') {
|
|
6414
6420
|
res.writeHead(302, { Location: (url.search ? '/console.html' : '/premium.html') + url.search, 'Cache-Control': 'no-store' });
|
|
6415
6421
|
return res.end();
|
|
@@ -6506,6 +6512,7 @@ async function handleRequest(req, res) {
|
|
|
6506
6512
|
// because the terminal renders bold — with only the regular face the browser synthesises it.
|
|
6507
6513
|
if (p === '/vendor/space-grotesk-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'space-grotesk-var.woff2'));
|
|
6508
6514
|
if (p === '/vendor/geist-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-var.woff2'));
|
|
6515
|
+
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
6516
|
if (p === '/vendor/geist-mono-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-mono-var.woff2'));
|
|
6510
6517
|
if (p === '/vendor/ibm-plex-mono-400.woff2') return serveFile(res, path.join(PUB, 'vendor', 'ibm-plex-mono-400.woff2'));
|
|
6511
6518
|
// 500 joined 400/700 with the four-panel design, whose section labels and pills are medium-weight
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|