create-pmos 0.638.0 → 0.639.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 +9 -3
- 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-insights-test.js +5 -5
- package/workspace/changelog.json +8 -2
- package/workspace/guide/intelligence-okr-goals.md +5 -1
- package/workspace/intel-report-ui-test.js +1 -1
- package/workspace/intelligence-gaps-ui-test.js +3 -3
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/cozy-goals.css +79 -148
- package/workspace/public/pm/cozy-insights.css +412 -408
- package/workspace/public/pm/premium-goals.js +48 -34
- package/workspace/public/pm/premium-insights.js +50 -50
- package/workspace/public/pm/premium-report-intel.css +30 -30
- package/workspace/public/premium-goals.html +15 -10
- package/workspace/public/premium-intelligence.html +17 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.639.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
36
|
{
|
|
37
|
-
"v": "0.
|
|
38
|
-
"at": "2026-11-20T01:
|
|
37
|
+
"v": "0.639.0",
|
|
38
|
+
"at": "2026-11-20T01:31:43.688Z",
|
|
39
39
|
"f": 4,
|
|
40
40
|
"prs": [
|
|
41
41
|
{
|
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
"t": "Events and Routine are drawn from the PMOS design system",
|
|
44
44
|
"s": "Events and Routine are drawn from the PMOS design system",
|
|
45
45
|
"k": "new"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"n": 1424,
|
|
49
|
+
"t": "Goals and Intelligence on the PMOS design system",
|
|
50
|
+
"s": "Goals and Intelligence on the PMOS design system",
|
|
51
|
+
"k": "new"
|
|
46
52
|
}
|
|
47
53
|
]
|
|
48
54
|
},
|
package/payload/KIT-VERSION
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-20T01:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-20T01:31:39Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-20T01:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-20T01:31:39Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-20T01:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-20T01:31:39Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -145,11 +145,11 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
145
145
|
|
|
146
146
|
/* G1 the Goals table (re-pointed back, batch 18 item 11 gap: the agreed goals dashboard is Iq8Overview again, GcJ2FirstMonday and GcJ4Full;
|
|
147
147
|
* the budget over its cap also keeps the one red, pulsing dot of a broken limit) */
|
|
148
|
-
{ const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .ins-grp')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.nm b').textContent, type: a.querySelector('.ins-type').textContent, sub: a.querySelector('.ins-sub').textContent, val: a.querySelector('.val b').textContent, of: a.querySelector('.val .note').textContent, today: !!a.querySelector('.ins-bar1 .today'), spark: !!a.querySelector('svg.ins-spark .pj'), pace: a.querySelector('.pace').textContent, moves: [...a.querySelectorAll('.ins-ini')].map((m) => m.querySelector('.n').textContent + ':' + m.querySelectorAll('.ins-trk i').length + ':' + [...m.querySelectorAll('.ins-trk i')].findIndex((i) => i.classList.contains('c')) + ':' + m.querySelectorAll('.ins-trk i.m').length + ':' + ((m.querySelector('.
|
|
148
|
+
{ const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .ins-grp')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.nm b').textContent, type: a.querySelector('.ins-type').textContent, sub: a.querySelector('.ins-sub').textContent, val: a.querySelector('.val b').textContent, of: a.querySelector('.val .note').textContent, today: !!a.querySelector('.ins-bar1 .today'), spark: !!a.querySelector('svg.ins-spark .pj'), pace: a.querySelector('.pace').textContent, moves: [...a.querySelectorAll('.ins-ini')].map((m) => m.querySelector('.n').textContent + ':' + m.querySelectorAll('.ins-trk i').length + ':' + [...m.querySelectorAll('.ins-trk i')].findIndex((i) => i.classList.contains('c')) + ':' + m.querySelectorAll('.ins-trk i.m').length + ':' + ((m.querySelector('.pm-badge') || {}).textContent || '')) }; });
|
|
149
149
|
ok('G1 key results are grouped by objective, then Health budgets; Delivery trends moved to ⋯ (Iq8Overview)', g.groups.length === 3 && /^Objective 1 · Growth Q4 2026/.test(g.groups[0]) && /3 of 3 behind/.test(g.groups[0]) && /^Objective 2 · Reliability/.test(g.groups[1]) && /^Health budgets always on, judged every week/.test(g.groups[2]), JSON.stringify(g.groups));
|
|
150
150
|
ok('G1 a goal row has its type, direction and start, value of target with the today mark, the so-far line with its pace, and the pace said by its date', g.title === 'Partner activation' && g.type === 'Percentage' && g.sub === 'up is better · from 20% on Jul 1' && g.val === '28%' && g.of === 'of 50%' && g.today && g.spark && /^≈34% by Dec 31/.test(g.pace) && /16 pts short at this pace/.test(g.pace), JSON.stringify(g));
|
|
151
151
|
ok('G1 what moves it is on the lifecycle track with its milestones, and its pill is a delivery fact (ships soon, days over)', g.moves.join() === 'SSO for partners:8:5:2:Ships in 5 days,Self-serve onboarding v2:8:4:2:8 days over', JSON.stringify(g.moves));
|
|
152
|
-
const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.
|
|
152
|
+
const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.pm-badge') || {}).textContent || ''])));
|
|
153
153
|
ok('G1 an initiative with no owner says No owner; one that has shipped is not "days over" and never "in -N days"', pills['First call kit'] === 'No owner' && pills['Audit log export'] === 'On track' && !Object.values(pills).some((x) => /-\d/.test(x)), JSON.stringify(pills));
|
|
154
154
|
const leg = await p.evaluate(() => document.querySelector('#goalTbl .ins-th .ins-mvh').textContent.replace(/\s+/g, ' '));
|
|
155
155
|
ok('G1 the Moved by header carries the legend: skipped and milestone', /Skipped/.test(leg) && /Milestone/.test(leg), leg);
|
|
@@ -479,7 +479,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
479
479
|
const m = await q.evaluate(() => { const vis = (b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0; /* re-pointed (insights fix, AgInsPhone): a control keeps the design's size and its 44 px hit area is its ::after */
|
|
480
480
|
const hit = (b) => Math.max(b.getBoundingClientRect().height, parseFloat(getComputedStyle(b, '::after').height) || 0);
|
|
481
481
|
const small = [...document.querySelectorAll('#insBar button, #askWhy, #goalCards .ins-card, #czFab')].filter((b) => vis(b) && hit(b) < 44).map((b) => (b.id || b.className) + ':' + Math.round(hit(b)));
|
|
482
|
-
return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .
|
|
482
|
+
return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .pm-badge') || {}).textContent || '')).join() }; });
|
|
483
483
|
ok(`I11 at 390 px (${theme}) the goals are cards with their status, the table is hidden, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'none' && m.cards === 'krm-act:Behind,krm-up:Ahead,krm-ttfc:Behind,krm-nps:Behind', JSON.stringify(m)); // re-pointed (U3): krm-churn has no reading, so it is in the waiting list, not a card
|
|
484
484
|
await R.ctx.close();
|
|
485
485
|
}
|
|
@@ -597,13 +597,13 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
597
597
|
await R.ctx.close();
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
-
/* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Plus Jakarta Sans, the cozy panel, the pill tabs, the table, the strip and the six tiles */
|
|
600
|
+
/* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Plus Jakarta Sans, the cozy panel, the pill tabs, the table, the strip (the design system's well, #F4F2EE) and the six tiles */
|
|
601
601
|
for (const [w, h] of [[1440, 900], [390, 844]]) {
|
|
602
602
|
const R = await open({ w, h }); await sleep(300);
|
|
603
603
|
const f = await R.page.evaluate(() => { const cs = (s) => getComputedStyle(document.querySelector(s)); const main = cs('main.ins'), tab = cs('#viewChip'), strip = cs('#insHero'), row = document.querySelector('#goalTbl .ins-row').getBoundingClientRect();
|
|
604
604
|
return { font: cs('body').fontFamily, radius: main.borderTopLeftRadius, bg: main.backgroundColor, tabBg: tab.backgroundColor, tabR: tab.borderTopLeftRadius, tabW: tab.fontWeight, stripR: strip.borderTopLeftRadius, stripBg: strip.backgroundColor, rowH: Math.round(row.height), over: document.documentElement.scrollWidth > innerWidth, fab: document.querySelector('#czFab').getBoundingClientRect().width, rail: document.querySelector('#czMenu.ev-rail') ? Math.round(document.querySelector('#czMenu.ev-rail').getBoundingClientRect().width) : 0, fabX: Math.round(document.querySelector('#czFab').getBoundingClientRect().left) }; });
|
|
605
605
|
const phone = w < 720;
|
|
606
|
-
ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the well strip, the 44 px ⋯ at the top right on a phone (phone design, Ph2_menu), the 72 px rail of places on a desktop (slice 1)`, /^"?Plus Jakarta Sans/.test(f.font) && f.radius === (phone ? '0px' : '28px') && (phone || f.bg === 'rgb(255, 255, 255)') && f.tabBg === 'rgb(244, 243, 240)' && f.tabR === '999px' && +f.tabW >= 600 && (phone || (f.stripR === '16px' && f.stripBg === 'rgb(244,
|
|
606
|
+
ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the well strip, the 44 px ⋯ at the top right on a phone (phone design, Ph2_menu), the 72 px rail of places on a desktop (slice 1)`, /^"?Plus Jakarta Sans/.test(f.font) && f.radius === (phone ? '0px' : '28px') && (phone || f.bg === 'rgb(255, 255, 255)') && f.tabBg === 'rgb(244, 243, 240)' && f.tabR === '999px' && +f.tabW >= 600 && (phone || (f.stripR === '16px' && f.stripBg === 'rgb(244, 242, 238)' && f.rowH >= 60)) && !f.over && (phone ? f.fab === 44 && f.fabX > 300 : f.rail === 72), JSON.stringify(f));
|
|
607
607
|
if (!phone) {
|
|
608
608
|
await toTrends(R.page);
|
|
609
609
|
const t = await R.page.evaluate(() => { const tiles = [...document.querySelectorAll('#bmBody [data-tile]')].map((x) => x.getBoundingClientRect()); return { n: tiles.length, tileH: tiles.length ? Math.round(tiles[0].height) : 0, over: document.documentElement.scrollWidth > innerWidth }; });
|
package/workspace/changelog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"v": "0.
|
|
4
|
-
"at": "2026-11-20T01:
|
|
3
|
+
"v": "0.639.0",
|
|
4
|
+
"at": "2026-11-20T01:31:43.688Z",
|
|
5
5
|
"f": 4,
|
|
6
6
|
"prs": [
|
|
7
7
|
{
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
"t": "Events and Routine are drawn from the PMOS design system",
|
|
10
10
|
"s": "Events and Routine are drawn from the PMOS design system",
|
|
11
11
|
"k": "new"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"n": 1424,
|
|
15
|
+
"t": "Goals and Intelligence on the PMOS design system",
|
|
16
|
+
"s": "Goals and Intelligence on the PMOS design system",
|
|
17
|
+
"k": "new"
|
|
12
18
|
}
|
|
13
19
|
]
|
|
14
20
|
},
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Intelligence: goals, forecasts and the Horizon scan"
|
|
4
4
|
description: "The goal list from the OKR file, what waits on a source, what the numbers mean, forecasts, and the Horizon scan of the portfolio."
|
|
5
|
-
timestamp: 2026-11-
|
|
5
|
+
timestamp: 2026-11-20
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Intelligence
|
|
9
9
|
|
|
10
10
|
Intelligence (`/premium-intelligence.html`) uses the OKR file of a product as its goal list. It reads `pmos/planning/okrs/okrs-*.md` in the product repository, or `planning/okrs/` in PMOS itself. When a file says `Supersedes x.md`, Intelligence does not read `x.md`.
|
|
11
11
|
|
|
12
|
+
## How Goals and Intelligence look
|
|
13
|
+
|
|
14
|
+
Goals and Intelligence use the PMOS design system (see [Layout](layout.md#the-design-system)). On Goals, the North Star is one block. When PMOS drafted it, the draft is a suggestion with ✓ and ✕. The goals are one table: objective, key result, actual and target, days left, levers and initiative. On a phone, the table becomes a list under each objective. On both pages, red means late or at risk, blue means PMOS speaks or waits on you, and a goal on track has no colour.
|
|
15
|
+
|
|
12
16
|
## The goal list
|
|
13
17
|
|
|
14
18
|
- **The period.** The first period in the period chip is the period of the OKR file, for example H2 2026. It is the default, so a filter for one quarter does not hide a goal of the half.
|
|
@@ -102,7 +102,7 @@ const FINDING = { id: 'rf-0123456789', name: 'Partner numbers to Lee', why: 'You
|
|
|
102
102
|
/* ── H: the header icon and its menu ── */
|
|
103
103
|
const A = await open();
|
|
104
104
|
const p = A.page;
|
|
105
|
-
const hd = await p.evaluate(() => { const ids = [...document.querySelectorAll('#insBar .ins-tools button.
|
|
105
|
+
const hd = await p.evaluate(() => { const ids = [...document.querySelectorAll('#insBar .ins-tools button.pm-btn')].map((b) => b.id); const b = document.querySelector('#repB'); return { ids, label: b && b.getAttribute('aria-label'), text: b && b.textContent.trim(), svg: !!(b && b.querySelector('svg[aria-hidden="true"]')) }; });
|
|
106
106
|
ok('H the report icon sits between Filter and +, icon-only with a label', hd.ids.indexOf('repB') === hd.ids.indexOf('filtB') + 1 && hd.ids.indexOf('newB') === hd.ids.indexOf('repB') + 1 && hd.label === 'Make a report from this' && !hd.text && hd.svg, JSON.stringify(hd));
|
|
107
107
|
await p.click('#repB');
|
|
108
108
|
const mn = await p.evaluate(() => [...document.querySelectorAll('#repMenu [role="menuitem"]')].map((x) => x.querySelector('span').firstChild.textContent));
|
|
@@ -91,15 +91,15 @@ const WEEKLY = { view: 'view', weeks: 3, day: 'Mon', opens: 4 };
|
|
|
91
91
|
const p = A.page;
|
|
92
92
|
// the ✦ line about the goals comes first (batch 16 item 6, GsM1–M5); the finding with its drafted move is the next page
|
|
93
93
|
await until(() => p.evaluate(() => !!document.querySelector('#insPg [data-ins="1"]')), 5000); await p.click('#insPg [data-ins="1"]');
|
|
94
|
-
const s0 = await until(() => p.evaluate(() => { const m = document.querySelector('#insMv'); const b = document.querySelector('#insAct [data-mv="apply"]'); return m && !m.hidden && b ? { mv: m.textContent, label: b.getAttribute('aria-label'), text: b.textContent.trim(), solid: b.classList.contains('
|
|
95
|
-
ok('S the drafted move is said under the finding, with a
|
|
94
|
+
const s0 = await until(() => p.evaluate(() => { const m = document.querySelector('#insMv'); const b = document.querySelector('#insAct [data-mv="apply"]'); return m && !m.hidden && b ? { mv: m.textContent, label: b.getAttribute('aria-label'), text: b.textContent.trim(), solid: b.classList.contains('primary'), two: document.querySelector('#insHero').classList.contains('mv') } : null; }), 5000);
|
|
95
|
+
ok('S the drafted move is said under the finding, with a primary ✓ that is icon-only', !!s0 && s0.mv === MOVE.text && s0.label === MOVE.label && !s0.text && s0.solid && s0.two, JSON.stringify(s0));
|
|
96
96
|
await shot(p, 'gap1-strip-move', '#insHero');
|
|
97
97
|
await p.click('#insAct [data-mv="apply"]');
|
|
98
98
|
await until(() => A.posts.some((x) => x.path === '/api/insight-moves/apply'), 3000);
|
|
99
99
|
const ap = A.posts.find((x) => x.path === '/api/insight-moves/apply');
|
|
100
100
|
ok('S ✓ posts the move\'s sig only, with the product', !!ap && ap.body.sig === MOVE.sig && ap.body.ws === MODEL.board.ws && Object.keys(ap.body).sort().join() === 'board,sig,ws', JSON.stringify(ap));
|
|
101
101
|
ok('S the toast says what changed, with Undo', await until(() => p.evaluate((said) => { const t = document.querySelector('#toast'); return t && t.textContent.includes(said) && /Undo/.test(t.textContent); }, MOVE.said), 3000));
|
|
102
|
-
const s1 = await until(() => p.evaluate(() => { const u = document.querySelector('#insAct [data-mv="undo"]'); return u ? { pill: (document.querySelector('#insAct .
|
|
102
|
+
const s1 = await until(() => p.evaluate(() => { const u = document.querySelector('#insAct [data-mv="undo"]'); return u ? { pill: (document.querySelector('#insAct .pm-badge') || {}).textContent, dn: document.querySelector('#insMv').classList.contains('dn'), apply: !!document.querySelector('#insAct [data-mv="apply"]') } : null; }), 4000);
|
|
103
103
|
ok('S read again, the move is Done with Undo and no ✓', !!s1 && s1.pill === 'Done' && s1.dn && !s1.apply, JSON.stringify(s1));
|
|
104
104
|
await shot(p, 'gap1-strip-done', '#insHero');
|
|
105
105
|
await p.click('#insAct [data-mv="undo"]');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.639.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.639.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -1,172 +1,103 @@
|
|
|
1
|
-
/* cozy-goals.css — Goals (initiative goals-place, slice 9
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/* cozy-goals.css — Goals' own layout (initiative goals-place, slice 9; boards 8, 13, 31, 32, 33), on the PMOS design system.
|
|
2
|
+
* The look is the system's parts (pm/komorebi.css, scope .pm-ds: pm-block, pm-table, pm-sug, pm-menu, pm-btn, pm-chip, pm-badge); this file only
|
|
3
|
+
* places them and names no colour, size or radius of its own: every colour, space, radius and shadow is a system token (design-system/ui/README.md) and every type size a role token, the same 26/18/15/13 scale. The shared shell
|
|
4
|
+
* (cozy.css: the panel, the rail) is not restyled here. The popup pages (pm/goals-open.js) use the popup's .pw classes (cozy-pop-work.css);
|
|
5
|
+
* their few extra rules are at the end. */
|
|
4
6
|
.gl-page .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
5
|
-
.gl { display: flex; flex-direction: column; gap:
|
|
6
|
-
.gl-bar {
|
|
7
|
-
.gl-ttl {
|
|
7
|
+
.gl { display: flex; flex-direction: column; gap: var(--space-16); color: var(--ink); }
|
|
8
|
+
.gl-bar { min-height: 44px; flex-wrap: nowrap; }
|
|
9
|
+
.gl-ttl { margin-right: var(--space-4); }
|
|
8
10
|
.gl-sp { flex: 1; }
|
|
9
|
-
.gl-per {
|
|
11
|
+
.gl-per { gap: 6px; white-space: nowrap; }
|
|
10
12
|
.gl-per[hidden] { display: none; }
|
|
11
|
-
.gl-per
|
|
12
|
-
.gl-
|
|
13
|
+
.gl-per .pm-ic { width: 14px; height: 14px; }
|
|
14
|
+
.gl-pers { color: var(--muted); }
|
|
15
|
+
#glMore .pm-ic { stroke-width: 3; }
|
|
13
16
|
.gl-mw { position: relative; display: inline-flex; }
|
|
14
|
-
.gl-fdot { position: absolute; top:
|
|
15
|
-
.gl-menu { position: absolute; top: 100%; right: 0; z-index: 30; margin-top:
|
|
17
|
+
.gl-fdot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--blue); }
|
|
18
|
+
.gl-menu { position: absolute; top: 100%; right: 0; z-index: 30; margin-top: var(--space-4); }
|
|
16
19
|
.gl-menu[hidden] { display: none; }
|
|
17
|
-
.gl-menu button { all: unset; box-sizing: border-box; padding: 8px 12px; border-radius: 9px; font-size: var(--fs-body); color: var(--cz-ink); cursor: pointer; }
|
|
18
|
-
.gl-menu button:hover, .gl-menu button:focus-visible { background: var(--cz-well); }
|
|
19
20
|
.gl-menu button[aria-checked="true"] { font-weight: var(--fw-strong); }
|
|
20
|
-
.gl-menu button[aria-checked="true"]::after { content: "
|
|
21
|
-
.gl-p { display: flex; flex-direction: column; gap:
|
|
22
|
-
.gl-p + .gl-p { margin-top:
|
|
23
|
-
.gl-
|
|
21
|
+
.gl-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--blue); }
|
|
22
|
+
.gl-p { display: flex; flex-direction: column; gap: var(--space-12); }
|
|
23
|
+
.gl-p + .gl-p { margin-top: var(--space-16); }
|
|
24
|
+
.gl-m0 { margin: 0; }
|
|
25
|
+
.gl-al { color: var(--alert); }
|
|
24
26
|
|
|
25
|
-
/* the
|
|
26
|
-
.gl-
|
|
27
|
-
.gl-
|
|
28
|
-
.gl-
|
|
29
|
-
.gl-
|
|
30
|
-
.gl-
|
|
31
|
-
.gl-
|
|
32
|
-
.gl-
|
|
33
|
-
.gl-
|
|
34
|
-
.gl-
|
|
35
|
-
.gl-
|
|
36
|
-
.gl-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.gl-
|
|
40
|
-
.gl-
|
|
41
|
-
.gl-
|
|
42
|
-
|
|
43
|
-
.gl-
|
|
44
|
-
.gl-
|
|
45
|
-
.gl-
|
|
46
|
-
|
|
47
|
-
.gl-
|
|
48
|
-
.gl-
|
|
49
|
-
.gl-
|
|
50
|
-
.gl-
|
|
51
|
-
|
|
52
|
-
.gl-
|
|
53
|
-
.gl-
|
|
54
|
-
.gl-
|
|
55
|
-
.gl-ob > .gl-r9 { grid-row-start: 9; }
|
|
56
|
-
.gl-ob > .gl-r10 { grid-row-start: 10; }
|
|
57
|
-
.gl-ob > .gl-r11 { grid-row-start: 11; }
|
|
58
|
-
.gl-ob > .gl-r12 { grid-row-start: 12; }
|
|
59
|
-
.gl-ob > .gl-r13 { grid-row-start: 13; }
|
|
60
|
-
.gl-ob > .gl-r14 { grid-row-start: 14; }
|
|
61
|
-
.gl-ob > .gl-r15 { grid-row-start: 15; }
|
|
62
|
-
.gl-ob > .gl-r16 { grid-row-start: 16; }
|
|
63
|
-
.gl-ob > .gl-r17 { grid-row-start: 17; }
|
|
64
|
-
.gl-ob > .gl-r18 { grid-row-start: 18; }
|
|
65
|
-
.gl-ob > .gl-r19 { grid-row-start: 19; }
|
|
66
|
-
.gl-ob > .gl-r20 { grid-row-start: 20; }
|
|
67
|
-
.gl-ob > .gl-s1 { grid-row-end: span 1; }
|
|
68
|
-
.gl-ob > .gl-s2 { grid-row-end: span 2; }
|
|
69
|
-
.gl-ob > .gl-s3 { grid-row-end: span 3; }
|
|
70
|
-
.gl-ob > .gl-s4 { grid-row-end: span 4; }
|
|
71
|
-
.gl-ob > .gl-s5 { grid-row-end: span 5; }
|
|
72
|
-
.gl-ob > .gl-s6 { grid-row-end: span 6; }
|
|
73
|
-
.gl-ob > .gl-s7 { grid-row-end: span 7; }
|
|
74
|
-
.gl-ob > .gl-s8 { grid-row-end: span 8; }
|
|
75
|
-
.gl-ob > .gl-s9 { grid-row-end: span 9; }
|
|
76
|
-
.gl-ob > .gl-s10 { grid-row-end: span 10; }
|
|
77
|
-
.gl-ob > .gl-s11 { grid-row-end: span 11; }
|
|
78
|
-
.gl-ob > .gl-s12 { grid-row-end: span 12; }
|
|
79
|
-
.gl-ob > .gl-s13 { grid-row-end: span 13; }
|
|
80
|
-
.gl-ob > .gl-s14 { grid-row-end: span 14; }
|
|
81
|
-
.gl-ob > .gl-s15 { grid-row-end: span 15; }
|
|
82
|
-
.gl-ob > .gl-s16 { grid-row-end: span 16; }
|
|
83
|
-
.gl-ob > .gl-s17 { grid-row-end: span 17; }
|
|
84
|
-
.gl-ob > .gl-s18 { grid-row-end: span 18; }
|
|
85
|
-
.gl-ob > .gl-s19 { grid-row-end: span 19; }
|
|
86
|
-
.gl-ob > .gl-s20 { grid-row-end: span 20; }
|
|
87
|
-
.gl-ob > div { padding: 4px 12px; min-width: 0; font-size: var(--fs-row); line-height: var(--lh-row); }
|
|
88
|
-
.gl-ob > .gl-o { grid-column: 1; display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
|
|
89
|
-
.gl-ob > .gl-kc { grid-column: 2; padding: 0 12px; display: flex; align-items: stretch; border-left: 1px solid var(--cz-hair); }
|
|
90
|
-
.gl-ob > .gl-lv { grid-column: 3; border-left: 1px solid var(--cz-hair); }
|
|
91
|
-
.gl-ob > .gl-in { grid-column: 4; border-left: 1px solid var(--cz-hair); }
|
|
92
|
-
.gl-ob.gl-row1 > .gl-wide { grid-column: 2 / span 2; border-left: 1px solid var(--cz-hair); display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-top: 10px; padding-bottom: 10px; }
|
|
93
|
-
.gl-wide b { font-weight: var(--fw-row); }
|
|
94
|
-
.gl-wide span { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
95
|
-
.gl-o b { font-weight: var(--fw-strong); }
|
|
96
|
-
.gl-o span { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
97
|
-
.gl-o span.rk { color: var(--cz-risk); }
|
|
98
|
-
.gl-o span.late { color: var(--cz-late); }
|
|
99
|
-
.gl-kr { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 112px 78px; align-items: center; gap: 8px; border-top: 1px solid var(--cz-hair); padding: 1px 6px; margin: 0 -6px; border-radius: 10px; cursor: pointer; }
|
|
100
|
-
.gl-kr.f { border-top-color: transparent; }
|
|
101
|
-
.gl-kr:hover { background: var(--cz-well); }
|
|
102
|
-
.gl-kr:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
|
|
103
|
-
.gl-kr .n { min-width: 0; font-size: var(--fs-row); display: flex; align-items: center; gap: 10px; }
|
|
104
|
-
.gl-kr .n > span { min-width: 0; display: block; }
|
|
105
|
-
.gl-kr .n i { font-style: normal; color: var(--cz-ink3); margin-right: 6px; font-size: var(--fs-meta); }
|
|
106
|
-
.gl-kr .n small { display: block; font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
107
|
-
.gl-kr .a { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
|
|
108
|
-
.gl-kr .a b { font-weight: var(--fw-row); color: var(--cz-ink); font-size: var(--fs-row); }
|
|
109
|
-
.gl-kr .a.risk b { color: var(--cz-risk); }
|
|
110
|
-
.gl-kr .a.late b { color: var(--cz-late); }
|
|
111
|
-
.gl-kr .l { font-size: var(--fs-meta); color: var(--cz-ink2); white-space: nowrap; }
|
|
112
|
-
.gl-ph { color: var(--cz-ink3); opacity: .5; }
|
|
113
|
-
.gl-d { width: 10px; height: 10px; border-radius: 99px; background: var(--cz-dot-q); display: block; flex: none; }
|
|
114
|
-
.gl-d.ok { background: var(--cz-dot-ok); }
|
|
115
|
-
.gl-d.rk { background: var(--cz-dot-risk); }
|
|
116
|
-
.gl-d.rd { background: var(--cz-dot-red); }
|
|
117
|
-
.gl-lv { font-size: var(--fs-meta); color: var(--cz-ink3); display: flex; flex-direction: column; gap: 6px; justify-content: center; }
|
|
118
|
-
.gl-lv b { font-weight: var(--fw-row); color: var(--cz-ink); font-size: var(--fs-row); display: block; }
|
|
119
|
-
.gl-lv span.risk { color: var(--cz-risk); }
|
|
120
|
-
.gl-lv span.late { color: var(--cz-late); }
|
|
121
|
-
.gl-in { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
|
|
122
|
-
.gl-ini { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; margin: 0 -6px; border-radius: 10px; cursor: pointer; }
|
|
123
|
-
.gl-ini:hover { background: var(--cz-well); }
|
|
124
|
-
.gl-ini:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
|
|
125
|
-
.gl-ini b { font-weight: var(--fw-row); }
|
|
126
|
-
.gl-ini span { font-size: var(--fs-meta); color: var(--cz-ink3); display: flex; align-items: center; gap: 6px; line-height: var(--lh-meta); }
|
|
127
|
-
.gl-ini span.late { color: var(--cz-late); }
|
|
128
|
-
.gl-dm { width: 9px; height: 9px; transform: rotate(45deg); border: 1.8px solid var(--cz-ink3); border-radius: 2px; display: inline-block; flex: none; }
|
|
129
|
-
.gl-dm.rd { border-color: var(--cz-dot-red); }
|
|
130
|
-
.gl-n { margin: 4px 4px 0; font-size: var(--fs-meta); color: var(--cz-ink3); }
|
|
27
|
+
/* the hierarchy: one pm-table; an objective's name, levers and initiatives span its key results' rows */
|
|
28
|
+
.gl-tb { overflow-x: auto; }
|
|
29
|
+
.gl-tb .pm-table { font-size: var(--fs-row); }
|
|
30
|
+
.gl-tb .pm-table thead th { font-size: var(--fs-meta); white-space: nowrap; background: var(--well); }
|
|
31
|
+
.gl-tb .pm-table tbody + tbody tr.gl-first > * { border-top: 1px solid var(--line); }
|
|
32
|
+
.gl-tb .pm-table td, .gl-tb .pm-table tbody th { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
|
|
33
|
+
.gl-tb .pm-table tr:hover td { background: none; }
|
|
34
|
+
.gl-tb .pm-table th.gl-obj { width: 120px; text-align: left; font-weight: var(--fw-regular); color: var(--ink); padding-top: 12px; }
|
|
35
|
+
.gl-obj > *, .gl-lv > div > *, .gl-wide > * { display: block; }
|
|
36
|
+
.gl-obj .pm-badge { display: inline-flex; margin-top: var(--space-4); }
|
|
37
|
+
.gl-lv > div + div { margin-top: var(--space-8); }
|
|
38
|
+
.gl-lv b, .gl-wide b, .gl-obj b { font-weight: var(--fw-strong); }
|
|
39
|
+
.gl-act { width: 128px; white-space: nowrap; }
|
|
40
|
+
.gl-left { width: 84px; white-space: nowrap; }
|
|
41
|
+
.gl-lv { width: 18%; }
|
|
42
|
+
.gl-in { width: 24%; }
|
|
43
|
+
.gl-inis { display: flex; flex-direction: column; gap: var(--space-4); }
|
|
44
|
+
/* a key result and an initiative are buttons inside their cell: the row hover of the system, the system's focus ring */
|
|
45
|
+
.gl-hit { all: unset; box-sizing: border-box; width: 100%; display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) var(--space-8); margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-8)); border-radius: var(--radius-md); cursor: pointer; transition: background var(--duration-quick) var(--ease-out); }
|
|
46
|
+
.gl-hit:hover { background: var(--well); }
|
|
47
|
+
.gl-hit:focus-visible { box-shadow: var(--glow); }
|
|
48
|
+
.gl-hit b { font-weight: var(--fw-strong); }
|
|
49
|
+
.gl-hit > .pm-meta { display: flex; align-items: center; gap: 6px; }
|
|
50
|
+
.gl-kr .gl-hit > span:first-child { font-weight: var(--fw-strong); }
|
|
51
|
+
.gl-tok { margin-right: 6px; font-weight: var(--fw-regular); }
|
|
52
|
+
.gl-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
53
|
+
/* an outcome's check date: a small diamond, alert once it is overdue */
|
|
54
|
+
.gl-dm { width: 8px; height: 8px; transform: rotate(45deg); border: 2px solid var(--muted); border-radius: 2px; display: inline-block; flex: none; }
|
|
55
|
+
.gl-dm.rd { border-color: var(--alert); }
|
|
56
|
+
.gl-n { margin: 0 var(--space-4); }
|
|
131
57
|
.gl-n[hidden] { display: none; }
|
|
132
58
|
.gl-n a { color: inherit; }
|
|
133
|
-
.gl-none { padding:
|
|
134
|
-
.gl-sk { display: flex; flex-direction: column; gap:
|
|
135
|
-
.gl-sk i { display: block; height:
|
|
136
|
-
.gl-sk i:first-child { height:
|
|
59
|
+
.gl-none { padding: var(--space-24) var(--space-16); margin: 0; }
|
|
60
|
+
.gl-sk { display: flex; flex-direction: column; gap: var(--space-12); }
|
|
61
|
+
.gl-sk i { display: block; height: 44px; }
|
|
62
|
+
.gl-sk i:first-child { height: 96px; }
|
|
137
63
|
|
|
138
64
|
/* the popup pages (boards 31, 32, 33) */
|
|
139
|
-
.gl-pg .gl-top p { margin: 4px 0 0; color: var(--
|
|
140
|
-
.gl-pg .gl-top.gl-set { border-color: var(--
|
|
65
|
+
.gl-pg .gl-top p { margin: 4px 0 0; color: var(--muted); }
|
|
66
|
+
.gl-pg .gl-top.gl-set { border-color: var(--line); }
|
|
141
67
|
.gl-fs { display: flex; flex-direction: column; }
|
|
142
|
-
.gl-f { border-top: 1px solid var(--
|
|
68
|
+
.gl-f { border-top: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-row); }
|
|
143
69
|
.gl-f:first-child { border-top: 0; }
|
|
144
|
-
.gl-f small, .gl-f span { font-size: var(--fs-meta); color: var(--
|
|
70
|
+
.gl-f small, .gl-f span { font-size: var(--fs-meta); color: var(--muted); }
|
|
145
71
|
.gl-f b { font-weight: var(--fw-strong); }
|
|
146
72
|
.gl-src .gl-srcv { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-left: 12px; }
|
|
147
73
|
.gl-src small { font-size: var(--fs-meta); }
|
|
148
|
-
.gl-src small.grey { color: var(--
|
|
149
|
-
.gl-src small.warn { color: var(--
|
|
150
|
-
.gl-src svg { color: var(--
|
|
151
|
-
.gl-sg { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--
|
|
74
|
+
.gl-src small.grey { color: var(--muted); }
|
|
75
|
+
.gl-src small.warn { color: var(--alert); }
|
|
76
|
+
.gl-src svg { color: var(--muted); }
|
|
77
|
+
.gl-sg { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
|
|
152
78
|
.gl-sg > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
153
79
|
.gl-sg b { font-weight: var(--fw-strong); }
|
|
154
|
-
.gl-sg span { font-size: var(--fs-meta); color: var(--
|
|
80
|
+
.gl-sg span { font-size: var(--fs-meta); color: var(--muted); }
|
|
81
|
+
|
|
155
82
|
|
|
156
83
|
@media (max-width: 900px) {
|
|
157
|
-
.gl-
|
|
158
|
-
.gl-hd > span:nth-child(3), .gl-ob > .gl-lv { display: none; }
|
|
159
|
-
.gl-ob > .gl-in { grid-column: 3; }
|
|
160
|
-
.gl-hd > span.gl-kh, .gl-kr { grid-template-columns: minmax(0, 1fr) 84px; }
|
|
161
|
-
.gl-hd > span.gl-kh > span:nth-child(3), .gl-kr .l { display: none; }
|
|
84
|
+
.gl-tb .gl-lv, .gl-tb .gl-left { display: none; }
|
|
162
85
|
}
|
|
86
|
+
/* phones: the Table becomes a List (design-system/ui/components/Table): every cell on its own line, the objective as the group heading */
|
|
163
87
|
@media (max-width: 760px) {
|
|
164
88
|
.gl-bar { flex-wrap: wrap; }
|
|
165
|
-
.gl-ttl { display: none; }
|
|
166
|
-
.gl-
|
|
167
|
-
.gl-
|
|
168
|
-
.gl-
|
|
169
|
-
.gl-
|
|
170
|
-
.gl-
|
|
171
|
-
.gl-
|
|
89
|
+
.gl-ttl, .gl-pers { display: none; }
|
|
90
|
+
.gl-tb .pm-table, .gl-tb .pm-table tbody { display: block; }
|
|
91
|
+
.gl-tb .pm-table thead { display: none; }
|
|
92
|
+
.gl-tb .pm-table tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-12); padding: var(--space-8) var(--space-16); }
|
|
93
|
+
.gl-tb .pm-table tbody tr + tr { border-top: 1px solid var(--line); }
|
|
94
|
+
.gl-tb .pm-table tbody + tbody { border-top: 1px solid var(--line); }
|
|
95
|
+
.gl-tb .pm-table tbody + tbody tr.gl-first > * { border-top: 0; }
|
|
96
|
+
.gl-tb .pm-table td, .gl-tb .pm-table tbody th { display: block; border: 0; padding: var(--space-4) 0; }
|
|
97
|
+
.gl-tb .pm-table th.gl-obj { flex: 1 1 100%; width: auto; margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-16)) var(--space-4); padding: var(--space-8) var(--space-16); background: var(--well); }
|
|
98
|
+
.gl-tb .pm-table th.gl-obj > * { display: inline; margin-right: 6px; }
|
|
99
|
+
.gl-tb .gl-kr, .gl-tb .gl-in, .gl-tb .gl-wide { flex: 1 1 100%; width: auto; }
|
|
100
|
+
.gl-tb .gl-act, .gl-tb .gl-left { display: inline-block; width: auto; padding: 0; }
|
|
101
|
+
.gl-tb .gl-left { display: inline-block; }
|
|
102
|
+
.gl-tb .gl-in:empty { display: none; }
|
|
172
103
|
}
|