create-pmos 0.642.0 → 0.644.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 +27 -57
- 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/state/discoveries.md +1 -1
- package/workspace/briefing-premium-test.js +1 -1
- package/workspace/changelog.json +26 -0
- package/workspace/guide/backlog.md +3 -1
- package/workspace/guide/layout.md +4 -3
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-backlog.js +3 -3
- package/workspace/public/pm/bd-ds.css +64 -0
- package/workspace/public/pm/cozy-ev.css +1 -0
- package/workspace/public/pm/cozy-home.css +137 -126
- package/workspace/public/pm/cozy-nav.js +10 -2
- package/workspace/public/pm/cozy-today-page.css +39 -54
- package/workspace/public/pm/cozy-today-view.js +23 -23
- package/workspace/public/premium-board.html +10 -4
- package/workspace/public/premium.html +5 -1
- package/workspace/public/today.html +8 -2
|
@@ -159,8 +159,16 @@ export function railHtml(here, o = {}) {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
function addCss(doc) {
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
// the menu's sheet always goes BEFORE the design system's: a page that links brand/charts/komorebi in its head (a page moved to the
|
|
163
|
+
// system) would otherwise get cozy-ev.css after them, and its older menu rules would win over the rail's (labels at row size)
|
|
164
|
+
const links = () => [...doc.querySelectorAll('link[rel="stylesheet"]')];
|
|
165
|
+
const has = (h) => links().some((l) => l.href === h);
|
|
166
|
+
for (const h of [CSS, ...FAMILY]) {
|
|
167
|
+
if (has(h)) continue;
|
|
168
|
+
const l = doc.createElement('link'); l.rel = 'stylesheet'; l.href = h;
|
|
169
|
+
const sys = h === CSS && links().find((x) => FAMILY.includes(x.href));
|
|
170
|
+
if (sys) sys.before(l); else doc.head.append(l);
|
|
171
|
+
}
|
|
164
172
|
}
|
|
165
173
|
async function getj(p) { try { const r = await fetch(p, { credentials: 'same-origin' }); return r.ok ? await r.json() : null; } catch { return null; } }
|
|
166
174
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/* pm/cozy-today-page.css — Today, the place (slice 5 of the six-place navigation; board 1 on Exploring 2; pm/cozy-today-view.js draws it).
|
|
2
2
|
* today.html on a desk: the white page panel (#hmDesk) holds Today only. Home's list and chat column are not drawn; the chat is the
|
|
3
3
|
* popup's (pm/cozy-popup.js). One container: the log is one card with a thin border, the agenda one grey box on the right.
|
|
4
|
-
*
|
|
4
|
+
* Drawn from the PMOS design system (Komorebi; today.html puts pm-ds on the body): the Overview is a Summary block, the log a List block
|
|
5
|
+
* (group headings, folds, the Suggestion part, icon Buttons), the agenda a Timeline block of Event parts. This sheet only places the parts
|
|
6
|
+
* and names system tokens (ds-bridge.css points the old --cz-* names at them). Nothing animates. A phone draws its own one
|
|
5
7
|
* column (.tdp, at the end of this file) in place of Home's list. */
|
|
6
8
|
|
|
7
9
|
@media (min-width: 761px) {
|
|
@@ -22,20 +24,14 @@
|
|
|
22
24
|
.td-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
|
|
23
25
|
|
|
24
26
|
/* the Overview: one grey box, written by PMOS (✦), as the popup's Overview */
|
|
25
|
-
|
|
26
|
-
.td-ov h2 {
|
|
27
|
-
.td-ov
|
|
28
|
-
.td-
|
|
29
|
-
.td-
|
|
30
|
-
.td-
|
|
31
|
-
.td-
|
|
32
|
-
.td
|
|
33
|
-
.td-chip { border: 0; border-radius: 999px; padding: 4px 11px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); font: inherit; font-size: var(--fs-meta); color: var(--cz-ink2); cursor: pointer; }
|
|
34
|
-
.td-chip b { font-weight: var(--fw-strong); color: var(--cz-ink); margin-left: 2px; }
|
|
35
|
-
.td-chip.on { background: var(--cz-ink); color: var(--cz-card); box-shadow: none; }
|
|
36
|
-
.td-chip.on b { color: var(--cz-card); }
|
|
37
|
-
.td-chip:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
|
|
38
|
-
.td h2 { margin: 0; font-size: var(--fs-section); font-weight: var(--fw-strong); line-height: var(--lh-section); color: var(--cz-ink); }
|
|
27
|
+
/* the Overview: a Summary block (pm-block), written by PMOS (✦); its proposals the Suggestion part, its type filter the Tabs part */
|
|
28
|
+
.td-ov h2 b { color: var(--blue); }
|
|
29
|
+
.td-ov p { margin: 0; font-size: var(--fs-row); line-height: var(--lh-row); color: var(--ink); max-width: 860px; }
|
|
30
|
+
.td-ovs b, .td-sg b { color: var(--blue); font-weight: var(--fw-strong); }
|
|
31
|
+
.td-chips { align-self: flex-start; flex-wrap: wrap; }
|
|
32
|
+
.td-chip b { font-weight: var(--fw-strong); margin-left: 2px; }
|
|
33
|
+
.td-chip.on { background: var(--card); color: var(--ink); box-shadow: var(--raise); } /* the Tabs part's selected tab; a filter press is aria-pressed */
|
|
34
|
+
.td h2 { margin: 0; font-size: var(--fs-section); font-weight: var(--fw-strong); line-height: var(--lh-section); color: var(--ink); }
|
|
39
35
|
.td-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
40
36
|
.td button { font-family: var(--cz-sans); }
|
|
41
37
|
|
|
@@ -45,13 +41,14 @@
|
|
|
45
41
|
.td-top h1 { margin: 0; font-size: var(--fs-display); font-weight: var(--fw-strong); line-height: 1.2; color: var(--cz-ink); }
|
|
46
42
|
|
|
47
43
|
/* the log's title line: "Today's log · 12" at the left, the jobs at the right */
|
|
48
|
-
.td-h {
|
|
49
|
-
.td-h h2 {
|
|
50
|
-
.td-sum { font-size: var(--fs-meta); color: var(--
|
|
44
|
+
.td-h { align-items: baseline; }
|
|
45
|
+
.td-h h2 { margin-right: auto; }
|
|
46
|
+
.td-sum { font-size: var(--fs-meta); color: var(--muted); }
|
|
51
47
|
|
|
52
48
|
/* the capture line */
|
|
53
|
-
|
|
54
|
-
.td-in
|
|
49
|
+
/* the capture line: the Input part (one line, a border, the focus glow) across the top of the List block */
|
|
50
|
+
.td-in { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); margin: 0 16px 12px; box-sizing: border-box; }
|
|
51
|
+
.td-in:focus-within { box-shadow: var(--glow); }
|
|
55
52
|
.td-in-l { display: inline-flex; color: var(--cz-ink3); cursor: text; }
|
|
56
53
|
.td-in input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--fs-row); color: var(--cz-ink); outline: none; }
|
|
57
54
|
.td-in input::placeholder { color: var(--cz-ink3); }
|
|
@@ -61,12 +58,12 @@
|
|
|
61
58
|
@media (max-width: 980px) { .td-key { display: none; } }
|
|
62
59
|
|
|
63
60
|
/* the log: one card, one row height, one text size */
|
|
64
|
-
.td-tt { border-
|
|
65
|
-
.td-r { display: grid; grid-template-columns: 18px 20px minmax(0,
|
|
66
|
-
.td-tt.nowork .td-r { grid-template-columns: 18px 20px minmax(0, 1fr) 100px 52px 120px
|
|
61
|
+
.td-tt { border-top: 1px solid var(--line); }
|
|
62
|
+
.td-r { display: grid; grid-template-columns: 18px 20px minmax(0, 5fr) 100px minmax(0, 2fr) 52px 120px 104px; align-items: center; column-gap: 8px; min-height: 44px; padding: 0 12px; font-size: var(--fs-row); line-height: var(--lh-row); }
|
|
63
|
+
.td-tt.nowork .td-r { grid-template-columns: 18px 20px minmax(0, 1fr) 100px 52px 120px 104px; }
|
|
67
64
|
.td-tt.nowork .td-w, .td-tt.nowork .td-wh { display: none; }
|
|
68
65
|
.td-r + .td-r { box-shadow: inset 0 1px 0 var(--cz-hair); }
|
|
69
|
-
.td-hd { min-height: 36px;
|
|
66
|
+
.td-hd { min-height: 36px; font-size: var(--fs-meta); font-weight: var(--fw-strong); color: var(--muted); } /* the column names on the card; the group headings below are the grey ones */
|
|
70
67
|
.td-p b { color: var(--cz-late); font-weight: var(--fw-strong); display: block; text-align: center; }
|
|
71
68
|
.td-b i { font-style: normal; display: block; text-align: center; font-size: var(--fs-panel); line-height: 1; color: var(--cz-ink); }
|
|
72
69
|
.td-r.lab .td-b i { color: var(--cz-blueink); font-size: var(--fs-badge); }
|
|
@@ -75,13 +72,11 @@
|
|
|
75
72
|
button.td-t { cursor: pointer; }
|
|
76
73
|
button.td-t:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 4px; }
|
|
77
74
|
.td-r.note .td-t { font-weight: var(--fw-regular); color: var(--cz-ink2); }
|
|
78
|
-
/* the group
|
|
79
|
-
.td-gr {
|
|
80
|
-
.td-gr
|
|
81
|
-
.td-fold {
|
|
82
|
-
.td-fold svg { color: var(--cz-ink3); }
|
|
75
|
+
/* the group headings (Do first is the lit Now group, then Today) and the folds (Can wait, PMOS handled): the List block's own */
|
|
76
|
+
.td-gr em { font-style: normal; font-weight: var(--fw-regular); color: var(--muted); margin-left: 6px; }
|
|
77
|
+
.td-gr.fold { display: block; padding: 0; }
|
|
78
|
+
.td-fold svg { color: var(--muted); }
|
|
83
79
|
.td-fold[aria-expanded="true"] svg { transform: rotate(180deg); }
|
|
84
|
-
.td-fold:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 4px; }
|
|
85
80
|
.td-rs { display: block; font-size: var(--fs-meta); color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
86
81
|
.td-r.why { padding-top: 6px; padding-bottom: 6px; }
|
|
87
82
|
.td-ty { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); color: var(--cz-ink2); white-space: nowrap; }
|
|
@@ -92,25 +87,20 @@ button.td-t:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2
|
|
|
92
87
|
.td-d.late { color: var(--cz-late); font-weight: var(--fw-strong); }
|
|
93
88
|
.td-a { display: flex; gap: 2px; justify-content: flex-end; opacity: 0; }
|
|
94
89
|
.td-r:hover, .td-r:focus-within { background: var(--cz-well); }
|
|
95
|
-
.td-hd:hover { background:
|
|
90
|
+
.td-hd:hover { background: none; }
|
|
96
91
|
.td-r:hover .td-a, .td-r:focus-within .td-a { opacity: 1; }
|
|
97
92
|
@media (hover: none) { .td-a { opacity: 1; } }
|
|
98
|
-
.td-
|
|
99
|
-
.td-ib:hover { background: var(--cz-card); color: var(--cz-ink); }
|
|
100
|
-
.td-ib:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
|
|
101
|
-
.td-ib:disabled { opacity: .45; cursor: default; }
|
|
93
|
+
.td-r:hover .td-a .pm-btn:not(.primary):hover { background: var(--card); } /* a row's hover is the well; its buttons lift to the card */
|
|
102
94
|
.td-r.done .td-t, .td-r.done .td-w, .td-r.done .td-k { color: var(--cz-ink3); font-weight: var(--fw-regular); }
|
|
103
95
|
.td-r.done .td-b i { color: var(--cz-ink3); }
|
|
104
96
|
|
|
105
|
-
/* a suggestion under its row: ✦ and one sentence, ✓ ✕ */
|
|
106
|
-
.td-sg { grid-column: 3 / -1;
|
|
107
|
-
.td-sg
|
|
108
|
-
.td-
|
|
109
|
-
.td-sg.lab { color: var(--cz-ink3); }
|
|
110
|
-
.td-none { margin: 6px 2px; font-size: var(--fs-row); color: var(--cz-ink3); }
|
|
97
|
+
/* a suggestion under its row: the Suggestion part, ✦ and one sentence, primary ✓ and outline ✕ */
|
|
98
|
+
.td-sg { grid-column: 3 / -1; margin: 0 0 10px; }
|
|
99
|
+
.td-sg.lab { background: none; color: var(--muted); padding-left: 0; }
|
|
100
|
+
.td-none { margin: 6px 16px 16px; font-size: var(--fs-row); color: var(--cz-ink3); }
|
|
111
101
|
|
|
112
102
|
/* today's agenda: one grey box, as tall as the log; the day by hours fills it (a line every hour, a label every two) */
|
|
113
|
-
.td-ag {
|
|
103
|
+
.td-ag { box-sizing: border-box; gap: 0; } /* a Timeline block (pm-block flat) */
|
|
114
104
|
.td-agh { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
|
|
115
105
|
.td-agh h2 { font-size: var(--fs-panel); }
|
|
116
106
|
.td-agh small { font-size: var(--fs-meta); color: var(--cz-ink3); margin-right: auto; }
|
|
@@ -120,10 +110,10 @@ button.td-t:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2
|
|
|
120
110
|
.td-tl { position: relative; flex: none; height: calc(var(--rows) * 64px); margin: 8px 0 8px 46px;
|
|
121
111
|
background-image: linear-gradient(to bottom, var(--cz-hair) 0, var(--cz-hair) 1px, transparent 1px); background-size: 100% calc(100% / var(--rows)); background-repeat: repeat-y; box-shadow: inset 0 -1px 0 var(--cz-hair); }
|
|
122
112
|
.td-hr { position: absolute; left: -46px; top: var(--t); transform: translateY(-50%); font-size: var(--fs-badge); color: var(--cz-ink3); }
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.td-ev.
|
|
113
|
+
/* an event: the Event part (pm-ev), placed on the day; focus time PMOS holds is dashed blue, a past one the Event's over state */
|
|
114
|
+
.td-ev { position: absolute; left: calc(4px + (100% - 4px) * var(--c, 0) / var(--n, 1)); width: calc((100% - 4px) / var(--n, 1) - 3px); top: var(--t); height: max(30px, calc(var(--h) - 3px)); box-sizing: border-box; overflow: hidden; text-align: left;
|
|
115
|
+
font: inherit; color: var(--ink); gap: 1px; }
|
|
116
|
+
.td-ev.focus { background: var(--card); box-shadow: none; border: 1.5px dashed var(--blue); }
|
|
127
117
|
.td-dk, .td-dm { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 2px; vertical-align: middle; }
|
|
128
118
|
.td-dk { border-radius: 2px; transform: rotate(45deg); background: var(--cz-c-6b4fa3); }
|
|
129
119
|
.td-dm { border-radius: 50%; background: var(--cz-blue); }
|
|
@@ -141,15 +131,12 @@ button.td-ev:focus-visible { outline: 2px solid var(--cz-blue); outline-offset:
|
|
|
141
131
|
.td-ev.side .td-dm, .td-ev.side .td-dk { display: none; }
|
|
142
132
|
.td-ev.side.short { flex-direction: column; justify-content: center; align-items: stretch; gap: 0; }
|
|
143
133
|
.td-ev.side small { padding-left: 0; }
|
|
144
|
-
.td-ev.own { background: none; box-shadow:
|
|
145
|
-
.td-ev.on { box-shadow: inset 0 0 0
|
|
134
|
+
.td-ev.own { background: none; box-shadow: none; }
|
|
135
|
+
.td-ev.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
|
|
146
136
|
.td-ev.past b { color: var(--cz-ink3); }
|
|
147
137
|
/* meeting-buddy: the play icon on a meeting with a call (join and record in one press), at the top right of the meeting's own box */
|
|
148
138
|
.td-ev.has-play { padding-right: 40px; }
|
|
149
|
-
.td-play { position: absolute; left: calc(4px + (100% - 4px) * (var(--c, 0) + 1) / var(--n, 1) - 35px); top: calc(var(--t) + 1px); width: 28px; height: 28px;
|
|
150
|
-
display: inline-flex; align-items: center; justify-content: center; background: var(--cz-solid); color: var(--cz-onsolid); text-decoration: none; }
|
|
151
|
-
.td-play:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
|
|
152
|
-
@media (hover: hover) { .td-play:hover { background: var(--cz-blueink); } }
|
|
139
|
+
.td-play { position: absolute; left: calc(4px + (100% - 4px) * (var(--c, 0) + 1) / var(--n, 1) - 35px); top: calc(var(--t) + 1px); width: 28px; height: 28px; text-decoration: none; } /* a primary Button */
|
|
153
140
|
.td-now { position: absolute; left: -6px; right: 0; top: var(--t); height: 2px; background: var(--cz-late); }
|
|
154
141
|
.td-now::before { content: ''; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cz-late); }
|
|
155
142
|
|
|
@@ -161,8 +148,6 @@ button.td-ev:focus-visible { outline: 2px solid var(--cz-blue); outline-offset:
|
|
|
161
148
|
.td-did b { font-weight: var(--fw-regular); }
|
|
162
149
|
|
|
163
150
|
/* PMOS handled · N (design check of round 3): the asks the self check cleared today, each with Undo */
|
|
164
|
-
.td-undo { border: 0; background: none; padding: 4px 6px; font: inherit; font-size: var(--fs-meta); color: var(--cz-blueink); cursor: pointer; }
|
|
165
|
-
.td-undo:hover, .td-undo:focus-visible { text-decoration: underline; }
|
|
166
151
|
.td-r.hd .td-rs { text-decoration: none; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; } /* the proof in full: it is why he can trust it */
|
|
167
152
|
.td-r.hd .td-a { opacity: 1; } /* Undo on every handled row, not only on hover */
|
|
168
153
|
/* audit round 2: the same step for N initiatives lists its members under it when opened; a day with no event is one quiet line */
|
|
@@ -26,7 +26,7 @@ const TI = {
|
|
|
26
26
|
Task: 'M5 5h14v14H5z', Report: 'M7 3.5h7l4 4V20.5H7zM14 3.5v4h4M10 12h5M10 16h5', Note: 'M6 12h12',
|
|
27
27
|
};
|
|
28
28
|
const BULLET = { task: ['•', 'Task'], event: ['○', 'Event'], note: ['–', 'Note'], lab: ['✦', 'PMOS suggests'] };
|
|
29
|
-
const ib = (act, label, d, key, extra = '') => `<button type="button" class="td-ib" data-td="${act}" data-key="${esc(key)}" aria-label="${esc(label)}" title="${esc(label)}"${extra}>${svg(d)}</button>`;
|
|
29
|
+
const ib = (act, label, d, key, extra = '', v = '') => `<button type="button" class="td-ib pm-btn${v ? ' ' + v : ''}" data-td="${act}" data-key="${esc(key)}" aria-label="${esc(label)}" title="${esc(label)}"${extra}>${svg(d)}</button>`;
|
|
30
30
|
|
|
31
31
|
/** One row of the log. */
|
|
32
32
|
export function rowHtml(r, o = {}) {
|
|
@@ -38,13 +38,13 @@ export function rowHtml(r, o = {}) {
|
|
|
38
38
|
// a note, an own event and a done row open nothing: their words are the whole of it
|
|
39
39
|
const opens = !r.done && r.src !== 'own' && r.src !== 'gone' && r.src !== 'note';
|
|
40
40
|
const title = opens ? `<button type="button" class="td-t" data-td="open" data-key="${esc(r.key)}"${r.members ? ` aria-expanded="${!!o.sopen}"` : ''}>${esc(r.title)}${r.members ? svg(I.more, 13) : ''}</button>` : `<span class="td-t">${esc(r.title)}</span>`;
|
|
41
|
-
const sug = r.drop ? `<div class="td-sg" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span>PMOS suggests: drop it from your log.</span>`
|
|
42
|
-
+ ib('drop', 'Drop it', I.yes, r.key) + ib('keep', 'Keep it', I.no, r.key) + '</div>' : '';
|
|
43
|
-
const lk = r.looks && !r.done ? `<div class="td-sg" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span>Looks answered: ${esc(r.looks.who ? r.looks.who + ' replied' : 'someone replied')} “${esc(r.looks.text)}”. Close it?</span>`
|
|
44
|
-
+ ib('lk-yes', 'Yes, close it: it is answered', I.yes, r.key) + ib('lk-no', 'No, it still waits on me', I.no, r.key) + '</div>' : '';
|
|
41
|
+
const sug = r.drop ? `<div class="td-sg pm-sug" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span class="say">PMOS suggests: drop it from your log.</span>`
|
|
42
|
+
+ ib('drop', 'Drop it', I.yes, r.key, '', 'primary') + ib('keep', 'Keep it', I.no, r.key, '', 'outline') + '</div>' : '';
|
|
43
|
+
const lk = r.looks && !r.done ? `<div class="td-sg pm-sug" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span class="say">Looks answered: ${esc(r.looks.who ? r.looks.who + ' replied' : 'someone replied')} “${esc(r.looks.text)}”. Close it?</span>`
|
|
44
|
+
+ ib('lk-yes', 'Yes, close it: it is answered', I.yes, r.key, '', 'primary') + ib('lk-no', 'No, it still waits on me', I.no, r.key, '', 'outline') + '</div>' : '';
|
|
45
45
|
// the same step for N initiatives: PMOS drafts them, he approves once (audit round 2)
|
|
46
|
-
const sj = r.members && r.drafts && !r.done ? `<div class="td-sg" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span>PMOS drafts them for you to read.</span>`
|
|
47
|
-
+ ib('same-yes', 'Yes, draft them', I.yes, r.key) + ib('same-no', 'No, not now', I.no, r.key) + '</div>' : '';
|
|
46
|
+
const sj = r.members && r.drafts && !r.done ? `<div class="td-sg pm-sug" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span class="say">PMOS drafts them for you to read.</span>`
|
|
47
|
+
+ ib('same-yes', 'Yes, draft them', I.yes, r.key, '', 'primary') + ib('same-no', 'No, not now', I.no, r.key, '', 'outline') + '</div>' : '';
|
|
48
48
|
const why = r.src === 'lab' && r.why ? `<div class="td-sg lab"><span>${esc(r.why)}</span></div>` : '';
|
|
49
49
|
// what PMOS did on it, from records (round 3 point 13): a small ✦ with the count; its words on hover and for a screen reader
|
|
50
50
|
const did = r.did && r.did.length && !r.done ? `<span class="td-did" title="${esc('PMOS did: ' + r.did.join('; '))}" aria-label="${esc('PMOS did: ' + r.did.join('; '))}"><b aria-hidden="true">✦</b>${r.did.length}</span>` : '';
|
|
@@ -60,23 +60,23 @@ export function rowHtml(r, o = {}) {
|
|
|
60
60
|
* and the type chips (with their counts) that filter the log. O: overviewModel(). o.type: the chip that filters now. */
|
|
61
61
|
export function overviewHtml(O, o = {}) {
|
|
62
62
|
if (!O || (!O.said && !O.chips.length)) return '';
|
|
63
|
-
const sug = O.suggest.map((x) => `<div class="td-ovs" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span>${esc(x.text)}</span>`
|
|
64
|
-
+ ib('ov-yes', x.text, I.yes, x.key) + ib('ov-no', 'Keep them: ' + x.text, I.no, x.key) + '</div>').join('');
|
|
63
|
+
const sug = O.suggest.map((x) => `<div class="td-ovs pm-sug" role="group" aria-label="PMOS suggests"><b aria-hidden="true">✦</b><span class="say">${esc(x.text)}</span>`
|
|
64
|
+
+ ib('ov-yes', x.text, I.yes, x.key, '', 'primary') + ib('ov-no', 'Keep them: ' + x.text, I.no, x.key, '', 'outline') + '</div>').join('');
|
|
65
65
|
const total = O.chips.reduce((n, c) => n + c.n, 0);
|
|
66
|
-
const chip = (t, label, n) => `<button type="button" class="td-chip${(o.type || '') === t ? ' on' : ''}" data-td="type" data-key="${esc(t)}" aria-pressed="${(o.type || '') === t}">${esc(label)} <b>${esc(n)}</b></button>`;
|
|
67
|
-
const chips = O.chips.length > 1 ? `<div class="td-chips" role="group" aria-label="Show one type">${chip('', 'All', total)}${O.chips.map((c) => chip(c.type, PLURAL[c.type] || c.type, c.n)).join('')}</div>` : '';
|
|
68
|
-
return `<section class="td-ov" aria-label="Overview"><h2><b aria-hidden="true">✦</b> Overview</h2>${O.said ? `<p>${esc(O.said)}</p>` : ''}${sug}${chips}</section>`;
|
|
66
|
+
const chip = (t, label, n) => `<button type="button" class="td-chip pm-tab${(o.type || '') === t ? ' on' : ''}" data-td="type" data-key="${esc(t)}" aria-pressed="${(o.type || '') === t}">${esc(label)} <b>${esc(n)}</b></button>`;
|
|
67
|
+
const chips = O.chips.length > 1 ? `<div class="td-chips pm-tabs" role="group" aria-label="Show one type">${chip('', 'All', total)}${O.chips.map((c) => chip(c.type, PLURAL[c.type] || c.type, c.n)).join('')}</div>` : '';
|
|
68
|
+
return `<section class="td-ov pm-block" aria-label="Overview"><h2 class="pm-h-sm pm-row"><b aria-hidden="true">✦</b> Overview</h2>${O.said ? `<p>${esc(O.said)}</p>` : ''}${sug}${chips}</section>`;
|
|
69
69
|
}
|
|
70
70
|
const PLURAL = { Ask: 'Asks', Decision: 'Decisions', Check: 'Checks', Milestone: 'Milestones', Task: 'Tasks', Report: 'Reports', Note: 'Notes' };
|
|
71
71
|
|
|
72
72
|
const HEAD_ROW = '<div class="td-r td-hd" role="row"><span role="columnheader"></span><span role="columnheader"><span class="td-vh">Bullet</span></span><span role="columnheader">What</span><span role="columnheader">Type</span><span role="columnheader" class="td-wh">Work</span><span role="columnheader">Job</span><span role="columnheader">When</span><span role="columnheader"><span class="td-vh">Actions</span></span></div>';
|
|
73
|
-
const groupRow = (label, n) => `<div class="td-gr" role="row"><span role="cell">${esc(label)}${n ? ` <em>${esc(n)}</em>` : ''}</span></div>`;
|
|
73
|
+
const groupRow = (label, n, now) => `<div class="td-gr pm-group${now ? ' now' : ''}" role="row"><span role="cell">${esc(label)}${n ? ` <em>${esc(n)}</em>` : ''}</span></div>`;
|
|
74
74
|
|
|
75
75
|
/** Today's log: the title with its count at the left and the jobs at the right, the capture line, the one card in three groups:
|
|
76
76
|
* Do first (each line with its reason), Today, and Can wait folded to one line. L: logModel().
|
|
77
77
|
* o: { draft: the line being typed, type: the chip that filters, open: Can wait is unfolded } */
|
|
78
78
|
export function logHtml(L, o = {}) {
|
|
79
|
-
const head = `<div class="td-h"><h2>Today’s log${L.open ? ' · ' + esc(L.open) : ''}</h2>${L.line ? `<span class="td-sum">${esc(L.line)}</span>` : ''}</div>`;
|
|
79
|
+
const head = `<div class="td-h head"><h2>Today’s log${L.open ? ' · ' + esc(L.open) : ''}</h2>${L.line ? `<span class="td-sum">${esc(L.line)}</span>` : ''}</div>`;
|
|
80
80
|
const cap = `<form class="td-in" id="tdCapF" autocomplete="off"><label class="td-in-l" for="tdCap">${svg(I.plus, 16)}<span class="td-vh">Log a task, an event or a note</span></label>`
|
|
81
81
|
+ `<input id="tdCap" name="line" type="text" maxlength="240" placeholder="Log a task, an event or a note" value="${esc(o.draft || '')}" aria-describedby="tdCapKey" />`
|
|
82
82
|
+ `<span class="td-key" id="tdCapKey" aria-label="Start with o for an event, a dash for a note, ! for first">•<em>task</em>o<em>event</em>–<em>note</em>!<em>first</em></span></form>`;
|
|
@@ -85,27 +85,27 @@ export function logHtml(L, o = {}) {
|
|
|
85
85
|
const rowHtml1 = (r) => (r.members ? rowHtml(r, { sopen: so.has(r.key) }) + (so.has(r.key) ? r.members.map((m) => rowHtml(m)).join('') : '') : rowHtml(r));
|
|
86
86
|
const first = pick(L.first), today = pick(L.todayRows), wait = pick(L.wait);
|
|
87
87
|
let body = '';
|
|
88
|
-
if (first.length) body += groupRow('Do first') + first.map(rowHtml1).join('');
|
|
88
|
+
if (first.length) body += groupRow('Do first', 0, true) + first.map(rowHtml1).join('');
|
|
89
89
|
if (today.length) body += groupRow('Today') + today.map(rowHtml1).join('');
|
|
90
90
|
if (wait.length) {
|
|
91
91
|
const oldest = Math.max(0, ...wait.map((r) => r.carried || 0));
|
|
92
92
|
const said = (first.length || today.length ? wait.length + ' more' : plural2(wait.length)) + (oldest ? ' · the oldest waits ' + oldest + (oldest === 1 ? ' day' : ' days') : '');
|
|
93
|
-
body += `<div class="td-gr" role="row"><span role="cell"><button type="button" class="td-fold" data-td="fold" aria-expanded="${!!o.open}">Can wait <em>${esc(said)}</em>${svg(I.more, 14)}</button></span></div>`;
|
|
93
|
+
body += `<div class="td-gr fold" role="row"><span role="cell"><button type="button" class="td-fold pm-fold" data-td="fold" aria-expanded="${!!o.open}">Can wait <em>${esc(said)}</em>${svg(I.more, 14)}</button></span></div>`;
|
|
94
94
|
if (o.open) body += wait.map(rowHtml1).join('');
|
|
95
95
|
}
|
|
96
96
|
// PMOS handled · N: what the self check cleared today, folded last, Undo on each (design check of round 3, point 6)
|
|
97
97
|
const hd = o.handled || [];
|
|
98
98
|
if (hd.length) {
|
|
99
|
-
body += `<div class="td-gr" role="row"><span role="cell"><button type="button" class="td-fold" data-td="hfold" aria-expanded="${!!o.hopen}">PMOS handled <em>${esc(hd.length)}</em>${svg(I.more, 14)}</button></span></div>`;
|
|
99
|
+
body += `<div class="td-gr fold" role="row"><span role="cell"><button type="button" class="td-fold pm-fold" data-td="hfold" aria-expanded="${!!o.hopen}">PMOS handled <em>${esc(hd.length)}</em>${svg(I.more, 14)}</button></span></div>`;
|
|
100
100
|
if (o.hopen) body += hd.map((h) => `<div class="td-r done hd" data-key="hd:${esc(h.id)}" role="row"><span class="td-p" role="cell"></span><span class="td-b" role="cell"><i role="img" aria-label="Done">×</i></span>`
|
|
101
101
|
+ `<span role="cell" class="td-wt"><span class="td-t">${esc(h.title)}</span><small class="td-rs">${esc(h.proof)}</small></span><span class="td-ty" role="cell">${svg(TI.Ask, 13, 1.8)}<span>Ask</span></span>`
|
|
102
102
|
+ `<span class="td-w" role="cell"></span><span class="td-k" role="cell"></span><span class="td-d" role="cell"></span><span class="td-a" role="cell">`
|
|
103
|
-
+ `<button type="button" class="td-undo" data-td="h-undo" data-key="${esc(h.id)}" aria-label="${esc('Undo: it still waits on me, ' + h.title)}"
|
|
103
|
+
+ `<button type="button" class="td-undo pm-btn" data-td="h-undo" data-key="${esc(h.id)}" aria-label="${esc('Undo: it still waits on me, ' + h.title)}" title="Undo">${svg(PI.undo, 15, 1.8)}</button></span></div>`).join('');
|
|
104
104
|
}
|
|
105
105
|
// no row in view names its work: the Work column goes, so What gets the room
|
|
106
106
|
const shown = first.concat(today, o.open ? wait : []), noWork = shown.length > 0 && shown.every((r) => !r.work);
|
|
107
107
|
const table = body ? `<div class="td-tt${noWork ? ' nowork' : ''}" role="table" aria-label="Today’s log">${HEAD_ROW}${body}</div>` : '<p class="td-none">Nothing waits on you today.</p>';
|
|
108
|
-
return `<section class="td-log" aria-label="Today’s log">${head}${cap}${table}</section>`;
|
|
108
|
+
return `<section class="td-log pm-block list" aria-label="Today’s log">${head}${cap}${table}</section>`;
|
|
109
109
|
}
|
|
110
110
|
const plural2 = (n) => n + (n === 1 ? ' line' : ' lines');
|
|
111
111
|
|
|
@@ -119,7 +119,7 @@ export function agendaHtml(A) {
|
|
|
119
119
|
const ev = A.items.map((x) => {
|
|
120
120
|
const short = x.h < 0.8; // a short slot says its time and title on one line
|
|
121
121
|
const st = `--t:${pc(x.top)};--h:${pc(x.h)};--c:${x.col || 0};--n:${x.cols || 1}`;
|
|
122
|
-
const cls = ['td-ev', x.kind, short ? 'short' : '', (x.cols || 1) > 1 ? 'side' : '', x.past ? 'past' : '', x.nowOn ? 'on' : ''].filter(Boolean).join(' ');
|
|
122
|
+
const cls = ['td-ev', 'pm-ev', x.kind, short ? 'short' : '', (x.cols || 1) > 1 ? 'side' : '', x.past ? 'past over' : '', x.nowOn ? 'on' : ''].filter(Boolean).join(' ');
|
|
123
123
|
const mark = x.kind === 'report' ? '<i class="td-dk" aria-hidden="true"></i>' : x.kind === 'focus' || x.kind === 'meeting' ? '<i class="td-dm" aria-hidden="true"></i>' : '';
|
|
124
124
|
const label = x.title + ', ' + x.sub;
|
|
125
125
|
const inner = `<b>${mark}${esc(x.title)}</b><small>${esc(x.sub)}</small>`;
|
|
@@ -128,10 +128,10 @@ export function agendaHtml(A) {
|
|
|
128
128
|
return `<button type="button" class="${cls}${x.play ? ' has-play' : ''}" style="${st}" data-td="ev" data-key="${esc(x.key)}" aria-label="${esc(label)}">${inner}</button>`
|
|
129
129
|
// meeting-buddy: one press opens the call and starts the recording. A link, so the browser always opens the call, even when the
|
|
130
130
|
// recording tab is held back; cozy-today-app.js starts the recording on the same press.
|
|
131
|
-
+ (x.play ? `<a class="td-play" style="${st}" href="${esc(x.join)}" target="_blank" rel="noopener noreferrer" data-td="play" data-key="${esc(x.key)}" aria-label="${esc('Join ' + x.title + ' and record it')}" title="Join and record">${svg(I.play, 13)}</a>` : '');
|
|
131
|
+
+ (x.play ? `<a class="td-play pm-btn primary" style="${st}" href="${esc(x.join)}" target="_blank" rel="noopener noreferrer" data-td="play" data-key="${esc(x.key)}" aria-label="${esc('Join ' + x.title + ' and record it')}" title="Join and record">${svg(I.play, 13)}</a>` : '');
|
|
132
132
|
}).join('');
|
|
133
133
|
const nowLine = A.now != null ? `<i class="td-now" style="--t:${pc(A.now)}" aria-hidden="true"></i>` : '';
|
|
134
|
-
return `<aside class="td-ag${A.quiet && !A.items.length ? ' quiet' : ''}" aria-label="Today’s agenda"><div class="td-agh"><h2>Today</h2><small>${esc(A.quiet && !A.items.length ? A.sub.split(' · ')[0] : A.sub)}</small>`
|
|
134
|
+
return `<aside class="td-ag pm-block flat${A.quiet && !A.items.length ? ' quiet' : ''}" aria-label="Today’s agenda"><div class="td-agh"><h2>Today</h2><small>${esc(A.quiet && !A.items.length ? A.sub.split(' · ')[0] : A.sub)}</small>`
|
|
135
135
|
+ `<a class="td-evl" href="/premium-events.html">Events</a></div>`
|
|
136
136
|
+ (A.quiet && !A.items.length ? `<p class="td-quiet">${esc(A.quiet)}</p></aside>` : `<div class="td-tl" style="--rows:${H}">${hours.join('')}${ev}${nowLine}</div></aside>`);
|
|
137
137
|
}
|
|
@@ -191,7 +191,7 @@ export function phoneRowHtml(r) {
|
|
|
191
191
|
export function phonePageHtml(L, A, O, o = {}) {
|
|
192
192
|
const H = o.head ? `<header class="tdp-top"><span class="td-when">${esc(o.head.when)}</span><h1>${esc(o.head.hello)}</h1></header>` : '';
|
|
193
193
|
const filed = o.filed ? `<section class="tdp-filed" aria-label="The meeting you recorded"><div><b>${esc('Recording filed under ' + o.filed.title)}</b>${o.filed.sub ? `<small>${esc(o.filed.sub)}</small>` : ''}</div>`
|
|
194
|
-
+ `<button type="button" class="tdp-ib" data-td="filed-undo" data-key="${esc(o.filed.id)}" aria-label="${esc('Undo: take the recording out of ' + o.filed.title)}" title="Undo">${svg(PI.undo, 18, 1.8)}</button></section>` : '';
|
|
194
|
+
+ `<button type="button" class="tdp-ib pm-btn outline" data-td="filed-undo" data-key="${esc(o.filed.id)}" aria-label="${esc('Undo: take the recording out of ' + o.filed.title)}" title="Undo">${svg(PI.undo, 18, 1.8)}</button></section>` : '';
|
|
195
195
|
const pick = (rows) => (o.type ? (rows || []).filter((r) => r.type === o.type) : rows || []);
|
|
196
196
|
const shown = pick(L.first).concat(pick(L.todayRows));
|
|
197
197
|
const wait = pick(L.wait);
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
about it in a panel on the Board (pm/page-chat.js); a phone goes to Home. -->
|
|
12
12
|
<link rel="preload" href="/vendor/plus-jakarta-sans-var.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
13
|
<link rel="stylesheet" href="/pm/cozy.css" />
|
|
14
|
+
<!-- the PMOS design system (workspace/design-system/): brand, then charts, then the UI system (Komorebi). The page's own sheets come after it,
|
|
15
|
+
so a page variant (the open View chip, the blue New) still wins over a part's base look; pm/bd-ds.css, last, maps the page onto the system. -->
|
|
16
|
+
<link rel="stylesheet" href="/pm/brand.css" />
|
|
17
|
+
<link rel="stylesheet" href="/pm/charts.css" />
|
|
18
|
+
<link rel="stylesheet" href="/pm/komorebi.css" />
|
|
14
19
|
<link rel="stylesheet" href="/pm/cozy-pick.css" />
|
|
15
20
|
<link rel="stylesheet" href="/pm/cozy-board.css" />
|
|
16
21
|
<link rel="stylesheet" href="/pm/load-shapes.css" />
|
|
@@ -18,8 +23,9 @@
|
|
|
18
23
|
<link rel="stylesheet" href="/pm/cozy-panel.css" />
|
|
19
24
|
<link rel="stylesheet" href="/pm/bd-work.css" />
|
|
20
25
|
<link rel="stylesheet" href="/pm/bd-backlog.css" />
|
|
26
|
+
<link rel="stylesheet" href="/pm/bd-ds.css" />
|
|
21
27
|
</head>
|
|
22
|
-
<body class="cz bd-page">
|
|
28
|
+
<body class="cz bd-page pm-ds">
|
|
23
29
|
<!-- The Board has no dialog, dock, toast or hero of the old shell: pm/premium-shell.js binds to a detached copy when #dlg is absent. Its panels
|
|
24
30
|
are the side panel below (initiative premium-agreed-design). -->
|
|
25
31
|
<main class="stage cz-panel bd-main" id="stage">
|
|
@@ -36,10 +42,10 @@
|
|
|
36
42
|
<!-- what needs a look: one pill of dots and numbers, and its (i): the timeline's legend, the sprints and releases, the Jira read -->
|
|
37
43
|
<div class="bd-chipset" id="bdChipset"></div>
|
|
38
44
|
<div class="bd-tools">
|
|
39
|
-
<button type="button" class="bd-ib" id="bdFind" aria-label="Find an initiative or work-item" title="Find an initiative or work-item" aria-haspopup="dialog"><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>
|
|
45
|
+
<button type="button" class="bd-ib pm-btn" id="bdFind" aria-label="Find an initiative or work-item" title="Find an initiative or work-item" aria-haspopup="dialog"><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>
|
|
40
46
|
<!-- the tune button: Group, Sort and the filters (owner, category, sprint), with a dot while one is on -->
|
|
41
|
-
<button type="button" class="bd-ib" id="bdFilter" aria-label="Group, sort and filter" title="Group, sort and filter" aria-haspopup="dialog"><svg class="bd-icf" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><svg class="bd-ict" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9M15 5v4M9 15v4"/></svg><i class="bd-pip bd-tune-pip" hidden></i></button>
|
|
42
|
-
<button type="button" class="bd-ib bd-new" id="newIni" aria-label="New program or initiative" title="New program or initiative" aria-haspopup="menu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
|
|
47
|
+
<button type="button" class="bd-ib pm-btn" id="bdFilter" aria-label="Group, sort and filter" title="Group, sort and filter" aria-haspopup="dialog"><svg class="bd-icf" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><svg class="bd-ict" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9M15 5v4M9 15v4"/></svg><i class="bd-pip bd-tune-pip" hidden></i></button>
|
|
48
|
+
<button type="button" class="bd-ib pm-btn bd-new" id="newIni" aria-label="New program or initiative" title="New program or initiative" aria-haspopup="menu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
|
|
43
49
|
<div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span></div>
|
|
44
50
|
</div>
|
|
45
51
|
</div>
|
|
@@ -25,8 +25,12 @@
|
|
|
25
25
|
<link rel="stylesheet" href="/pm/cozy-panel.css" />
|
|
26
26
|
<link rel="stylesheet" href="/pm/cozy-onboard.css" />
|
|
27
27
|
<link rel="stylesheet" href="/pm/load-shapes.css" />
|
|
28
|
+
<link rel="stylesheet" href="/pm/brand.css" />
|
|
29
|
+
<link rel="stylesheet" href="/pm/charts.css" />
|
|
30
|
+
<link rel="stylesheet" href="/pm/komorebi.css" />
|
|
31
|
+
<link rel="stylesheet" href="/pm/ds-bridge.css" />
|
|
28
32
|
</head>
|
|
29
|
-
<body class="cz cz-home">
|
|
33
|
+
<body class="cz cz-home pm-ds">
|
|
30
34
|
<header class="hm-top" id="hmTop">
|
|
31
35
|
<button type="button" class="hm-ib hm-back" id="hmBack" aria-label="Back to Today" title="Back to Today"><svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M19 12H5M11 6l-6 6 6 6"/></svg></button>
|
|
32
36
|
<div class="hm-top-t"><b id="hmTopTitle">Home</b><span id="hmTopSub"></span></div>
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
<!-- Today (slice 5 of the six-place navigation, initiative today-log-page; board 1 on Exploring 2): the place the app lands on. On a desk it is
|
|
9
9
|
one page, Today's log on the left and today's agenda on the right (pm/cozy-today-view.js, drawn by home-app.js into #tdPage); a row opens its work
|
|
10
10
|
in the one popup with the chat. It is Home's own page with data-today, so every press Home has (the popup, the chat, a meeting, a task)
|
|
11
|
-
works the same here. A phone keeps Home as it is. The markup below is premium.html's.
|
|
11
|
+
works the same here. A phone keeps Home as it is. The markup below is premium.html's.
|
|
12
|
+
The page is drawn from the PMOS design system (Komorebi): pm-ds on the body, the brand, charts and komorebi sheets, and ds-bridge.css so the
|
|
13
|
+
shared parts (the popup, the chat, the rail) follow the system's tokens too. -->
|
|
12
14
|
<!-- 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
|
|
13
15
|
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
|
|
14
16
|
the list is the page, and a row opens its conversation with a back bar (premium-uncovered-features, HmPhone). It replaces the Briefing, My work, Chat and the initiative
|
|
@@ -29,9 +31,13 @@
|
|
|
29
31
|
<link rel="stylesheet" href="/pm/cozy-panel.css" />
|
|
30
32
|
<link rel="stylesheet" href="/pm/cozy-onboard.css" />
|
|
31
33
|
<link rel="stylesheet" href="/pm/load-shapes.css" />
|
|
34
|
+
<link rel="stylesheet" href="/pm/brand.css" />
|
|
35
|
+
<link rel="stylesheet" href="/pm/charts.css" />
|
|
36
|
+
<link rel="stylesheet" href="/pm/komorebi.css" />
|
|
37
|
+
<link rel="stylesheet" href="/pm/ds-bridge.css" />
|
|
32
38
|
<link rel="stylesheet" href="/pm/cozy-today-page.css" />
|
|
33
39
|
</head>
|
|
34
|
-
<body class="cz cz-home" data-today>
|
|
40
|
+
<body class="cz cz-home pm-ds" data-today>
|
|
35
41
|
<header class="hm-top" id="hmTop">
|
|
36
42
|
<button type="button" class="hm-ib hm-back" id="hmBack" aria-label="Back to Today" title="Back to Today"><svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M19 12H5M11 6l-6 6 6 6"/></svg></button>
|
|
37
43
|
<div class="hm-top-t"><b id="hmTopTitle">Home</b><span id="hmTopSub"></span></div>
|