create-pmos 0.163.0 → 0.164.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 +1 -1
- 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/guide/console-calendar.md +17 -0
- package/workspace/lib/headless.js +1 -1
- package/workspace/lib/meeting-focus.js +292 -0
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-meeting-focus.js +291 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/c3-calendar.js +7 -1
- package/workspace/public/pm/c3-demo-focus.js +133 -0
- package/workspace/public/pm/c3-demo.js +3 -0
- package/workspace/public/pm/c3-focus.css +169 -0
- package/workspace/public/pm/c3-focus.js +587 -0
- package/workspace/public/pm/c3-shell.js +1 -0
- package/workspace/public/pm/components.css +1 -0
- package/workspace/public/pm/shell-recording.js +18 -2
- package/workspace/test-lists/c3-meeting-focus.json +6 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/* pm/c3-focus.css — the Meeting focus page (initiative c3-meeting-focus). Scoped under .c3focus; the two side sheets (Topics, Chip) are
|
|
2
|
+
* mounted at the body, so their own pieces are scoped under the section that carries a data-fc="...-sheet" mark. Tokens only. */
|
|
3
|
+
.c3focus { position: fixed; inset: 0; z-index: 50; overflow: auto; background: var(--background); color: var(--foreground); }
|
|
4
|
+
.c3focus .fc-page { display: grid; gap: var(--sp-2); max-width: 1480px; margin: 0 auto; padding: var(--sp-3) var(--sp-4) var(--sp-6, 32px); box-sizing: border-box; min-width: 0; }
|
|
5
|
+
.c3focus .fc-page > * { min-width: 0; }
|
|
6
|
+
.c3focus [hidden] { display: none !important; }
|
|
7
|
+
|
|
8
|
+
/* header: who and when, the clock, REC, then the bar of the talk across the full width */
|
|
9
|
+
.c3focus .fc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px var(--sp-4); align-items: center; padding: var(--sp-2) var(--sp-3); }
|
|
10
|
+
.c3focus .fc-id { display: flex; gap: var(--sp-3); align-items: flex-start; min-width: 0; }
|
|
11
|
+
.c3focus .fc-tt { min-width: 0; display: grid; gap: 4px; }
|
|
12
|
+
.c3focus .fc-tt h1 { margin: 0; font-size: var(--fs-4); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
|
|
13
|
+
.c3focus .fc-tt .chips2 { flex-wrap: wrap; gap: 6px; font-size: var(--fs-1); display: flex; align-items: center; }
|
|
14
|
+
.c3focus .fc-sub { font-size: var(--fs-2); }
|
|
15
|
+
.c3focus .fc-clock { display: flex; gap: var(--sp-4); align-items: flex-end; flex-wrap: wrap; }
|
|
16
|
+
.c3focus .fc-clock > div { display: grid; justify-items: start; }
|
|
17
|
+
.c3focus .fc-clock b { font-size: var(--fs-5); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
|
|
18
|
+
.c3focus .fc-clock .dim { font-size: var(--fs-1); text-transform: uppercase; letter-spacing: .06em; }
|
|
19
|
+
.c3focus .fc-clock .fc-end { align-self: center; justify-items: start; }
|
|
20
|
+
.c3focus .fc-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
21
|
+
.c3focus .fc-recd { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-1); }
|
|
22
|
+
.c3focus .fc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--destructive); animation: fcpulse 1.6s ease-in-out infinite; }
|
|
23
|
+
.c3focus .fc-dot.off { background: var(--muted-foreground); animation: none; opacity: .6; }
|
|
24
|
+
@keyframes fcpulse { 50% { opacity: .3; } }
|
|
25
|
+
@media (prefers-reduced-motion: reduce) { .c3focus .fc-dot, .c3focus .fc-listen .fc-dot { animation: none; } }
|
|
26
|
+
.c3focus .fc-track { grid-column: 1 / -1; position: relative; }
|
|
27
|
+
.c3focus .fc-runs { position: relative; height: 8px; border-radius: 6px; background: var(--muted); overflow: hidden; }
|
|
28
|
+
.c3focus .fc-runs i { position: absolute; top: 0; bottom: 0; left: var(--fc-left, 0%); width: var(--fc-width, 0%); display: flex; align-items: center; justify-content: center; border-right: 2px solid var(--card); box-sizing: border-box; font: 500 10px var(--mono); font-style: normal; color: var(--foreground); background: color-mix(in oklab, var(--acc) 30%, var(--muted)); overflow: hidden; }
|
|
29
|
+
.c3focus .fc-runs i.c { background: var(--acc); color: var(--background); }
|
|
30
|
+
.c3focus .fc-nowm { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; left: var(--fc-left, 0%); background: var(--foreground); border-radius: 0; }
|
|
31
|
+
.c3focus .fc-stale { grid-column: 1 / -1; margin: 0; font-size: var(--fs-1); color: var(--warning); }
|
|
32
|
+
.c3focus .tag.fc-warn, .c3focus .fc-warn { color: var(--warning); }
|
|
33
|
+
.c3focus .tag.fc-bad { color: var(--destructive); }
|
|
34
|
+
.c3focus .tag.fc-acc { color: var(--acc); }
|
|
35
|
+
.c3focus .tag { display: inline-flex; align-items: center; gap: 4px; }
|
|
36
|
+
|
|
37
|
+
/* the now line */
|
|
38
|
+
.c3focus .fc-nowl { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; padding: 0 var(--sp-1); min-height: 28px; }
|
|
39
|
+
.c3focus .fc-nowt { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-3); flex-wrap: wrap; }
|
|
40
|
+
.c3focus .fc-nowt .ki { width: 22px; height: 22px; }
|
|
41
|
+
.c3focus .fc-nowt .mono { font-size: var(--fs-2); font-variant-numeric: tabular-nums; }
|
|
42
|
+
.c3focus .fc-grow { flex: 1 1 auto; }
|
|
43
|
+
|
|
44
|
+
/* what is being said, with its context chips */
|
|
45
|
+
.c3focus .fc-gist { display: grid; gap: 8px; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
|
|
46
|
+
.c3focus .fc-gist p { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-3); line-height: 1.5; }
|
|
47
|
+
.c3focus .fc-gist p .ic { flex: 0 0 auto; margin-top: 4px; color: var(--acc); }
|
|
48
|
+
.c3focus .fc-gl { font-size: var(--fs-1); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
|
|
49
|
+
.c3focus .fc-cxs { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
50
|
+
.c3focus .fc-cx { display: inline-grid; justify-content: stretch; height: auto; min-height: 0; white-space: normal; gap: 1px; text-align: left; padding: 4px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); color: var(--foreground); font: inherit; cursor: pointer; max-width: 100%; }
|
|
51
|
+
@media (hover: hover) { .c3focus .fc-cx:hover { border-color: var(--acc); } }
|
|
52
|
+
.c3focus .fc-cx:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
|
|
53
|
+
.c3focus .fc-cx b { font-size: var(--fs-2); font-weight: 600; overflow-wrap: anywhere; }
|
|
54
|
+
.c3focus .fc-cx span { font-size: var(--fs-1); color: var(--muted-foreground); }
|
|
55
|
+
|
|
56
|
+
/* stage and conversation */
|
|
57
|
+
.c3focus .fc-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--sp-3); align-items: start; }
|
|
58
|
+
.c3focus .fc-s { display: grid; gap: var(--sp-3); min-width: 0; }
|
|
59
|
+
.c3focus .fc-stagewrap, .c3focus .fc-capwrap { min-width: 0; }
|
|
60
|
+
.c3focus .fc-stagewrap:empty, .c3focus .fc-capwrap:empty { display: none; }
|
|
61
|
+
.c3focus .fc-stage .sh2 { gap: 8px; }
|
|
62
|
+
.c3focus .fc-stage .sh2 h2 { text-transform: none; letter-spacing: 0; font-size: var(--fs-3); font-weight: 600; color: var(--foreground); }
|
|
63
|
+
.c3focus .fc-frame { margin-top: var(--sp-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--muted); aspect-ratio: 16 / 9; width: 100%; }
|
|
64
|
+
.c3focus .fc-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--card); }
|
|
65
|
+
.c3focus .fc-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: var(--sp-2) 0 0; }
|
|
66
|
+
.c3focus .fc-src { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-1); margin: 0; }
|
|
67
|
+
.c3focus .fc-card { display: flex; gap: var(--sp-3); align-items: center; margin-top: var(--sp-2); padding: var(--sp-3); border: 1px solid var(--border); border-radius: 8px; background: var(--card); flex-wrap: wrap; }
|
|
68
|
+
.c3focus .fc-card .nb { display: grid; gap: 2px; flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
|
|
69
|
+
.c3focus .fc-note { margin: var(--sp-2) 0 0; font-size: var(--fs-1); line-height: 1.5; }
|
|
70
|
+
.c3focus .fc-capg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
|
|
71
|
+
.c3focus .fc-col { min-width: 0; }
|
|
72
|
+
.c3focus .fc-lbl { display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); padding: var(--sp-2) 0 4px; }
|
|
73
|
+
.c3focus .fc-w { position: sticky; top: var(--sp-3); min-width: 0; }
|
|
74
|
+
|
|
75
|
+
/* the conversation: a faint ticker of the room, PMOS notes below it, an ask line at the foot */
|
|
76
|
+
.c3focus .fc-cv { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; max-height: min(640px, calc(100vh - 140px)); min-height: 280px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); overflow: hidden; }
|
|
77
|
+
.c3focus .fc-cv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: var(--fs-2); }
|
|
78
|
+
.c3focus .fc-cv-h .dim { font-size: var(--fs-1); }
|
|
79
|
+
.c3focus .fc-tk { display: grid; gap: 2px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
|
|
80
|
+
.c3focus .fc-tk:empty { display: none; }
|
|
81
|
+
.c3focus .fc-tk p { margin: 0; font-size: var(--fs-1); color: var(--muted-foreground); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
82
|
+
.c3focus .fc-tk p:last-child { opacity: 1; }
|
|
83
|
+
.c3focus .fc-tk .mono { margin-right: 4px; }
|
|
84
|
+
.c3focus .fc-s2 { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; overflow: auto; align-content: start; min-height: 0; }
|
|
85
|
+
.c3focus .fc-a { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; }
|
|
86
|
+
.c3focus .fc-a:not(.shut) { padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--acc) 7%, transparent); }
|
|
87
|
+
.c3focus .fc-who { display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); color: var(--muted-foreground); }
|
|
88
|
+
.c3focus .fc-who b { color: var(--acc); font-weight: 600; }
|
|
89
|
+
.c3focus .fc-avdot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); flex: 0 0 auto; }
|
|
90
|
+
.c3focus .fc-avdot .ic { width: 10px; height: 10px; }
|
|
91
|
+
.c3focus .fc-cat::before { content: "· "; }
|
|
92
|
+
.c3focus .fc-t { margin-left: auto; }
|
|
93
|
+
.c3focus .fc-a.new .fc-t { margin-right: 22px; }
|
|
94
|
+
.c3focus .fc-re { font-size: var(--fs-1); color: var(--muted-foreground); font-style: italic; }
|
|
95
|
+
.c3focus .fc-b { margin: 0; font-size: var(--fs-2); line-height: 1.5; }
|
|
96
|
+
.c3focus .fc-acts2 { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
97
|
+
.c3focus .fc-acts2 button { font-size: var(--fs-2); }
|
|
98
|
+
.c3focus .fc-meta { display: grid; gap: 2px; font-size: var(--fs-1); line-height: 1.45; }
|
|
99
|
+
.c3focus .fc-meta b { color: var(--foreground); font-weight: 600; margin-right: 4px; }
|
|
100
|
+
.c3focus .fc-x { position: absolute; top: 6px; right: 6px; width: 22px; min-height: 22px; height: 22px; padding: 0; display: grid; place-items: center; border: 0; background: none; color: var(--muted-foreground); opacity: .6; cursor: pointer; border-radius: 6px; }
|
|
101
|
+
@media (hover: hover) { .c3focus .fc-a.new:hover .fc-x { opacity: 1; } }
|
|
102
|
+
.c3focus .fc-x:focus-visible { opacity: 1; }
|
|
103
|
+
.c3focus .fc-sb { display: block; width: 100%; height: auto; min-height: 0; min-width: 0; padding: 4px 6px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; text-align: left; white-space: normal; cursor: pointer; }
|
|
104
|
+
.c3focus .fc-sb > span { display: block; overflow: visible; }
|
|
105
|
+
@media (hover: hover) { .c3focus .fc-sb:hover { background: var(--muted); } }
|
|
106
|
+
.c3focus .fc-sb:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
|
|
107
|
+
.c3focus .fc-1 { display: flex; align-items: center; gap: 6px; font-size: var(--fs-2); color: var(--muted-foreground); min-width: 0; }
|
|
108
|
+
.c3focus .fc-1t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
109
|
+
.c3focus .fc-r { display: grid; gap: 2px; justify-items: end; }
|
|
110
|
+
.c3focus .fc-r p { margin: 0; padding: 6px 10px; border-radius: 8px; background: none; border: 1px dashed var(--border); font-size: var(--fs-1); line-height: 1.45; max-width: 92%; overflow-wrap: anywhere; }
|
|
111
|
+
.c3focus .fc-wait, .c3focus .fc-err { font-size: var(--fs-1); }
|
|
112
|
+
.c3focus .fc-err { color: var(--destructive); }
|
|
113
|
+
.c3focus .fc-heldli { list-style: none; }
|
|
114
|
+
.c3focus .fc-held { font-size: var(--fs-1); color: var(--muted-foreground); }
|
|
115
|
+
.c3focus .fc-held summary { cursor: pointer; display: flex; align-items: center; gap: 6px; list-style: none; padding: 4px 6px; border-radius: 6px; }
|
|
116
|
+
.c3focus .fc-held summary::-webkit-details-marker { display: none; }
|
|
117
|
+
.c3focus .fc-held summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
|
|
118
|
+
.c3focus .fc-held ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
|
|
119
|
+
.c3focus .fc-pl { width: 100%; height: auto; min-height: 0; border: 0; background: none; text-align: left; font: inherit; display: flex; justify-content: flex-start; gap: 6px; align-items: baseline; flex-wrap: wrap; white-space: normal; cursor: pointer; padding: 4px 6px; border-radius: 6px; font-size: var(--fs-1); color: var(--foreground); }
|
|
120
|
+
.c3focus .fc-pl > span { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; overflow: visible; }
|
|
121
|
+
@media (hover: hover) { .c3focus .fc-pl:hover { background: var(--muted); } }
|
|
122
|
+
.c3focus .fc-hw { font-size: var(--fs-1); }
|
|
123
|
+
.c3focus .fc-listen { list-style: none; display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); padding: 4px 6px; }
|
|
124
|
+
.c3focus .fc-listen .fc-dot { background: var(--acc); }
|
|
125
|
+
.c3focus .fc-listen .fc-dot.off { background: var(--muted-foreground); }
|
|
126
|
+
.c3focus .fc-in { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--border); }
|
|
127
|
+
.c3focus .fc-in input { flex: 1; min-width: 0; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--background); color: var(--foreground); font: inherit; font-size: var(--fs-2); }
|
|
128
|
+
.c3focus .fc-in input:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
|
|
129
|
+
|
|
130
|
+
/* pieces inside the side sheets (they mount at the body, outside .c3focus) */
|
|
131
|
+
[data-fc="topics-sheet"] .fc-ai.done .tt { color: var(--muted-foreground); }
|
|
132
|
+
[data-fc="topics-sheet"] .fc-ai.cur { background: color-mix(in oklab, var(--acc) 7%, transparent); border-radius: 8px; padding-inline: 8px; }
|
|
133
|
+
[data-fc="topics-sheet"] .fc-ai .chips { flex-wrap: wrap; }
|
|
134
|
+
[data-fc="topics-sheet"] .fc-ai .tag { white-space: normal; display: inline-flex; align-items: center; gap: 4px; }
|
|
135
|
+
[data-fc="topics-sheet"] .tag.fc-acc { color: var(--acc); }
|
|
136
|
+
[data-fc="topics-sheet"] .tag.fc-warn { color: var(--warning); }
|
|
137
|
+
[data-fc="topics-sheet"] .fc-cd { display: flex; gap: 8px; align-items: baseline; margin-top: var(--sp-2); }
|
|
138
|
+
[data-fc="topics-sheet"] .fc-cd b { font-size: var(--fs-5); font-weight: 500; font-variant-numeric: tabular-nums; }
|
|
139
|
+
[data-fc="topics-sheet"] .fc-cd span { font-size: var(--fs-1); }
|
|
140
|
+
[data-fc="topics-sheet"] .fc-src { display: flex; align-items: center; gap: 4px; margin: var(--sp-2) 0 0; font-size: var(--fs-1); line-height: 1.5; }
|
|
141
|
+
[data-fc="topics-sheet"] .fc-pick { display: grid; gap: 6px; margin-top: var(--sp-2); padding: var(--sp-2); border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
|
|
142
|
+
[data-fc="topics-sheet"] .fc-pick .chip2 { justify-content: flex-start; text-align: left; font-size: var(--fs-2); }
|
|
143
|
+
[data-fc="topics-sheet"] .iacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-2); }
|
|
144
|
+
.fc-addf { display: flex; gap: 8px; align-items: center; margin: var(--sp-2) 0; }
|
|
145
|
+
.fc-addf input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); color: var(--foreground); font: inherit; font-size: var(--fs-2); }
|
|
146
|
+
[data-fc="captured-sheet"] .fc-capg { display: grid; gap: var(--sp-3); }
|
|
147
|
+
[data-fc="captured-sheet"] .fc-lbl { display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); padding: var(--sp-2) 0 4px; }
|
|
148
|
+
[data-fc="captured-sheet"] .fc-note { margin: var(--sp-2) 0 0; font-size: var(--fs-1); }
|
|
149
|
+
[data-fc="captured-sheet"] .tag.fc-bad { color: var(--destructive); }
|
|
150
|
+
[data-fc="chip-sheet"] .fc-p { margin: 0; font-size: var(--fs-3); line-height: 1.6; }
|
|
151
|
+
[data-fc="chip-sheet"] .fc-note { margin: var(--sp-2) 0 0; font-size: var(--fs-1); }
|
|
152
|
+
|
|
153
|
+
/* narrower screens: one column, the conversation after the band */
|
|
154
|
+
@media (max-width: 1100px) { .c3focus .fc-main { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); } }
|
|
155
|
+
@media (max-width: 900px) {
|
|
156
|
+
.c3focus .fc-page { padding: var(--sp-2) 16px var(--sp-5, 24px); }
|
|
157
|
+
.c3focus .fc-main { grid-template-columns: minmax(0, 1fr); }
|
|
158
|
+
.c3focus .fc-w { position: static; }
|
|
159
|
+
.c3focus .fc-cv { max-height: 520px; }
|
|
160
|
+
.c3focus .fc-capg { grid-template-columns: minmax(0, 1fr); }
|
|
161
|
+
}
|
|
162
|
+
@media (max-width: 760px) {
|
|
163
|
+
.c3focus .fc-top { grid-template-columns: minmax(0, 1fr); }
|
|
164
|
+
.c3focus .fc-id { flex-direction: column; gap: var(--sp-2); }
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.c3focus .fc-cx > span { display: grid; gap: 1px; overflow: visible; text-align: left; }
|
|
168
|
+
.c3focus .fc-cx > span > b { font-weight: 600; }
|
|
169
|
+
.c3.fc-open { container-type: normal; }
|