create-pmos 0.398.0 → 0.400.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 +30 -25
- 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-adddoc-test.js +19 -15
- package/workspace/briefing-premium-board-test.js +82 -50
- package/workspace/briefing-premium-calendar-2-test.js +36 -36
- package/workspace/briefing-premium-calendar-3-test.js +39 -39
- package/workspace/briefing-premium-calendar-test.js +23 -24
- package/workspace/briefing-premium-doc-edit-test.js +8 -10
- package/workspace/briefing-premium-initiative-test.js +38 -16
- package/workspace/briefing-premium-insights-test.js +114 -37
- package/workspace/briefing-premium-metrics-test.js +6 -4
- package/workspace/briefing-premium-products-test.js +10 -7
- package/workspace/briefing-premium-sources-test.js +25 -22
- package/workspace/briefing-premium-test.js +48 -43
- package/workspace/briefing-premium-work-test.js +16 -11
- package/workspace/c3-capture-test.js +0 -17
- package/workspace/changelog.json +29 -0
- package/workspace/ev-everywhere-test.js +210 -0
- package/workspace/fixtures/premium-viewer-fixtures.js +11 -6
- package/workspace/guide/briefing-premium.md +2 -2
- package/workspace/guide/home.md +58 -19
- package/workspace/guide/index.md +1 -1
- package/workspace/guide/layout.md +2 -2
- package/workspace/guide/notes.md +2 -2
- package/workspace/guide/phone-companion.md +1 -1
- package/workspace/lib/board-grill.js +63 -0
- package/workspace/lib/board-premium.js +36 -5
- package/workspace/lib/initiative-layout.js +77 -0
- package/workspace/lib/insights-premium.js +3 -2
- package/workspace/lib/insights-records.js +21 -7
- package/workspace/lib/meeting-points.js +52 -0
- package/workspace/lib/news-for-you.js +88 -0
- package/workspace/lib/notes-series.js +29 -6
- package/workspace/lib/report-confirm.js +48 -0
- package/workspace/lib/route-modules.js +9 -9
- package/workspace/lib/routes-board-docs.js +46 -0
- package/workspace/lib/routes-board-grill.js +90 -0
- package/workspace/lib/routes-home-review.js +108 -0
- package/workspace/lib/routes-initiative-layout.js +57 -0
- package/workspace/lib/routes-insights-premium.js +4 -1
- package/workspace/lib/routes-insights-records.js +8 -4
- package/workspace/lib/routes-meeting-points.js +37 -0
- package/workspace/lib/routes-news.js +57 -0
- package/workspace/lib/routes-notes.js +2 -1
- package/workspace/lib/routes-phone-day.js +18 -9
- package/workspace/lib/routes-report-confirm.js +31 -0
- package/workspace/lib/routes-search.js +38 -0
- package/workspace/lib/routes-slash.js +95 -0
- package/workspace/lib/search-index.js +176 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -2
- package/workspace/premium-board-actions-test.js +86 -50
- package/workspace/premium-briefing-depth-test.js +55 -54
- package/workspace/premium-chat-chart-tab-test.js +4 -2
- package/workspace/premium-chat-goal-view-test.js +1 -1
- package/workspace/premium-chat-report-tab-test.js +16 -2
- package/workspace/premium-chat-term-test.js +0 -10
- package/workspace/premium-core-doc-issue-test.js +15 -13
- package/workspace/premium-menu-rows-test.js +1 -1
- package/workspace/premium-phone-card-test.js +7 -5
- package/workspace/premium-report-read-test.js +55 -18
- package/workspace/premium-vw-backlog-test.js +2 -2
- package/workspace/premium-vw-cal-test.js +50 -35
- package/workspace/premium-vw-doc-test.js +10 -11
- package/workspace/premium-vw-item-test.js +1 -1
- package/workspace/premium-vw-jira-test.js +2 -2
- package/workspace/premium-vw-meet-test.js +37 -40
- package/workspace/premium-vw-notes-test.js +21 -19
- package/workspace/premium-vw-rec-test.js +11 -12
- package/workspace/premium-welcome-test.js +3 -3
- package/workspace/premium-work-depth-test.js +5 -6
- package/workspace/public/capture.html +23 -0
- package/workspace/public/pm/bd-acts.js +303 -225
- package/workspace/public/pm/bd-asks.js +261 -0
- package/workspace/public/pm/bd-pop.js +59 -0
- package/workspace/public/pm/bd-span.js +49 -13
- package/workspace/public/pm/bd-views.js +169 -0
- package/workspace/public/pm/c3-base.js +47 -0
- package/workspace/public/pm/c3-capture.js +1 -1
- package/workspace/public/pm/c3-ini-ui.js +1 -1
- package/workspace/public/pm/c3-sheet.js +1 -1
- package/workspace/public/pm/c3-toast.js +1 -1
- package/workspace/public/pm/console3.css +3 -0
- package/workspace/public/pm/cozy-board.css +301 -0
- package/workspace/public/pm/cozy-ev.css +228 -0
- package/workspace/public/pm/cozy-evmodel.js +106 -0
- package/workspace/public/pm/cozy-evui.js +47 -0
- package/workspace/public/pm/cozy-home.css +20 -5
- package/workspace/public/pm/cozy-insights.css +148 -10
- package/workspace/public/pm/cozy-nav.js +103 -39
- package/workspace/public/pm/cozy-news.js +140 -0
- package/workspace/public/pm/cozy-search.js +203 -0
- package/workspace/public/pm/cozy-settings.js +198 -0
- package/workspace/public/pm/cozy-sources.js +89 -0
- package/workspace/public/pm/cozy-today.css +220 -0
- package/workspace/public/pm/cozy-viewer.js +5 -2
- package/workspace/public/pm/cozy-vw-mtg.css +350 -0
- package/workspace/public/pm/cozy-vw-rp.css +152 -0
- package/workspace/public/pm/cozy.css +9 -0
- package/workspace/public/pm/goal-chat.js +5 -1
- package/workspace/public/pm/home-adddoc.js +5 -5
- package/workspace/public/pm/home-app.js +365 -70
- package/workspace/public/pm/home-around.js +24 -126
- package/workspace/public/pm/home-chat.js +77 -18
- package/workspace/public/pm/home-data.js +9 -7
- package/workspace/public/pm/home-dictate.js +57 -0
- package/workspace/public/pm/home-draft.js +6 -6
- package/workspace/public/pm/home-ini-model.js +190 -0
- package/workspace/public/pm/home-ini.css +171 -0
- package/workspace/public/pm/home-ini.js +466 -0
- package/workspace/public/pm/home-list.js +289 -0
- package/workspace/public/pm/home-more.js +18 -135
- package/workspace/public/pm/home-phone-card.js +13 -8
- package/workspace/public/pm/home-review.js +103 -0
- package/workspace/public/pm/home-task.js +67 -0
- package/workspace/public/pm/home-today.js +148 -0
- package/workspace/public/pm/home-work.js +63 -28
- package/workspace/public/pm/note-dock.js +1 -2
- package/workspace/public/pm/notes-links.js +1 -2
- package/workspace/public/pm/notes-task.js +3 -4
- package/workspace/public/pm/premium-board.js +164 -40
- package/workspace/public/pm/premium-chart-tab.js +4 -5
- package/workspace/public/pm/premium-first.js +5 -7
- package/workspace/public/pm/premium-initiative-head.js +3 -3
- package/workspace/public/pm/premium-insights.js +499 -202
- package/workspace/public/pm/premium-mtg-present.js +138 -0
- package/workspace/public/pm/premium-mtg-replay.js +142 -0
- package/workspace/public/pm/premium-report-read.js +216 -52
- package/workspace/public/pm/premium-report-tab.js +44 -19
- package/workspace/public/pm/premium-shell.js +7 -7
- package/workspace/public/pm/premium-vw-cal.js +150 -60
- package/workspace/public/pm/premium-vw-doc.css +20 -2
- package/workspace/public/pm/premium-vw-doc.js +22 -7
- package/workspace/public/pm/premium-vw-mtg.js +488 -261
- package/workspace/public/pm/premium-vw-notes.js +61 -0
- package/workspace/public/pm/rp-parts.js +269 -0
- package/workspace/public/pm/view-notes.js +2 -2
- package/workspace/public/premium-board.html +4 -3
- package/workspace/public/premium-insights.html +10 -10
- package/workspace/public/premium.html +3 -1
- package/workspace/r/m1.png +0 -0
- package/workspace/r/m2.png +0 -0
- package/workspace/r/m3.png +0 -0
- package/workspace/r/nl.png +0 -0
- package/workspace/replaced-tests.json +435 -0
- package/workspace/run-tests.js +323 -28
- package/workspace/server.js +15 -10
- package/workspace/test-files.json +3 -140
- package/workspace/test-lists/base.json +1 -2
- package/workspace/test-lists/c3-desktop-light-load.json +1 -2
- package/workspace/test-lists/c3-initiative-boards.json +1 -2
- package/workspace/test-lists/c3-meeting-focus.json +2 -12
- package/workspace/test-lists/c3-work-agent.json +1 -2
- package/workspace/test-lists/calendar-tidy-up.json +1 -2
- package/workspace/test-lists/console3-reports.json +1 -2
- package/workspace/test-lists/docs-three-way-sync.json +1 -2
- package/workspace/test-lists/extension-capture.json +5 -0
- package/workspace/test-lists/initiative-layout.json +9 -0
- package/workspace/test-lists/jira-wbs.json +1 -2
- package/workspace/test-lists/legacy-cleanup-a.json +9 -0
- package/workspace/test-lists/meeting-material.json +1 -2
- package/workspace/test-lists/meeting-notes.json +2 -36
- package/workspace/test-lists/meeting-replay.json +1 -2
- package/workspace/test-lists/mm-capture.json +2 -12
- package/workspace/test-lists/my-work.json +2 -10
- package/workspace/test-lists/onboarding-firstrun.json +2 -12
- package/workspace/test-lists/people-directory.json +1 -2
- package/workspace/test-lists/premium-uncovered-meetings.json +9 -0
- package/workspace/test-lists/premium-uncovered-reports.json +9 -0
- package/workspace/test-lists/run2-a.json +1 -2
- package/workspace/test-lists/run2-d.json +2 -19
- package/workspace/test-lists/run3-b.json +1 -2
- package/workspace/test-lists/run3-c.json +2 -12
- package/workspace/test-lists/run4-b.json +1 -2
- package/workspace/test-lists/run4-d.json +1 -5
- package/workspace/test-lists/run5-c.json +1 -11
- package/workspace/test-lists/run6.json +1 -5
- package/workspace/test-lists/uf-everywhere.json +15 -0
- package/workspace/test-lists/uf-home.json +9 -0
- package/workspace/test-lists/uncovered-board.json +9 -0
- package/workspace/test-lists/workspace-launch-flags.json +2 -12
- package/workspace/test-lists/workspace-profile-detection.json +2 -10
- package/workspace/test-timings.json +242 -123
- package/workspace/c3-briefing-test.js +0 -136
- package/workspace/c3-core-docs-test.js +0 -170
- package/workspace/c3-driver-fixture.js +0 -64
- package/workspace/c3-driver-test.js +0 -169
- package/workspace/c3-foundation-test.js +0 -163
- package/workspace/c3-ib-items-test.js +0 -114
- package/workspace/c3-ib-more-test.js +0 -146
- package/workspace/c3-ib-triage-backlog-test.js +0 -128
- package/workspace/c3-ini-harness.js +0 -66
- package/workspace/c3-ini-life-test.js +0 -167
- package/workspace/c3-initiatives-test.js +0 -186
- package/workspace/c3-light-load-test.js +0 -112
- package/workspace/c3-one-home-test.js +0 -149
- package/workspace/c3-phone-test.js +0 -289
- package/workspace/c3-quiet-test.js +0 -157
- package/workspace/c3-report-design-real-test.js +0 -264
- package/workspace/c3-report-design-test.js +0 -442
- package/workspace/c3-report-setup-test.js +0 -192
- package/workspace/c3-report-structure-real-test.js +0 -248
- package/workspace/c3-report-structure-test.js +0 -397
- package/workspace/c3-reports-test.js +0 -288
- package/workspace/c3-scan-test.js +0 -517
- package/workspace/c3-sessions-panel-test.js +0 -365
- package/workspace/c3-settings-test.js +0 -204
- package/workspace/c3-updates-test.js +0 -131
- package/workspace/c3-work-test.js +0 -260
- package/workspace/cut-stub.js +0 -40
- package/workspace/first-paint-audit.js +0 -160
- package/workspace/lib/c3-full-console.js +0 -15
- package/workspace/lib/engine/derived/trust.js +0 -3
- package/workspace/lib/engine/plan-forecast.js +0 -342
- package/workspace/lib/engine/report-families.js +0 -175
- package/workspace/lib/engine/truth-table.js +0 -57
- package/workspace/lib/routes-c3-init.js +0 -54
- package/workspace/lib/routes-c3-life.js +0 -120
- package/workspace/lib/routes-c3-timeline.js +0 -192
- package/workspace/lib/routes-forecast.js +0 -86
- package/workspace/lib/routes-releases.js +0 -130
- package/workspace/lib/routes-report-facts.js +0 -85
- package/workspace/lib/routes-report-families.js +0 -33
- package/workspace/lib/routes-signals.js +0 -51
- package/workspace/lib/routes-timeline.js +0 -197
- package/workspace/public/c3.html +0 -35
- package/workspace/public/index.html +0 -156
- package/workspace/public/pm/app.js +0 -831
- package/workspace/public/pm/bd-board.js +0 -159
- package/workspace/public/pm/bd-drag.js +0 -59
- package/workspace/public/pm/bd-model.js +0 -152
- package/workspace/public/pm/bd-timeline.js +0 -233
- package/workspace/public/pm/bd-tree.js +0 -244
- package/workspace/public/pm/board-copy.js +0 -59
- package/workspace/public/pm/board-read.js +0 -38
- package/workspace/public/pm/branches-sheet.js +0 -56
- package/workspace/public/pm/breakdown-api.js +0 -58
- package/workspace/public/pm/breakdown-copy.js +0 -138
- package/workspace/public/pm/briefing-deck.js +0 -441
- package/workspace/public/pm/briefing-model.js +0 -251
- package/workspace/public/pm/c3-ambient.js +0 -100
- package/workspace/public/pm/c3-audience-link.js +0 -21
- package/workspace/public/pm/c3-audience.js +0 -46
- package/workspace/public/pm/c3-boot.js +0 -13
- package/workspace/public/pm/c3-breakdown.js +0 -240
- package/workspace/public/pm/c3-brief-data.js +0 -11
- package/workspace/public/pm/c3-brief-mentions.js +0 -137
- package/workspace/public/pm/c3-brief-needs.js +0 -288
- package/workspace/public/pm/c3-brief-pulse.js +0 -112
- package/workspace/public/pm/c3-brief-summary.js +0 -139
- package/workspace/public/pm/c3-brief-today.js +0 -79
- package/workspace/public/pm/c3-brief.js +0 -279
- package/workspace/public/pm/c3-cal-strategy.js +0 -529
- package/workspace/public/pm/c3-calendar.js +0 -965
- package/workspace/public/pm/c3-calpop.js +0 -111
- package/workspace/public/pm/c3-case.js +0 -196
- package/workspace/public/pm/c3-core-docs.css +0 -18
- package/workspace/public/pm/c3-core-docs.js +0 -236
- package/workspace/public/pm/c3-daypart.js +0 -176
- package/workspace/public/pm/c3-demo-boards.js +0 -764
- package/workspace/public/pm/c3-demo-brief-ix.js +0 -350
- package/workspace/public/pm/c3-demo-brief-page.js +0 -70
- package/workspace/public/pm/c3-demo-cal-ix.js +0 -74
- package/workspace/public/pm/c3-demo-cal2.js +0 -66
- package/workspace/public/pm/c3-demo-cal3.js +0 -173
- package/workspace/public/pm/c3-demo-cal4.js +0 -169
- package/workspace/public/pm/c3-demo-cal5.js +0 -52
- package/workspace/public/pm/c3-demo-coredocs.js +0 -221
- package/workspace/public/pm/c3-demo-data.js +0 -552
- package/workspace/public/pm/c3-demo-focus.js +0 -181
- package/workspace/public/pm/c3-demo-init.js +0 -430
- package/workspace/public/pm/c3-demo-life.js +0 -77
- package/workspace/public/pm/c3-demo-material.js +0 -58
- package/workspace/public/pm/c3-demo-misc2.js +0 -34
- package/workspace/public/pm/c3-demo-phone.js +0 -48
- package/workspace/public/pm/c3-demo-plan2.js +0 -30
- package/workspace/public/pm/c3-demo-rd.js +0 -432
- package/workspace/public/pm/c3-demo-rep-ix.js +0 -126
- package/workspace/public/pm/c3-demo-rep2.js +0 -130
- package/workspace/public/pm/c3-demo-rep3.js +0 -138
- package/workspace/public/pm/c3-demo-rs.js +0 -287
- package/workspace/public/pm/c3-demo-term.js +0 -153
- package/workspace/public/pm/c3-demo-time.js +0 -49
- package/workspace/public/pm/c3-demo-work-ix.js +0 -32
- package/workspace/public/pm/c3-demo.js +0 -131
- package/workspace/public/pm/c3-design-studio.js +0 -369
- package/workspace/public/pm/c3-doc-formats.js +0 -153
- package/workspace/public/pm/c3-doc-sheet.js +0 -1230
- package/workspace/public/pm/c3-dock.js +0 -206
- package/workspace/public/pm/c3-docs.js +0 -291
- package/workspace/public/pm/c3-driver-work.js +0 -110
- package/workspace/public/pm/c3-driver.css +0 -18
- package/workspace/public/pm/c3-driver.js +0 -298
- package/workspace/public/pm/c3-focus.css +0 -304
- package/workspace/public/pm/c3-focus.js +0 -983
- package/workspace/public/pm/c3-ib-docs.js +0 -92
- package/workspace/public/pm/c3-ib-initiatives.js +0 -201
- package/workspace/public/pm/c3-ib-items.js +0 -210
- package/workspace/public/pm/c3-ib-releases.js +0 -48
- package/workspace/public/pm/c3-ib-sprints.js +0 -201
- package/workspace/public/pm/c3-ib-triage.js +0 -177
- package/workspace/public/pm/c3-ii-tabs.js +0 -252
- package/workspace/public/pm/c3-ini-life.css +0 -34
- package/workspace/public/pm/c3-ini-life.js +0 -379
- package/workspace/public/pm/c3-ini-records.js +0 -197
- package/workspace/public/pm/c3-ini-timeline.js +0 -278
- package/workspace/public/pm/c3-ini-work.js +0 -139
- package/workspace/public/pm/c3-init-extras.js +0 -170
- package/workspace/public/pm/c3-initiatives.js +0 -852
- package/workspace/public/pm/c3-lifecycle-panels.js +0 -479
- package/workspace/public/pm/c3-look.js +0 -27
- package/workspace/public/pm/c3-material.css +0 -22
- package/workspace/public/pm/c3-material.js +0 -321
- package/workspace/public/pm/c3-md.js +0 -3
- package/workspace/public/pm/c3-misc-panels.js +0 -89
- package/workspace/public/pm/c3-new-session.js +0 -110
- package/workspace/public/pm/c3-notes.js +0 -751
- package/workspace/public/pm/c3-phone-boot.js +0 -47
- package/workspace/public/pm/c3-phone-detail.js +0 -97
- package/workspace/public/pm/c3-phone-model.js +0 -3
- package/workspace/public/pm/c3-phone.css +0 -66
- package/workspace/public/pm/c3-phone.js +0 -444
- package/workspace/public/pm/c3-plan-panels.js +0 -163
- package/workspace/public/pm/c3-plan.js +0 -193
- package/workspace/public/pm/c3-quiet.css +0 -113
- package/workspace/public/pm/c3-quiet.js +0 -177
- package/workspace/public/pm/c3-replay.css +0 -133
- package/workspace/public/pm/c3-replay.js +0 -429
- package/workspace/public/pm/c3-report-deck.css +0 -163
- package/workspace/public/pm/c3-report-deck.js +0 -598
- package/workspace/public/pm/c3-report-frame.css +0 -20
- package/workspace/public/pm/c3-report-print.css +0 -20
- package/workspace/public/pm/c3-report-setup.css +0 -67
- package/workspace/public/pm/c3-report-setup.js +0 -298
- package/workspace/public/pm/c3-report-store.js +0 -244
- package/workspace/public/pm/c3-report-structure.css +0 -44
- package/workspace/public/pm/c3-report-structure.js +0 -473
- package/workspace/public/pm/c3-reports.css +0 -68
- package/workspace/public/pm/c3-reports.js +0 -377
- package/workspace/public/pm/c3-roadmap.js +0 -249
- package/workspace/public/pm/c3-scan-api.js +0 -167
- package/workspace/public/pm/c3-scan-next.js +0 -248
- package/workspace/public/pm/c3-scan-setup.js +0 -313
- package/workspace/public/pm/c3-scan-words.js +0 -41
- package/workspace/public/pm/c3-scan.css +0 -74
- package/workspace/public/pm/c3-scan.js +0 -93
- package/workspace/public/pm/c3-session-chat.js +0 -103
- package/workspace/public/pm/c3-session-conv.js +0 -165
- package/workspace/public/pm/c3-session-term.js +0 -216
- package/workspace/public/pm/c3-settings.css +0 -85
- package/workspace/public/pm/c3-settings.js +0 -1045
- package/workspace/public/pm/c3-shell.js +0 -628
- package/workspace/public/pm/c3-signals.js +0 -196
- package/workspace/public/pm/c3-strategy-panels.js +0 -45
- package/workspace/public/pm/c3-swipe.js +0 -230
- package/workspace/public/pm/c3-terminal-data.js +0 -48
- package/workspace/public/pm/c3-terminal-edge.js +0 -91
- package/workspace/public/pm/c3-terminal-icons.js +0 -40
- package/workspace/public/pm/c3-terminal-results.js +0 -141
- package/workspace/public/pm/c3-terminal.js +0 -52
- package/workspace/public/pm/c3-tickets.js +0 -163
- package/workspace/public/pm/c3-timeline.js +0 -201
- package/workspace/public/pm/calendar-views.js +0 -1049
- package/workspace/public/pm/console3-lift.md +0 -220
- package/workspace/public/pm/cozy-home.js +0 -172
- package/workspace/public/pm/cozy-initiative.css +0 -138
- package/workspace/public/pm/cycle-review.js +0 -125
- package/workspace/public/pm/data.js +0 -1577
- package/workspace/public/pm/dest-board.js +0 -444
- package/workspace/public/pm/dest-docs.js +0 -530
- package/workspace/public/pm/dest-initiatives.js +0 -162
- package/workspace/public/pm/dest-mywork.js +0 -307
- package/workspace/public/pm/dest-notes.js +0 -537
- package/workspace/public/pm/dest-people.js +0 -449
- package/workspace/public/pm/dest-reports.js +0 -383
- package/workspace/public/pm/dest-settings.js +0 -601
- package/workspace/public/pm/dest-today.js +0 -267
- package/workspace/public/pm/display-word.js +0 -56
- package/workspace/public/pm/doc-editor.js +0 -473
- package/workspace/public/pm/doc-graph.js +0 -272
- package/workspace/public/pm/doc-health-panel.js +0 -110
- package/workspace/public/pm/doc-rail.js +0 -167
- package/workspace/public/pm/doc-remote.js +0 -180
- package/workspace/public/pm/dock-sessions.js +0 -472
- package/workspace/public/pm/dock.js +0 -216
- package/workspace/public/pm/fixture.js +0 -821
- package/workspace/public/pm/flag-picker.js +0 -104
- package/workspace/public/pm/frame-copy.js +0 -278
- package/workspace/public/pm/freshness-line.js +0 -149
- package/workspace/public/pm/handoff-box.js +0 -82
- package/workspace/public/pm/initiative-list.js +0 -235
- package/workspace/public/pm/initiative-sheet.js +0 -331
- package/workspace/public/pm/initiatives-api.js +0 -95
- package/workspace/public/pm/initiatives-copy.js +0 -287
- package/workspace/public/pm/initiatives-timeline-copy.js +0 -59
- package/workspace/public/pm/initiatives-timeline.js +0 -410
- package/workspace/public/pm/initiatives-ui.js +0 -291
- package/workspace/public/pm/item-sheet.js +0 -268
- package/workspace/public/pm/keep-card.js +0 -204
- package/workspace/public/pm/lifecycle-lens-model.js +0 -246
- package/workspace/public/pm/lifecycle-lens.js +0 -276
- package/workspace/public/pm/lifecycle.js +0 -111
- package/workspace/public/pm/mobile.css +0 -366
- package/workspace/public/pm/mobile.js +0 -581
- package/workspace/public/pm/modes-live.js +0 -453
- package/workspace/public/pm/modes.js +0 -147
- package/workspace/public/pm/my-work-card.js +0 -51
- package/workspace/public/pm/my-work-data.js +0 -36
- package/workspace/public/pm/new-initiative-sheet.js +0 -169
- package/workspace/public/pm/next-step-ui.js +0 -190
- package/workspace/public/pm/outbox-panel.js +0 -125
- package/workspace/public/pm/palette-copy.js +0 -55
- package/workspace/public/pm/palette.js +0 -343
- package/workspace/public/pm/panel-breakdown.js +0 -702
- package/workspace/public/pm/panel-cockpit.js +0 -425
- package/workspace/public/pm/panel-detail.js +0 -1513
- package/workspace/public/pm/panel-initiatives.js +0 -929
- package/workspace/public/pm/panel-newsess.js +0 -709
- package/workspace/public/pm/panel-repos.js +0 -741
- package/workspace/public/pm/panel-tabs.js +0 -1506
- package/workspace/public/pm/panel-trees.js +0 -204
- package/workspace/public/pm/people-link.js +0 -106
- package/workspace/public/pm/phone-deck.js +0 -167
- package/workspace/public/pm/pm-work-view.js +0 -1533
- package/workspace/public/pm/portfolio-report.js +0 -61
- package/workspace/public/pm/premium-acts.js +0 -280
- package/workspace/public/pm/premium-brief.js +0 -111
- package/workspace/public/pm/premium-chat.js +0 -22
- package/workspace/public/pm/premium-doc-sheet.js +0 -312
- package/workspace/public/pm/premium-initiative.js +0 -324
- package/workspace/public/pm/premium-insights.css +0 -228
- package/workspace/public/pm/premium-metric-tiles.js +0 -68
- package/workspace/public/pm/premium-report-brief.js +0 -132
- package/workspace/public/pm/premium-vw-rec.js +0 -67
- package/workspace/public/pm/premium-wide.css +0 -30
- package/workspace/public/pm/print.css +0 -44
- package/workspace/public/pm/provider-cards.js +0 -136
- package/workspace/public/pm/registry.js +0 -203
- package/workspace/public/pm/release-card.js +0 -110
- package/workspace/public/pm/releases-view.js +0 -248
- package/workspace/public/pm/report-families-view.js +0 -505
- package/workspace/public/pm/report-slides.js +0 -438
- package/workspace/public/pm/report-tab.js +0 -33
- package/workspace/public/pm/report-view.js +0 -337
- package/workspace/public/pm/reports-copy.js +0 -134
- package/workspace/public/pm/roadmap.js +0 -294
- package/workspace/public/pm/run-card.js +0 -260
- package/workspace/public/pm/sessions-panel.js +0 -219
- package/workspace/public/pm/sheet-jira.js +0 -353
- package/workspace/public/pm/shell-bell.js +0 -163
- package/workspace/public/pm/shell-model.js +0 -83
- package/workspace/public/pm/shell-phone.js +0 -124
- package/workspace/public/pm/shell-readaloud.js +0 -53
- package/workspace/public/pm/shell-recording.js +0 -274
- package/workspace/public/pm/shell-ticker.js +0 -90
- package/workspace/public/pm/sig-watch.js +0 -41
- package/workspace/public/pm/slide-confirm.js +0 -163
- package/workspace/public/pm/slides-copy.js +0 -52
- package/workspace/public/pm/status-banner.js +0 -95
- package/workspace/public/pm/tab-doc.js +0 -859
- package/workspace/public/pm/tab-gone.js +0 -21
- package/workspace/public/pm/tab-term.js +0 -1210
- package/workspace/public/pm/tab-web.js +0 -90
- package/workspace/public/pm/timeline-copy.js +0 -48
- package/workspace/public/pm/timeline-forecast-view.js +0 -164
- package/workspace/public/pm/today-agenda.js +0 -331
- package/workspace/public/pm/today-cards.js +0 -244
- package/workspace/public/pm/today-copy.js +0 -506
- package/workspace/public/pm/today-day.js +0 -1371
- package/workspace/public/pm/today-goals.js +0 -297
- package/workspace/public/pm/today-jobs.js +0 -84
- package/workspace/public/pm/today-mentions.js +0 -50
- package/workspace/public/pm/topbar.js +0 -202
- package/workspace/public/pm/triage-card.js +0 -60
- package/workspace/public/pm/undo-hold.js +0 -103
- package/workspace/public/pm/view-addrepo.js +0 -208
- package/workspace/public/pm/view-files.js +0 -197
- package/workspace/public/pm/view-livenotes.js +0 -399
- package/workspace/public/pm/view-today.js +0 -13
- package/workspace/public/pm/view-validate.js +0 -171
- package/workspace/public/pm/welcome.js +0 -391
- package/workspace/public/pm/work-place.js +0 -68
- package/workspace/public/pm/xlsx-read.js +0 -117
- package/workspace/public/welcome.html +0 -22
- package/workspace/test-lists/browser-suites-green.json +0 -5
- package/workspace/test-lists/c3-core-docs.json +0 -9
- package/workspace/test-lists/c3-doc-sheet-rich.json +0 -6
- package/workspace/test-lists/c3-doc-sheet-size.json +0 -6
- package/workspace/test-lists/c3-doc-sheet-v2.json +0 -6
- package/workspace/test-lists/c3-ib-items.json +0 -9
- package/workspace/test-lists/c3-ib-more.json +0 -9
- package/workspace/test-lists/c3-ib-triage-backlog.json +0 -9
- package/workspace/test-lists/c3-ini-life.json +0 -9
- package/workspace/test-lists/c3-meeting-board.json +0 -5
- package/workspace/test-lists/c3-meeting-card.json +0 -5
- package/workspace/test-lists/c3-notes-place.json +0 -5
- package/workspace/test-lists/c3-notes-series.json +0 -5
- package/workspace/test-lists/calendar-time-page.json +0 -5
- package/workspace/test-lists/calpop.json +0 -4
- package/workspace/test-lists/console3-briefing.json +0 -9
- package/workspace/test-lists/console3-foundation.json +0 -9
- package/workspace/test-lists/console3-work-page.json +0 -9
- package/workspace/test-lists/premium-brief-parity.json +0 -9
- package/workspace/test-lists/report-design-studio-ui.json +0 -5
- package/workspace/test-lists/report-structure-ui.json +0 -11
- package/workspace/test-lists/report-workspace-ui.json +0 -5
- package/workspace/test-lists/run3-a.json +0 -5
- package/workspace/test-lists/run3-d.json +0 -6
- package/workspace/test-lists/run4-c.json +0 -13
- package/workspace/test-lists/today-goals-jobs-ui.json +0 -5
- package/workspace/test-lists/today-mentions-cards.json +0 -5
- package/workspace/test-lists/workspace-tabs-declutter.json +0 -13
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* pm/cozy-evmodel.js — the words and groupings of the Everywhere parts (initiative premium-uncovered-features, E1 to E4; canvas EvMenu, EvSearch,
|
|
2
|
+
* EvInbox, EvSources, EvSettings, EvStates, EvPhone). PURE: no DOM, no fetch, so a suite can import it (cozy-evmodel.test.mjs).
|
|
3
|
+
*
|
|
4
|
+
* ago(iso, now) → '2 min ago' · '1 hour ago' · '5 days ago' · ''
|
|
5
|
+
* sourceName(row) → the name a source shows: 'Jira', 'Calendar', 'Repository', …
|
|
6
|
+
* staleOf(sources, now) → { id, name, text: 'Jira 5 days old', ago, state } | null the source furthest behind (failed, then the oldest)
|
|
7
|
+
* sourceRows(sources, now) → [{ id, name, sub, when, risk, act: 'read' | 'connect' | '' }] the Sources table (EvSources)
|
|
8
|
+
* partsOf(id) → what may be out of date when that source is old ('Board and the Jira-linked initiatives')
|
|
9
|
+
* fabLabel(here, open, stale) → 'Open the menu. You are in Home. A source is stale'
|
|
10
|
+
* SEARCH_KINDS · searchGroups(results, { phone }) → [{ key, label, rows }] EvSearch's groups, in its order
|
|
11
|
+
* resultSub(r) · resultTag(r) → the grey line after a result's title, and the word at its right
|
|
12
|
+
* wtChip(worktrees) → 'main + 3 worktrees'
|
|
13
|
+
* initials(name) → 'Mei' · 'DL' (EvInbox's avatars: a short first name, else two initials) */
|
|
14
|
+
|
|
15
|
+
const PLACE = { home: 'Home', board: 'Board', insights: 'Insights' };
|
|
16
|
+
const SRC_NAME = { repository: 'Repository', initiatives: 'Initiatives', calendar: 'Calendar', jira: 'Jira', 'my-work': 'Your tasks', tracker: 'Tracker items', tools: 'Mail, Slack and meeting notes' };
|
|
17
|
+
const SRC_SUB = { repository: 'This product\'s repository', initiatives: 'Read from the repository', calendar: 'Your calendar', jira: 'The Jira projects of your initiatives', 'my-work': 'The work assigned to you', tracker: 'The tracker items of your initiatives', tools: 'Mail, Slack, Confluence and Wispr Flow' };
|
|
18
|
+
const PARTS = { jira: 'Board and the Jira-linked initiatives', calendar: 'Today and your meetings', 'my-work': 'Your tasks', tracker: 'The tracker items on Board', tools: 'New for you and the digests', initiatives: 'Home and Board', repository: 'Home and Board' };
|
|
19
|
+
|
|
20
|
+
export function ago(iso, now = Date.now()) {
|
|
21
|
+
const t = Date.parse(iso || '');
|
|
22
|
+
if (!Number.isFinite(t)) return '';
|
|
23
|
+
const m = Math.max(0, Math.round((now - t) / 60000));
|
|
24
|
+
if (m < 1) return 'just now';
|
|
25
|
+
if (m < 60) return m + ' min ago';
|
|
26
|
+
const h = Math.round(m / 60);
|
|
27
|
+
if (h < 24) return h + (h === 1 ? ' hour ago' : ' hours ago');
|
|
28
|
+
const d = Math.round(h / 24);
|
|
29
|
+
return d + (d === 1 ? ' day ago' : ' days ago');
|
|
30
|
+
}
|
|
31
|
+
const old = (iso, now) => ago(iso, now).replace(/ ago$/, ' old');
|
|
32
|
+
|
|
33
|
+
export const sourceName = (s) => (s && (SRC_NAME[s.id] || String(s.label || s.id || '').replace(/ status$/, ''))) || 'A source';
|
|
34
|
+
export const partsOf = (id) => PARTS[id] || 'What PMOS shows from it';
|
|
35
|
+
|
|
36
|
+
/** The source furthest behind: one that failed first, then the oldest stale one, then one never read. The repository's watch is never it. */
|
|
37
|
+
export function staleOf(sources, now = Date.now()) {
|
|
38
|
+
const L = (sources || []).filter((s) => s && s.id !== 'repository' && (s.state === 'stale' || s.state === 'failed' || s.state === 'never'));
|
|
39
|
+
if (!L.length) return null;
|
|
40
|
+
const rank = (s) => (s.state === 'failed' ? 0 : s.state === 'stale' ? 1 : 2);
|
|
41
|
+
L.sort((a, b) => rank(a) - rank(b) || (Date.parse(a.as_of || '') || 0) - (Date.parse(b.as_of || '') || 0));
|
|
42
|
+
const s = L[0], name = sourceName(s);
|
|
43
|
+
const text = s.state === 'never' ? name + ' never read' : s.state === 'failed' ? name + ' could not be read' : name + ' ' + (old(s.as_of, now) || 'old');
|
|
44
|
+
return { id: s.id, name, text, ago: ago(s.as_of, now), state: s.state };
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** The Sources table: one row per source, in the order the server lists them. */
|
|
48
|
+
export function sourceRows(sources, now = Date.now()) {
|
|
49
|
+
return (sources || []).filter(Boolean).map((s) => {
|
|
50
|
+
const behind = s.state === 'stale' || s.state === 'failed' || s.state === 'never';
|
|
51
|
+
const when = s.state === 'off' ? 'Not connected' : s.state === 'building' ? 'Reading now' : s.state === 'never' ? 'Never read'
|
|
52
|
+
: s.state === 'failed' ? 'Could not be read' : s.id === 'repository' && s.state === 'fresh' ? 'Watching' : ago(s.as_of, now) || 'Never read';
|
|
53
|
+
return { id: s.id, name: sourceName(s), sub: SRC_SUB[s.id] || s.label || '', when, risk: behind, act: s.state === 'off' ? 'connect' : behind && s.id !== 'repository' ? 'read' : '' };
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function fabLabel(here, open, stale) {
|
|
58
|
+
if (open) return 'Close the menu';
|
|
59
|
+
return 'Open the menu. You are in ' + (PLACE[here] || 'PMOS') + (stale ? '. A source is stale' : '');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* ── Search ── */
|
|
63
|
+
export const SEARCH_KINDS = [['all', 'All'], ['initiative', 'Initiatives'], ['document', 'Documents'], ['slides', 'Slides'], ['report', 'Reports'], ['artifact', 'Artifacts'], ['meeting', 'Meetings']];
|
|
64
|
+
export const PHONE_KINDS = [['all', 'All'], ['document', 'Docs'], ['slides', 'Slides'], ['report', 'Reports'], ['artifact', 'Artifacts']];
|
|
65
|
+
/** The result groups in EvSearch's order. A row is a result of /api/find, or a session ({ kind: 'session' }), or an initiative of the board. */
|
|
66
|
+
export function searchGroups(rows, { phone = false } = {}) {
|
|
67
|
+
const by = (keys) => (rows || []).filter((r) => keys.includes(r.group || r.kind));
|
|
68
|
+
const meet = by(['meeting', 'session']);
|
|
69
|
+
const G = [
|
|
70
|
+
{ key: 'initiative', label: 'Initiatives', rows: by(['initiative']) },
|
|
71
|
+
{ key: 'docs', label: 'Documents, slides and reports', rows: by(['document', 'slides', 'report']) },
|
|
72
|
+
{ key: 'artifact', label: 'Artifacts and designs', rows: by(['artifact', 'file']) },
|
|
73
|
+
{ key: 'meeting', label: phone || meet.some((r) => r.kind === 'session') ? 'Meetings and sessions' : 'Meetings', rows: meet },
|
|
74
|
+
];
|
|
75
|
+
return G.filter((g) => g.rows.length);
|
|
76
|
+
}
|
|
77
|
+
const DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
|
|
78
|
+
const two = (n) => String(n).padStart(2, '0');
|
|
79
|
+
const when = (iso) => { const d = new Date(iso || ''); return Number.isNaN(d.getTime()) ? '' : DAYS[d.getDay()] + ' ' + two(d.getHours()) + ':' + two(d.getMinutes()); };
|
|
80
|
+
/** The grey line after a result's title (EvSearch: "planning/prd · main", "worktree viewer-calendar · not merged", "12 slides · …"). */
|
|
81
|
+
export function resultSub(r) {
|
|
82
|
+
if (!r) return '';
|
|
83
|
+
if (r.kind === 'initiative') return [r.lane ? r.lane[0].toUpperCase() + r.lane.slice(1) : 'Initiative', r.stage ? 'in ' + r.stage : '', r.days ? r.days + (r.days === 1 ? ' day' : ' days') : ''].filter(Boolean).join(' · ');
|
|
84
|
+
if (r.kind === 'meeting') return [when(r.at), r.summary ? 'notes ready' : ''].filter(Boolean).join(' · ');
|
|
85
|
+
if (r.kind === 'session') return [r.where, r.state].filter(Boolean).join(' · ');
|
|
86
|
+
const where = r.draft ? 'worktree ' + (r.branch || r.wt) + ' · ' + (r.today ? 'changed today' : 'not merged') : (r.dir && r.dir !== '.' ? r.dir : 'the repository root') + ' · main';
|
|
87
|
+
return r.why === 'text' && r.line ? where + ' · “' + r.line + '”' : where;
|
|
88
|
+
}
|
|
89
|
+
/** The word at a result's right (EvSearch: Open in Home, Viewer, Draft, Slides, Report, Artifact, File). */
|
|
90
|
+
export function resultTag(r) {
|
|
91
|
+
if (!r) return '';
|
|
92
|
+
if (r.kind === 'initiative') return 'Open in Home';
|
|
93
|
+
if (r.kind === 'document') return r.draft ? 'Draft' : 'Viewer';
|
|
94
|
+
return { slides: 'Slides', report: 'Report', artifact: 'Artifact', file: 'File', session: 'Session' }[r.kind] || '';
|
|
95
|
+
}
|
|
96
|
+
export function wtChip(wts) {
|
|
97
|
+
const L = (wts || []).filter((w) => !w.main), on = L.filter((w) => w.on !== false).length;
|
|
98
|
+
if (!L.length) return 'main';
|
|
99
|
+
return 'main + ' + on + (on === 1 ? ' worktree' : ' worktrees');
|
|
100
|
+
}
|
|
101
|
+
export function initials(name) {
|
|
102
|
+
const w = String(name || '').trim().split(/\s+/).filter(Boolean);
|
|
103
|
+
if (!w.length) return '?';
|
|
104
|
+
if (w.length === 1) return w[0].length <= 3 ? w[0] : w[0].slice(0, 2);
|
|
105
|
+
return (w[0][0] + w[w.length - 1][0]).toUpperCase();
|
|
106
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* pm/cozy-evui.js — the small shared parts of the Everywhere views (initiative premium-uncovered-features, E1 to E4) and the states of EvStates.
|
|
2
|
+
*
|
|
3
|
+
* esc(s) · svg(d, w) · ICON the canvas's icons (EvMenu, EvSearch, EvInbox, EvSources)
|
|
4
|
+
* toast(text) the page's toast (#toast), when it has one
|
|
5
|
+
* wsParam() · wsQ(pre) the workspace the address names (?ws=)
|
|
6
|
+
* STATES (also window.czStates) — EvStates, for any page:
|
|
7
|
+
* skelRows(n) reading: grey rows in place of the list
|
|
8
|
+
* cantRead({ what, why, retry, sources }) could not be read: what failed, what it answered, Read again and Sources
|
|
9
|
+
* failedItem({ what, why, retry, find }) a Viewer item that failed: "This document could not be opened." Try again, Find it
|
|
10
|
+
* allClear(text, right) nothing is your turn: one line with a green dot
|
|
11
|
+
* moreRow(shown, total) "Showing 25 of 48" with Show 25 more */
|
|
12
|
+
export const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));
|
|
13
|
+
export const svg = (d, w = 16) => `<svg aria-hidden="true" width="${w}" height="${w}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
|
|
14
|
+
export const ICON = {
|
|
15
|
+
home: 'M4 11l8-7 8 7v9h-5v-6H9v6H4z', board: 'M4 4h4v16H4zM10 4h4v10h-4zM16 4h4v13h-4z', insights: 'M5 20V11M12 20V5M19 20v-6',
|
|
16
|
+
search: 'M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4', news: 'M12 3v3M12 18v3M3 12h3M18 12h3M6 6l2 2M16 16l2 2M6 18l2-2M16 8l2-2',
|
|
17
|
+
sources: 'M12 4c4.4 0 8 1.3 8 3s-3.6 3-8 3-8-1.3-8-3 3.6-3 8-3zM4 7v10c0 1.7 3.6 3 8 3s8-1.3 8-3V7M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3',
|
|
18
|
+
settings: 'M4 7h10M18 7h2M4 17h4M12 17h8M14 5v4M8 15v4', theme: 'M20 14A8 8 0 1 1 10 4a6 6 0 0 0 10 10z', more: 'M5 12h.01M12 12h.01M19 12h.01',
|
|
19
|
+
menu: 'M4 7h16M4 12h16M4 17h16', close: 'M6 6l12 12M18 6L6 18', open: 'M7 17L17 7M9 7h8v8', back: 'M15 6l-6 6 6 6', down: 'M7 10l5 5 5-5',
|
|
20
|
+
flag: 'M5 21V4h11l-2 4 2 4H5', doc: 'M7 3h7l5 5v13H7zM14 3v5h5', slides: 'M3 5h18v12H3zM8 21h8M12 17v4', report: 'M5 20V11M12 20V5M19 20v-6',
|
|
21
|
+
design: 'M4 4h16v16H4zM4 9h16M9 9v11', file: 'M8 6l-5 6 5 6M16 6l5 6-5 6', meet: 'M4 5h16v15H4zM4 10h16M8 3v4M16 3v4', session: 'M5 4l14 8-14 8z',
|
|
22
|
+
chat: 'M4 5h16v11H9l-5 4z', branch: 'M6 3v12M18 9a3 3 0 1 0 0-6a3 3 0 1 0 0 6M6 21a3 3 0 1 0 0-6a3 3 0 1 0 0 6M18 9a9 9 0 0 1-9 9',
|
|
23
|
+
refresh: 'M4 12a8 8 0 0 1 14-5.3M20 4v4h-4M20 12a8 8 0 0 1-14 5.3M4 20v-4h4', jira: 'M4 4h16v16H4zM8.5 12.5l2.5 2.5 4.5-5', cal: 'M4 5h16v15H4zM4 10h16M8 3v4M16 3v4',
|
|
24
|
+
repo: 'M6 3h12v18l-6-4-6 4z', mic: 'M12 3a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V6a3 3 0 0 0-3-3zM5 11a7 7 0 0 0 14 0M12 18v3', tools: 'M3 6h18v12H3zM3 7l9 6 9-6',
|
|
25
|
+
analytics: 'M4 20V10M10 20V4M16 20v-8M22 20H2', check: 'M5 12l4.5 4.5L19 7',
|
|
26
|
+
};
|
|
27
|
+
export function toast(t) { const el = typeof document !== 'undefined' && document.getElementById('toast'); if (!el) return; el.textContent = t; el.classList.add('on'); clearTimeout(toast.t); toast.t = setTimeout(() => el.classList.remove('on'), 4200); }
|
|
28
|
+
export const wsParam = () => (typeof location !== 'undefined' ? new URLSearchParams(location.search).get('ws') || '' : '');
|
|
29
|
+
export const wsQ = (pre = '?') => (wsParam() ? pre + 'ws=' + encodeURIComponent(wsParam()) : '');
|
|
30
|
+
|
|
31
|
+
/* ── EvStates ── */
|
|
32
|
+
export function skelRows(n = 3) {
|
|
33
|
+
const w = [[80, 50], [65, 40], [70, 0]];
|
|
34
|
+
return Array.from({ length: n }, (_, i) => { const [a, b] = w[i % 3]; return `<div class="ev-skelrow" aria-hidden="true"><span class="ev-ic"></span><span class="ev-tx"><span class="ev-skel ev-w${a}"></span>${b ? `<span class="ev-skel ev-s ev-w${b}"></span>` : ''}</span></div>`; }).join('');
|
|
35
|
+
}
|
|
36
|
+
export function cantRead({ what = 'This', why = '', since = '', retry = true, sources = true } = {}) {
|
|
37
|
+
return `<div class="ev-warn ev-cant" role="alert"><p><b>${esc(what)} could not be read.</b>${why ? ' It answered “' + esc(why) + '”.' : ''}${since ? ' ' + esc(since) : ''}</p>`
|
|
38
|
+
+ `<div class="ev-acts">${retry ? '<button type="button" class="ev-btn sm" data-ev-retry>Read again</button>' : ''}${sources ? '<button type="button" class="ev-btn sm ghost" data-ev-sources>Sources</button>' : ''}</div></div>`;
|
|
39
|
+
}
|
|
40
|
+
export function failedItem({ what = 'This document', why = '', retry = true, find = '' } = {}) {
|
|
41
|
+
return `<div class="ev-box ev-fail" role="alert"><p><b>${esc(what)} could not be opened.</b></p>${why ? `<p class="ev-small ev-mut">${esc(why)}</p>` : ''}`
|
|
42
|
+
+ `<div class="ev-acts">${retry ? '<button type="button" class="ev-btn sm" data-ev-retry>Try again</button>' : ''}${find ? `<button type="button" class="ev-btn sm ghost" data-ev-find="${esc(find)}">Find it</button>` : ''}</div></div>`;
|
|
43
|
+
}
|
|
44
|
+
export const allClear = (text = 'All clear', right = '') => `<p class="ev-clear"><i class="ev-dot ok" aria-hidden="true"></i>${esc(text)}${right ? `<span class="ev-sub ev-right">${esc(right)}</span>` : ''}</p>`;
|
|
45
|
+
export const moreRow = (shown, total, step = 25) => (total > shown ? `<div class="ev-more"><span class="ev-small ev-mut">Showing ${shown} of ${total}</span><button type="button" class="ev-btn sm" data-ev-more>Show ${Math.min(step, total - shown)} more</button></div>` : '');
|
|
46
|
+
export const STATES = { skelRows, cantRead, failedItem, allClear, moreRow };
|
|
47
|
+
if (typeof window !== 'undefined') window.czStates = STATES;
|
|
@@ -104,6 +104,7 @@ body.cz-home { min-height: 100vh; overflow: hidden; }
|
|
|
104
104
|
.hm-ckh b { font-weight: 700; color: var(--cz-ink); } .hm-ckh span { margin-left: auto; color: var(--cz-ink3); }
|
|
105
105
|
.hm-it { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 13px; color: var(--cz-ink2); border: 0; background: none; padding: 0; width: 100%; text-align: left; font-family: var(--cz-sans); }
|
|
106
106
|
.hm-it .l { flex: 1; min-width: 0; }
|
|
107
|
+
.hm-it .l small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--cz-ink3); }
|
|
107
108
|
.hm-it.donerow { cursor: pointer; } .hm-it.donerow .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
108
109
|
.hm-mk { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; box-sizing: border-box; font-size: 11px; font-weight: 800; }
|
|
109
110
|
.hm-mk.done { background: var(--cz-done); color: var(--cz-onsolid); }
|
|
@@ -219,6 +220,10 @@ body.cz-home { min-height: 100vh; overflow: hidden; }
|
|
|
219
220
|
.hm-pmenu[hidden] { display: none; }
|
|
220
221
|
.hm-pmenu button { border: 0 !important; border-radius: 10px !important; text-align: left; }
|
|
221
222
|
.hm-addm { left: 0; right: auto; bottom: 44px; min-width: 240px; } /* the box's + menu: Attach a file, Notes, the terminal */
|
|
223
|
+
/* testing fixes: in the basic box the + sits at the right end of the In: row, so its menu opens from the right edge, never past the screen;
|
|
224
|
+
the floating menu button steps aside while it is open, so nothing covers it */
|
|
225
|
+
.hm-scope .hm-addm { left: auto; right: 0; max-width: calc(100vw - 32px); }
|
|
226
|
+
body:has(.hm-addm:not([hidden])) .cz-fab { visibility: hidden; }
|
|
222
227
|
.hm-addm button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 6px 10px; background: none; color: var(--cz-ink); cursor: pointer; font-family: var(--cz-sans); font-size: 13.5px; }
|
|
223
228
|
.hm-addm button:hover, .hm-addm button:focus-visible { background: var(--cz-well); }
|
|
224
229
|
.hm-addm em { font-style: normal; font-size: 11.5px; color: var(--cz-ink3); }
|
|
@@ -282,9 +287,10 @@ form.hm-box textarea { min-height: 48px; border: 0; background: none; resize: no
|
|
|
282
287
|
@supports (anchor-name: --hm-anc) { .hm-menu { position-anchor: --hm-anc; left: anchor(left); top: anchor(bottom); bottom: auto; margin: 6px 0; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline; } }
|
|
283
288
|
/* on a phone the menu is always the sheet at the bottom: the buttons that open it sit low on the screen, so a menu under them would leave it */
|
|
284
289
|
@media (max-width: 760px) { .hm-menu.hm-menu { position-anchor: auto; left: 12px; top: auto; bottom: 12px; margin: 0; }
|
|
285
|
-
.hm-menu.hm-menu.top { left: auto; right: 12px; top: 64px; bottom: auto; max-height: calc(100vh - 80px); } } /* the ⋯ menu of the top bar opens under its button */
|
|
290
|
+
.hm-menu.hm-menu.top { left: auto; right: 12px; top: 64px; bottom: auto; max-height: calc(100vh - 80px); } } /* top: set from the button when it opened the menu */ /* the ⋯ menu of the top bar opens under its button */
|
|
286
291
|
.hm-ml { margin: 6px 10px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); }
|
|
287
|
-
.hm-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px;
|
|
292
|
+
.hm-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; flex-shrink: 0; /* a long row keeps its height in a menu that scrolls (testing fixes: rows drew over each other) */
|
|
293
|
+
padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--cz-ink); cursor: pointer; text-align: left; font-family: var(--cz-sans); font-size: 13.5px; }
|
|
288
294
|
.hm-menu button:hover, .hm-menu button:focus-visible { background: var(--cz-well); }
|
|
289
295
|
.hm-menu em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
|
|
290
296
|
.hm-toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 20px); max-width: min(520px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 14px; background: var(--cz-ink); color: var(--cz-card); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
|
|
@@ -414,12 +420,14 @@ form.hm-box textarea { min-height: 48px; border: 0; background: none; resize: no
|
|
|
414
420
|
.hm-peek[hidden] { display: none; }
|
|
415
421
|
.hm-peek span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
416
422
|
.hm-peek em { font-style: normal; font-weight: 700; color: var(--cz-blueink); }
|
|
417
|
-
.hm-slash { display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--cz-card); box-shadow: var(--cz-sheet); border: 1px solid var(--cz-hair); }
|
|
423
|
+
.hm-slash { display: flex; flex-direction: column; max-height: min(320px, 45vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 16px; background: var(--cz-card); box-shadow: var(--cz-sheet); border: 1px solid var(--cz-hair); }
|
|
418
424
|
.hm-slash[hidden] { display: none; }
|
|
419
|
-
.hm-slash button { display: flex; align-items:
|
|
425
|
+
.hm-slash button { display: flex; flex-direction: column; align-items: stretch; gap: 1px; min-height: 40px; flex-shrink: 0; padding: 6px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; color: var(--cz-ink); font-family: var(--cz-sans); }
|
|
420
426
|
.hm-slash button[aria-selected="true"], .hm-slash button:hover { background: var(--cz-well); }
|
|
421
427
|
.hm-slash code { font-family: var(--cz-mono); font-size: 12px; color: var(--cz-blueink); }
|
|
422
|
-
.hm-slash em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
|
|
428
|
+
.hm-slash em { font-style: normal; font-size: 12px; color: var(--cz-ink3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
|
|
429
|
+
.hm-slash .l1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
430
|
+
.hm-slash .l1 b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
423
431
|
.hm-scope + .hm-files { margin-bottom: 6px; }
|
|
424
432
|
/* the phone moment card (home-phone-card.js) at the top of the phone's sheet; not in the Agreed design, so marked Waiting for design */
|
|
425
433
|
.hm-phc { display: grid; gap: 6px; margin: 2px 2px 14px; padding: 14px 16px; border-radius: 18px; background: var(--cz-card); box-shadow: inset 3px 0 0 var(--cz-blue), var(--cz-float); color: var(--cz-ink); }
|
|
@@ -440,6 +448,13 @@ form.hm-box textarea { min-height: 48px; border: 0; background: none; resize: no
|
|
|
440
448
|
.hm-phc .phstats div { display: grid; padding: 8px 10px; border-radius: 12px; background: var(--cz-well); }
|
|
441
449
|
.hm-phc .phstats b { font-size: 20px; }
|
|
442
450
|
.hm-phc .phstats span { font-size: 12px; color: var(--cz-ink3); }
|
|
451
|
+
/* the evening recap's What moved: plain rows, a quiet kind word, the text clamped to two lines, where it came from under it */
|
|
452
|
+
.hm-phc .phmv { display: grid; gap: 8px; margin-top: 4px; }
|
|
453
|
+
.hm-phc .phmv p { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; color: var(--cz-ink); }
|
|
454
|
+
.hm-phc .phmv p b { font-size: 12px; font-weight: 700; color: var(--cz-ink3); }
|
|
455
|
+
.hm-phc .phmv p span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
456
|
+
.hm-phc .phmv p em { grid-column: 2; font-style: normal; font-size: 12px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
457
|
+
.hm-phc .phq { color: var(--cz-ink3); }
|
|
443
458
|
|
|
444
459
|
/* the first-run card after an import (premium-first.js): plain, Waiting for design */
|
|
445
460
|
.hm-first { display: grid; gap: 8px; margin: 2px 2px 14px; padding: 14px 16px; border-radius: 18px; background: var(--cz-card); box-shadow: var(--cz-float); color: var(--cz-ink); }
|
|
@@ -58,9 +58,6 @@ body.cz { padding: 0; }
|
|
|
58
58
|
.ins-cust[hidden] { display: none; }
|
|
59
59
|
.ins-cust label { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: var(--cz-ink2); gap: 3px; }
|
|
60
60
|
.ins-cust input { height: 32px; border: 1px solid var(--cz-hair); border-radius: 10px; padding: 0 8px; font: inherit; font-size: 13px; background: var(--cz-card); color: var(--cz-ink); }
|
|
61
|
-
.ins-find { display: flex; align-items: center; gap: 8px; background: var(--cz-well); border-radius: 16px; padding: 4px 6px 4px 14px; }
|
|
62
|
-
.ins-find[hidden] { display: none; }
|
|
63
|
-
.ins-find input { flex: 1; height: 34px; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--cz-ink); outline: 0; }
|
|
64
61
|
|
|
65
62
|
/* ── the strip ── */
|
|
66
63
|
.ins-strip { display: flex; align-items: center; gap: 10px; background: var(--cz-well); border-radius: 16px; padding: 8px 8px 8px 14px; font-size: 13.5px; }
|
|
@@ -187,7 +184,6 @@ body.cz { padding: 0; }
|
|
|
187
184
|
.ins-lbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
188
185
|
.ins-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
|
|
189
186
|
.ins-chips .cz-chip { color: var(--cz-ink2); }
|
|
190
|
-
.ins-lbar #sugB { color: var(--cz-ink2); }
|
|
191
187
|
.ins-lnote { margin-left: auto; }
|
|
192
188
|
.ins-sec { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--cz-ink2); padding: 2px 4px; }
|
|
193
189
|
.ins-sec h3 { margin: 0; font-size: 13px; font-weight: 800; color: var(--cz-ink2); }
|
|
@@ -287,8 +283,8 @@ p.ins-fl { flex-direction: row; align-items: center; margin: 0 0 6px; flex-wrap:
|
|
|
287
283
|
.ins-desc { display: flex; align-items: center; gap: 6px; background: var(--cz-well); border-radius: 18px; padding: 6px 6px 6px 14px; margin: 0; }
|
|
288
284
|
.ins-desc .sp { color: var(--cz-blueink); display: inline-flex; }
|
|
289
285
|
.ins-desc input { flex: 1; height: 36px; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--cz-ink); outline: 0; min-width: 0; }
|
|
290
|
-
.ins-side .ins-desc input:focus-visible, .ins .ins-
|
|
291
|
-
.ins-desc:focus-within, .ins-
|
|
286
|
+
.ins-side .ins-desc input:focus-visible, .ins .ins-finp input:focus-visible { outline: none; } /* the rounded box shows the focus, not a square ring inside it */
|
|
287
|
+
.ins-desc:focus-within, .ins-finp:focus-within { box-shadow: 0 0 0 2px var(--cz-blue); }
|
|
292
288
|
.ins-side .cz-ib.sm { width: 32px; height: 32px; }
|
|
293
289
|
.ins-side .cz-ib:disabled { opacity: .45; cursor: not-allowed; }
|
|
294
290
|
.ins-picked { display: flex; flex-direction: column; }
|
|
@@ -331,9 +327,6 @@ p.ins-fl { flex-direction: row; align-items: center; margin: 0 0 6px; flex-wrap:
|
|
|
331
327
|
.ins-meter { position: relative; height: 14px; border-radius: 7px; background: var(--cz-c-eceae6); margin: 22px 0; }
|
|
332
328
|
.ins-meter i { display: block; height: 100%; border-radius: 7px; }
|
|
333
329
|
.ins-meter .tg { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--cz-ink); }
|
|
334
|
-
.ins-wait { background: var(--cz-well); border-radius: 14px; padding: 14px 16px; }
|
|
335
|
-
.ins-wait b { font-size: 14px; font-weight: 800; }
|
|
336
|
-
.ins-wait p { margin: 4px 0 0; font-size: 12.5px; color: var(--cz-ink2); line-height: 1.45; }
|
|
337
330
|
.ins-src { display: flex; flex-direction: column; }
|
|
338
331
|
.ins-src div { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cz-hair); font-size: 12.5px; color: var(--cz-ink2); }
|
|
339
332
|
.ins-src b { color: var(--cz-ink); font-weight: 800; }
|
|
@@ -402,7 +395,6 @@ p.ins-fl { flex-direction: row; align-items: center; margin: 0 0 6px; flex-wrap:
|
|
|
402
395
|
}
|
|
403
396
|
|
|
404
397
|
/* the minimal panels the Agreed design does not draw yet (goal detail, budget, tile target, report flows), in the Viewer card */
|
|
405
|
-
.ins-wmark { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); font-size: 12px; font-weight: 700; }
|
|
406
398
|
.ins-vbody .cz-ph { margin-bottom: 12px; }
|
|
407
399
|
.ins-kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0 0 14px; font-size: 13px; }
|
|
408
400
|
.ins-kv dt { color: var(--cz-ink3); font-weight: 700; }
|
|
@@ -419,3 +411,149 @@ p.ins-fl { flex-direction: row; align-items: center; margin: 0 0 6px; flex-wrap:
|
|
|
419
411
|
.ins-fnd:last-child { border-bottom: 0; }
|
|
420
412
|
.ins-fnd > b { font-size: 14px; font-weight: 800; color: var(--cz-ink); }
|
|
421
413
|
.ins-side [hidden], .ins-vbody [hidden] { display: none !important; }
|
|
414
|
+
|
|
415
|
+
/* ── premium-uncovered-features: IsGoal, IsTarget, IsLibrary, IsMenus, IsPhone ─────────────────────────────────────────────────────── */
|
|
416
|
+
/* menus: a key at the right of an item, a hairline between groups, the filter's chip groups and Find's popover (IsMenus) */
|
|
417
|
+
.ins-menu button .k { margin-left: auto; padding-left: 12px; font-size: 12px; font-weight: 600; color: var(--cz-ink3); white-space: nowrap; align-self: center; }
|
|
418
|
+
.ins-menu button > svg { width: 16px; height: 16px; color: var(--cz-ink2); align-self: center; }
|
|
419
|
+
.ins-hr { height: 1px; background: var(--cz-hair); margin: 4px 0; flex: none; }
|
|
420
|
+
.ins-filtp { width: 330px; padding: 10px 6px 12px; }
|
|
421
|
+
.ins-fchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 6px; }
|
|
422
|
+
.ins-menu .ins-fchips .cz-chip { width: auto; padding: 0 11px; font-size: 12.5px; font-weight: 600; border-radius: 999px; align-items: center; min-height: 30px; }
|
|
423
|
+
.ins-menu .ins-fclr { color: var(--cz-blueink); }
|
|
424
|
+
.ins-findp { width: 380px; padding: 10px; }
|
|
425
|
+
.ins-finp { display: flex; align-items: center; gap: 8px; height: 42px; border-radius: 14px; background: var(--cz-well); padding: 0 8px 0 14px; margin-bottom: 4px; }
|
|
426
|
+
.ins-finp > svg { width: 16px; height: 16px; color: var(--cz-ink3); }
|
|
427
|
+
.ins-finp input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--cz-ink); outline: 0; }
|
|
428
|
+
.ins-menu .ins-kbd, .ins-kbd { width: auto; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 7px; background: var(--cz-card); font-size: 11.5px; font-weight: 700; color: var(--cz-ink3); }
|
|
429
|
+
.ins-fres .ins-fo > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; gap: 2px; }
|
|
430
|
+
.ins-fres small { font-size: 12px; font-weight: 600; color: var(--cz-ink3); }
|
|
431
|
+
.ins-fres mark { background: var(--cz-bluebg); color: var(--cz-blueink); border-radius: 4px; padding: 0 2px; }
|
|
432
|
+
/* the empty trend: the one value, not a flat line (IsMenus) */
|
|
433
|
+
.ins-one { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
434
|
+
.cz-pill.ins-dash { background: transparent; border: 1px dashed var(--cz-hair); box-shadow: inset 0 0 0 1px var(--cz-hair); color: var(--cz-ink3); }
|
|
435
|
+
|
|
436
|
+
/* buttons and parts the frames share, in the page and in the Viewer card */
|
|
437
|
+
.ins-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cz-hair); box-shadow: inset 0 0 0 1px var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; }
|
|
438
|
+
.ins-btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
|
|
439
|
+
.ins-btn.dark { background: var(--cz-ink); color: var(--cz-card); border-color: transparent; box-shadow: none; }
|
|
440
|
+
.ins-btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--cz-ink2); }
|
|
441
|
+
.ins-btn.wide { width: 100%; height: 44px; }
|
|
442
|
+
.ins-btn:disabled { opacity: .55; cursor: default; }
|
|
443
|
+
.ins-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
444
|
+
.ins-clip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 30px; }
|
|
445
|
+
.ins-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
446
|
+
.ins-lbl { font-size: 12px; font-weight: 800; color: var(--cz-ink3); margin: 4px 0 0; }
|
|
447
|
+
.ins-h3 { font-size: 15px; font-weight: 800; margin: 0; }
|
|
448
|
+
.ins-box { background: var(--cz-well); border-radius: 16px; padding: 12px 14px; font-size: 13px; }
|
|
449
|
+
.ins-need { background: var(--cz-bluebg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
|
|
450
|
+
.ins-need .ins-kv { margin: 0; }
|
|
451
|
+
.ins-trow { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--cz-hair); font-size: 13.5px; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font-family: inherit; color: var(--cz-ink); text-align: left; }
|
|
452
|
+
.ins-trow > span:first-child { flex: 1; min-width: 0; }
|
|
453
|
+
.ins-trow:last-child { border-bottom: 0; }
|
|
454
|
+
.ins-th2, .ins-rd3 { display: grid; grid-template-columns: minmax(0, 1fr) 80px 130px; gap: 10px; align-items: center; }
|
|
455
|
+
.ins-th2 { font-size: 12px; font-weight: 800; color: var(--cz-ink3); padding: 8px 4px; border-bottom: 1px solid var(--cz-hair); }
|
|
456
|
+
.ins-rd3 > span:first-child { flex: none; }
|
|
457
|
+
.ins-chips2 { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
458
|
+
.ins-chk { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--cz-hair); box-shadow: inset 0 0 0 1px var(--cz-hair); flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: transparent; cursor: pointer; color: transparent; }
|
|
459
|
+
.ins-chk svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; }
|
|
460
|
+
.ins-chk.on { background: var(--cz-ink); border-color: var(--cz-ink); box-shadow: none; color: var(--cz-card); }
|
|
461
|
+
.ins-chkl { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--cz-ink); }
|
|
462
|
+
|
|
463
|
+
/* the Viewer card's frames: a tab row, the sub line, the chart, the body (IsGoal, IsLibrary) */
|
|
464
|
+
.ins-vbody svg[aria-hidden="true"] { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
|
|
465
|
+
.ins-gd { display: flex; flex-direction: column; gap: 12px; font-family: var(--cz-sans); color: var(--cz-ink); }
|
|
466
|
+
.ins-gd p { margin: 0; }
|
|
467
|
+
.ins-vbar { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 14px; background: var(--cz-well); }
|
|
468
|
+
.ins-vtab { height: 32px; padding: 0 12px; border-radius: 12px; border: 0; background: transparent; display: inline-flex; align-items: center; font: inherit; font-size: 13px; font-weight: 700; color: var(--cz-ink3); cursor: pointer; }
|
|
469
|
+
.ins-vtab.on { background: var(--cz-card); color: var(--cz-ink); box-shadow: 0 1px 2px rgba(42,46,53,.06); }
|
|
470
|
+
.ins-vbar .ins-vedit { margin-left: auto; }
|
|
471
|
+
.ins-gh { display: flex; flex-direction: column; gap: 2px; }
|
|
472
|
+
.ins-gsub { font-size: 13px; color: var(--cz-ink3); }
|
|
473
|
+
.ins-gb { display: flex; flex-direction: column; gap: 10px; }
|
|
474
|
+
.ins-gch { width: 100%; height: auto; display: block; overflow: visible; }
|
|
475
|
+
.ins-gch path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
476
|
+
.ins-gch .base { stroke: var(--cz-hair); stroke-width: 1; }
|
|
477
|
+
.ins-gch .tg { stroke: var(--cz-ok); stroke-dasharray: 4 4; stroke-width: 1.5; }
|
|
478
|
+
.ins-gch .tgl { fill: var(--cz-ok); font-size: 11px; font-weight: 700; }
|
|
479
|
+
.ins-gch .ln { stroke: var(--cz-blue); }
|
|
480
|
+
.ins-gch .pj { stroke: var(--cz-blue); stroke-dasharray: 3 5; }
|
|
481
|
+
.ins-gch .pt { fill: var(--cz-card); stroke: var(--cz-blue); stroke-width: 2; }
|
|
482
|
+
.ins-gch .pt.now { fill: var(--cz-blue); }
|
|
483
|
+
.ins-gch .ship { stroke: var(--cz-ink3); stroke-width: 1; }
|
|
484
|
+
.ins-gch .shipl { fill: var(--cz-ink3); font-size: 11px; }
|
|
485
|
+
.ins-etr { display: flex; align-items: center; gap: 10px; }
|
|
486
|
+
.ins-etr > span { flex: 1; }
|
|
487
|
+
.ins-mvl { display: flex; flex-direction: column; gap: 8px; }
|
|
488
|
+
.ins-gd.ph .ins-vbar { background: transparent; padding: 0; }
|
|
489
|
+
.ins-gd.ph .ins-vtab.on { background: var(--cz-well); box-shadow: none; }
|
|
490
|
+
.ins-gd .ins-trow .ins-tog { margin-left: auto; }
|
|
491
|
+
.ins-iss { cursor: pointer; }
|
|
492
|
+
.ins-iss > span:first-child { flex: none; width: 110px; }
|
|
493
|
+
.ins-nb { display: flex; align-items: center; gap: 10px; }
|
|
494
|
+
.ins-nb > span { flex: 1; }
|
|
495
|
+
|
|
496
|
+
/* Delivery trends: the target line under each tile, the open tile, the view of the tiles alone, and the target popover (IsTarget) */
|
|
497
|
+
.ins-tile .tg { font-size: 11px; font-weight: 700; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
498
|
+
.ins-tile.sel { box-shadow: 0 0 0 1px rgba(72,148,234,.55), 0 0 0 4px rgba(72,148,234,.12); }
|
|
499
|
+
.ins-tile.sel .tg { color: var(--cz-blueink); }
|
|
500
|
+
body.ins-trv #insHero, body.ins-trv #goalCards { display: none; }
|
|
501
|
+
.ins-trh { display: flex; align-items: baseline; gap: 10px; padding: 4px 0 14px; }
|
|
502
|
+
.ins-trh h2 { margin: 0; font-size: 18px; font-weight: 800; }
|
|
503
|
+
.ins-trends.big { border-top: 0; }
|
|
504
|
+
.ins-trends.big .ins-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; border-top: 0; }
|
|
505
|
+
.ins-trends.big .ins-tile { background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 18px; padding: 14px 16px; gap: 6px; }
|
|
506
|
+
.ins-trends.big .ins-tile.warn { background: var(--cz-latebg); }
|
|
507
|
+
.ins-trends.big .ins-tile .l { font-size: 12.5px; font-weight: 800; color: var(--cz-ink); }
|
|
508
|
+
.ins-trends.big .ins-tile .v { font-size: 26px; line-height: 1; }
|
|
509
|
+
.ins-trends.big .ins-tile .tg { font-size: 12px; }
|
|
510
|
+
.ins-trends.big .ins-tsp { width: 100%; height: 34px; }
|
|
511
|
+
.ins-pop { position: absolute; z-index: 40; background: var(--cz-card); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(42,46,53,.45), 0 0 0 1px var(--cz-hair); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-family: var(--cz-sans); color: var(--cz-ink); }
|
|
512
|
+
.ins-tgpop { width: 400px; }
|
|
513
|
+
.ins-tgpop.ph { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; }
|
|
514
|
+
.ins-tgpop .ins-seg { align-self: flex-start; }
|
|
515
|
+
.ins-tgpop .ins-inp { background: var(--cz-well); border-color: transparent; }
|
|
516
|
+
.ins-tgpop .ins-inp:disabled { opacity: .5; }
|
|
517
|
+
|
|
518
|
+
/* Library (IsLibrary): the bar, Found in your work, the reports table */
|
|
519
|
+
.ins-lbar { justify-content: flex-end; }
|
|
520
|
+
.ins-lbar .ins-lnote { margin-left: 0; margin-right: auto; font-size: 12.5px; color: var(--cz-ink3); }
|
|
521
|
+
.ins-fd { border: 1px dashed var(--cz-c-9aa1ab); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
|
|
522
|
+
.ins-fdh { display: flex; align-items: center; gap: 8px; }
|
|
523
|
+
.ins-fdh b { flex: 1; font-size: 13.5px; }
|
|
524
|
+
.ins-fcard { background: var(--cz-card); border-radius: 16px; border: 1px solid var(--cz-hair); padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 2px rgba(42,46,53,.04); }
|
|
525
|
+
.ins-fcard .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; background: none; border: 0; padding: 0; font: inherit; color: var(--cz-ink); text-align: left; cursor: pointer; }
|
|
526
|
+
.ins-fcard .nm b { font-size: 13.5px; }
|
|
527
|
+
.ins-fcard .nm small, .ins-rl .nm small { font-size: 12.5px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
|
|
528
|
+
.ins-rtbl { border: 1px solid var(--cz-hair); border-radius: 18px; overflow: hidden; }
|
|
529
|
+
.ins-rl { display: grid; grid-template-columns: minmax(0, 1fr) 150px 160px; align-items: center; gap: 0 14px; min-height: 58px; padding: 0 14px; width: 100%; border: 0; border-top: 1px solid var(--cz-hair); background: none; font: inherit; font-size: 13.5px; color: var(--cz-ink); text-align: left; cursor: pointer; }
|
|
530
|
+
.ins-rl.ins-rlh { min-height: 36px; border-top: 0; background: var(--cz-well); font-size: 12px; font-weight: 800; color: var(--cz-ink2); cursor: default; }
|
|
531
|
+
.ins-rl.sel { background: var(--cz-bluebg); }
|
|
532
|
+
.ins-rl .nm { display: flex; flex-direction: column; min-width: 0; }
|
|
533
|
+
.ins-rl .nx.q { color: var(--cz-ink3); }
|
|
534
|
+
@media (hover: hover) { .ins-rl:not(.ins-rlh):not(.sel):hover { background: rgba(244, 243, 240, .5); } }
|
|
535
|
+
/* the phone sheet of a report setup (IsPhone right) */
|
|
536
|
+
.ins-scrim { position: fixed; inset: 0; background: rgba(42,46,53,.18); z-index: 80; }
|
|
537
|
+
.ins-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; background: var(--cz-card); border-radius: 28px 28px 0 0; box-shadow: 0 -20px 50px -20px rgba(42,46,53,.35); padding: 10px 16px 24px; display: flex; flex-direction: column; gap: 10px; font-family: var(--cz-sans); color: var(--cz-ink); }
|
|
538
|
+
.ins-sheet p { margin: 0; }
|
|
539
|
+
.ins-sheet .ins-acts { flex-wrap: nowrap; }
|
|
540
|
+
.ins-sheet .ins-acts .ins-btn { flex: 1; }
|
|
541
|
+
.ins-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--cz-hair); box-shadow: inset 0 0 0 3px var(--cz-hair); align-self: center; margin-bottom: 4px; }
|
|
542
|
+
@media (max-width: 720px) {
|
|
543
|
+
.ins-findp, .ins-filtp { width: min(380px, calc(100vw - 32px)); }
|
|
544
|
+
.ins-lbar .ins-lnote { display: none; }
|
|
545
|
+
.ins-fcard { flex-wrap: wrap; }
|
|
546
|
+
.ins-fcard .nm { flex-basis: 100%; }
|
|
547
|
+
.ins-rtbl { border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
548
|
+
.ins-rl.ins-rlh { display: none; }
|
|
549
|
+
.ins-rl { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm st" "nx st"; border-top: 0; border-radius: 16px; padding: 8px 10px; min-height: 0; gap: 1px 10px; }
|
|
550
|
+
.ins-rl .nm { grid-area: nm; } .ins-rl .nm small { display: none; } .ins-rl .nx { grid-area: nx; font-size: 12.5px; color: var(--cz-blueink); } .ins-rl .st { grid-area: st; }
|
|
551
|
+
.ins-rl.sel { background: var(--cz-card); box-shadow: 0 6px 18px -10px rgba(42,46,53,.25); }
|
|
552
|
+
.ins-trends.big .ins-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
553
|
+
.ins-th2, .ins-rd3 { grid-template-columns: minmax(0, 1fr) 70px 90px; }
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/* The page makes room for the floating Viewer on a desktop; the notes in the Viewer, the popover and the sheet; the trends view has no table frame */
|
|
557
|
+
@media (min-width: 761px) { body.ins-vwon main.ins.stage { margin-right: 532px; } }
|
|
558
|
+
.ins-gd .note, .ins-pop .note, .ins-sheet .note { margin: 4px 0 0; font-size: 12px; color: var(--cz-ink3); }
|
|
559
|
+
body.ins-trv #goalTbl { border: 0; background: none; border-radius: 0; overflow: visible; }
|