rvlib-shipkit 2.27.0 → 2.28.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/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/src/agent-time/hooks.ts +10 -3
- package/src/agent-time/live.ts +11 -5
- package/src/agent-time/registry.ts +289 -0
- package/src/agent-time/store.ts +2 -2
- package/src/annex/born.ts +2 -2
- package/src/annex/offload.ts +12 -11
- package/src/asks/ask-after.ts +6 -2
- package/src/asks/ask-bar-fold.ts +57 -0
- package/src/asks/ask-migrate.ts +280 -0
- package/src/asks/ask-steps-fold.ts +166 -0
- package/src/asks/ask-store.ts +586 -0
- package/src/assets/kits/identity-kit.ts +106 -38
- package/src/assets/kits/poster-thumbnail.ts +282 -0
- package/src/checks/SK003-claude-md-shape.check.ts +92 -25
- package/src/checks/SK004-gitignore-policy.check.ts +8 -4
- package/src/checks/SK013-one-way-in-policy.check.ts +10 -0
- package/src/checks/SK026-asks-autoclose.check.ts +9 -23
- package/src/checks/SK038-speaks-as.check.ts +3 -3
- package/src/checks/SK042-post-kinds.check.ts +26 -24
- package/src/checks/SK049-thread-answers-hook.check.ts +81 -0
- package/src/checks/SK050-retired-commands.check.ts +127 -0
- package/src/cli/cmd_Asks.ts +204 -53
- package/src/cli/cmd_Backup.ts +151 -8
- package/src/cli/cmd_Calls.ts +1 -0
- package/src/cli/cmd_Commands.ts +140 -34
- package/src/cli/cmd_Contracts.ts +1 -0
- package/src/cli/cmd_Keys.ts +1 -0
- package/src/cli/cmd_Lanes.ts +15 -4
- package/src/cli/cmd_Messages.ts +152 -1
- package/src/cli/cmd_Needs.ts +1 -0
- package/src/cli/cmd_Review.ts +931 -229
- package/src/cli/cmd_Secret.ts +255 -34
- package/src/cli/cmd_Social.ts +36 -33
- package/src/cli/cmd_SocialDrafts.ts +235 -0
- package/src/cli/cmd_Sound.ts +22 -1
- package/src/cli/cmd_Start.ts +3 -2
- package/src/cli/cmd_ThreadHolds.ts +34 -0
- package/src/cli/cmd_ThreadKinds.ts +146 -0
- package/src/cli/cmd_ThreadReflect.ts +83 -0
- package/src/cli/cmd_ThreadSyncNeeds.ts +62 -0
- package/src/cli/cmd_Vault.ts +1 -1
- package/src/cli/cmd_When.ts +1 -0
- package/src/cli/family-help.ts +2 -2
- package/src/cli/family-pages.ts +1 -1
- package/src/cli/kit/builtins.ts +1 -0
- package/src/cli/kit/verb.ts +6 -2
- package/src/cli/registry.ts +21 -2
- package/src/cli.ts +5 -2
- package/src/collections/actions.ts +25 -74
- package/src/collections/collection-types.ts +9 -5
- package/src/collections/md-body.ts +5 -3
- package/src/collections/pings.ts +13 -6
- package/src/collections/providers.ts +53 -61
- package/src/collections/reflections.ts +9 -4
- package/src/core/discover-checks.ts +18 -3
- package/src/core/git.ts +31 -0
- package/src/core/house-layout.ts +17 -0
- package/src/core/layout.ts +10 -5
- package/src/core/locked-write.ts +4 -1
- package/src/core/machine-db.ts +5 -3
- package/src/core/migrate-layout.ts +8 -10
- package/src/home/activity.ts +8 -15
- package/src/home/daemon-jobs.ts +13 -1
- package/src/home/home-paths.ts +6 -3
- package/src/home/home-routes.ts +8 -0
- package/src/home/inbox-shape.ts +233 -100
- package/src/home/inbox.ts +26 -71
- package/src/home/machine-fold.ts +10 -15
- package/src/home/machine-host.ts +19 -1
- package/src/home/other-macs.ts +2 -2
- package/src/home/serve-web.ts +6 -5
- package/src/home/space-page.ts +1 -1
- package/src/home/vault-page.ts +51 -17
- package/src/home/vault-words.ts +2 -2
- package/src/hooks/one-way-in-guard.ts +24 -2
- package/src/hq/files-send.ts +27 -28
- package/src/hq/hq-db.ts +4 -1
- package/src/hq/hq-local.ts +37 -4
- package/src/hq/hq-routes.ts +10 -2
- package/src/hq/hq-store.ts +6 -2
- package/src/hq/kinds/ask.ts +6 -6
- package/src/hq/outbox.ts +5 -3
- package/src/hq/replica.ts +1 -2
- package/src/hq/vault-route.ts +112 -0
- package/src/identities/collection.ts +2 -2
- package/src/identities/identities.ts +9 -8
- package/src/identities/machine-route.ts +8 -3
- package/src/ledger/db.ts +8 -1
- package/src/media-store/backup/daemon.ts +48 -8
- package/src/media-store/backup/keys.ts +1 -1
- package/src/media-store/backup/manifest.ts +20 -2
- package/src/media-store/backup/prune.ts +365 -0
- package/src/media-store/backup/retention.ts +122 -0
- package/src/media-store/backup/run.ts +14 -8
- package/src/media-store/backup/sources.ts +18 -17
- package/src/media-store/backup/thread-copy.ts +340 -0
- package/src/media-store/copy/config.ts +3 -4
- package/src/media-store/copy/store.ts +2 -2
- package/src/media-store/db.ts +2 -2
- package/src/media-store/forget.ts +118 -0
- package/src/media-store/purge.ts +3 -2
- package/src/media-store/space-listing.ts +20 -4
- package/src/media-store/space.ts +6 -5
- package/src/messages/guard.ts +49 -0
- package/src/messages/model.ts +1 -1
- package/src/messages/objects.ts +201 -0
- package/src/messages/routes.ts +2 -2
- package/src/messages/score.ts +1 -1
- package/src/messages/write.ts +285 -0
- package/src/pages/frame-client.ts +181 -4
- package/src/reflections/reflections-queue.ts +1 -1
- package/src/release/gate-checkout.ts +2 -1
- package/src/release/git-facts.ts +3 -2
- package/src/release/public-clean.ts +3 -2
- package/src/repo-config.ts +40 -18
- package/src/review/anim.ts +1 -1
- package/src/review/answer-kinds.ts +131 -0
- package/src/review/band.ts +53 -0
- package/src/review/branch-hold.ts +84 -0
- package/src/review/card-db.ts +16 -6
- package/src/review/card-rows.ts +4 -3
- package/src/review/cells.ts +297 -65
- package/src/review/close.ts +92 -0
- package/src/review/draft-card.ts +8 -16
- package/src/review/draft-model.ts +2 -2
- package/src/review/events.ts +171 -0
- package/src/review/format.ts +128 -14
- package/src/review/glyphs.ts +63 -0
- package/src/review/gone.ts +1 -1
- package/src/review/holds-sync.ts +62 -0
- package/src/review/holds.ts +85 -0
- package/src/review/house-kind-defs.ts +41 -0
- package/src/review/inbox-hook.ts +22 -9
- package/src/review/inbox-read.ts +201 -0
- package/src/review/instructions.ts +199 -0
- package/src/review/kind-apply.ts +61 -0
- package/src/review/kind-catalog.ts +96 -0
- package/src/review/kinds.ts +278 -0
- package/src/review/lane-ask.ts +109 -0
- package/src/review/model.ts +396 -86
- package/src/review/move.ts +3 -3
- package/src/review/need-address.ts +15 -0
- package/src/review/need-threads.ts +93 -0
- package/src/review/object-card.ts +48 -0
- package/src/review/object-read.ts +31 -0
- package/src/review/owner-verdict.ts +36 -0
- package/src/review/parties.ts +182 -0
- package/src/review/previews.ts +3 -1
- package/src/review/projections.ts +235 -0
- package/src/review/referring.ts +54 -0
- package/src/review/reflection-object.ts +195 -0
- package/src/review/routes.ts +137 -32
- package/src/review/secret-route.ts +80 -0
- package/src/review/snooze.ts +38 -0
- package/src/review/stage-card.ts +4 -4
- package/src/review/store.ts +366 -85
- package/src/review/supersede.ts +116 -0
- package/src/review/take-back.ts +52 -0
- package/src/review/thread-fold.ts +20 -7
- package/src/review/threads.ts +236 -39
- package/src/review/traces.ts +218 -0
- package/src/review/trailer-card.ts +2 -2
- package/src/review/unit.ts +71 -5
- package/src/review/verdict-items.ts +73 -0
- package/src/review/verdict-write.ts +15 -0
- package/src/review/wait.ts +85 -0
- package/src/review/watchers.ts +22 -9
- package/src/scaffold/files/claude-settings-local.json +2 -0
- package/src/secrets/archive-mark.ts +52 -0
- package/src/secrets/archive.ts +83 -0
- package/src/secrets/copy.ts +14 -14
- package/src/secrets/keychain-write.ts +48 -0
- package/src/secrets/keychain.ts +8 -5
- package/src/secrets/lapse-mark.ts +33 -0
- package/src/secrets/lapse.ts +60 -0
- package/src/secrets/list.ts +16 -22
- package/src/secrets/manager.ts +31 -16
- package/src/secrets/read.ts +161 -33
- package/src/secrets/tail.ts +31 -0
- package/src/serve/hub-app/asks-page.tsx +2 -1
- package/src/serve/hub-app/auto-text.tsx +14 -6
- package/src/serve/hub-app/benign-errors.ts +15 -1
- package/src/serve/hub-app/card-head.tsx +49 -0
- package/src/serve/hub-app/check-view.tsx +3 -2
- package/src/serve/hub-app/code-copy.ts +35 -0
- package/src/serve/hub-app/col-card.tsx +31 -40
- package/src/serve/hub-app/col-list-page.tsx +5 -2
- package/src/serve/hub-app/col-tables-view.tsx +7 -4
- package/src/serve/hub-app/col-tables.ts +5 -5
- package/src/serve/hub-app/cols-svc.ts +4 -79
- package/src/serve/hub-app/commands/commands-page.tsx +2 -1
- package/src/serve/hub-app/controls.css +83 -0
- package/src/serve/hub-app/frames-st.ts +17 -1
- package/src/serve/hub-app/git-view.tsx +3 -2
- package/src/serve/hub-app/home-st.ts +57 -6
- package/src/serve/hub-app/home-strip.css +1 -6
- package/src/serve/hub-app/home-strip.tsx +2 -1
- package/src/serve/hub-app/home.html +3 -0
- package/src/serve/hub-app/house-wiki-view.tsx +20 -0
- package/src/serve/hub-app/hub-app.tsx +48 -32
- package/src/serve/hub-app/hub-types.ts +2 -0
- package/src/serve/hub-app/hub.css +50 -61
- package/src/serve/hub-app/icons.tsx +14 -4
- package/src/serve/hub-app/identities-view.tsx +4 -3
- package/src/serve/hub-app/inbox-st.ts +203 -42
- package/src/serve/hub-app/inbox-view.tsx +189 -101
- package/src/serve/hub-app/inbox.css +47 -44
- package/src/serve/hub-app/index.html +3 -0
- package/src/serve/hub-app/instructions.css +30 -0
- package/src/serve/hub-app/keys.ts +5 -3
- package/src/serve/hub-app/machine-st.ts +2 -2
- package/src/serve/hub-app/machines-view.tsx +4 -11
- package/src/serve/hub-app/machines.css +0 -9
- package/src/serve/hub-app/markdown.css +51 -0
- package/src/serve/hub-app/md-copy.tsx +18 -40
- package/src/serve/hub-app/md.ts +25 -9
- package/src/serve/hub-app/media-view.tsx +2 -2
- package/src/serve/hub-app/messages/messages-page.tsx +2 -1
- package/src/serve/hub-app/messages/messages-st.ts +1 -1
- package/src/serve/hub-app/messages.css +0 -1
- package/src/serve/hub-app/objects.css +51 -0
- package/src/serve/hub-app/page-keys.ts +1 -1
- package/src/serve/hub-app/pages-frames.tsx +11 -1
- package/src/serve/hub-app/palette-st.ts +4 -4
- package/src/serve/hub-app/pane-boundary.tsx +72 -0
- package/src/serve/hub-app/pane-errors.ts +54 -0
- package/src/serve/hub-app/plan-view.tsx +3 -2
- package/src/serve/hub-app/planned-view.tsx +3 -3
- package/src/serve/hub-app/planned.css +0 -4
- package/src/serve/hub-app/processes-view.tsx +3 -2
- package/src/serve/hub-app/project-list.css +5 -13
- package/src/serve/hub-app/project-list.tsx +3 -6
- package/src/serve/hub-app/projects-svc.ts +6 -2
- package/src/serve/hub-app/readme.css +9 -15
- package/src/serve/hub-app/reflections-page.tsx +54 -1
- package/src/serve/hub-app/releases/releases-page.tsx +3 -2
- package/src/serve/hub-app/releases.css +0 -1
- package/src/serve/hub-app/review/code-colors.ts +30 -0
- package/src/serve/hub-app/review/diff-view.tsx +75 -0
- package/src/serve/hub-app/review/dock.tsx +104 -0
- package/src/serve/hub-app/review/draft-card.tsx +2 -2
- package/src/serve/hub-app/review/group-block.tsx +209 -0
- package/src/serve/hub-app/review/instructions-view.tsx +116 -0
- package/src/serve/hub-app/review/item-verdict.tsx +38 -0
- package/src/serve/hub-app/review/kind-states.tsx +193 -0
- package/src/serve/hub-app/review/kind-view.tsx +1 -37
- package/src/serve/hub-app/review/kit.tsx +57 -54
- package/src/serve/hub-app/review/lane-bar.tsx +64 -0
- package/src/serve/hub-app/review/object-card.tsx +62 -0
- package/src/serve/hub-app/review/object-panel.tsx +179 -0
- package/src/serve/hub-app/review/question-views.tsx +385 -0
- package/src/serve/hub-app/review/review-cells.tsx +86 -105
- package/src/serve/hub-app/review/review-list.tsx +104 -47
- package/src/serve/hub-app/review/review-page.tsx +5 -4
- package/src/serve/hub-app/review/review-st.ts +68 -28
- package/src/serve/hub-app/review/review-thread.tsx +171 -40
- package/src/serve/hub-app/review/review-views.tsx +35 -31
- package/src/serve/hub-app/review/thread-close.tsx +124 -0
- package/src/serve/hub-app/review/thread-control.tsx +4 -4
- package/src/serve/hub-app/review/thread-st.ts +222 -22
- package/src/serve/hub-app/review/trailer-card.tsx +1 -1
- package/src/serve/hub-app/review/trailer-timeline.tsx +2 -2
- package/src/serve/hub-app/review.css +216 -57
- package/src/serve/hub-app/section-head.tsx +51 -0
- package/src/serve/hub-app/social/calendar.tsx +5 -11
- package/src/serve/hub-app/social/comms-page.tsx +23 -10
- package/src/serve/hub-app/social/kit.tsx +8 -15
- package/src/serve/hub-app/social/next-release.tsx +3 -5
- package/src/serve/hub-app/social/post-card.tsx +3 -0
- package/src/serve/hub-app/social/post-page.tsx +80 -0
- package/src/serve/hub-app/social/problems.tsx +5 -9
- package/src/serve/hub-app/social/social-model.ts +13 -5
- package/src/serve/hub-app/social/social-page.tsx +1 -1
- package/src/serve/hub-app/social/social-st.ts +42 -5
- package/src/serve/hub-app/social.css +7 -17
- package/src/serve/hub-app/space.css +1 -1
- package/src/serve/hub-app/stores/stores-page.tsx +6 -2
- package/src/serve/hub-app/thread-row.tsx +101 -0
- package/src/serve/hub-app/time-ago.tsx +3 -2
- package/src/serve/hub-app/time-view.tsx +2 -1
- package/src/serve/hub-app/time.css +2 -5
- package/src/serve/hub-app/tree-row.tsx +1 -9
- package/src/serve/hub-app/vault-view.tsx +4 -4
- package/src/serve/hub-app/veille/veille-page.tsx +2 -11
- package/src/serve/hub-app/veille.css +0 -1
- package/src/serve/hub-app/waiting-svc.ts +4 -4
- package/src/serve/hub-app/when-view.tsx +6 -3
- package/src/serve/hub-app/wiki-st.ts +30 -4
- package/src/serve/hub-app/wikis-view.tsx +4 -3
- package/src/serve/hub-runtime.ts +20 -6
- package/src/serve/project-gutter-route.ts +16 -6
- package/src/serve/project-gutter.ts +6 -53
- package/src/serve/same-origin.ts +3 -0
- package/src/serve/secret-gate.ts +21 -0
- package/src/serve/serve-hub.ts +29 -20
- package/src/serve/tailnet-caller.ts +117 -0
- package/src/shipkit.ts +2 -2
- package/src/site/desk.ts +2 -2
- package/src/smoke/run-smoke.ts +3 -4
- package/src/social/brands.ts +4 -0
- package/src/social/card-drafts.ts +11 -19
- package/src/social/desk-index.ts +34 -13
- package/src/social/drafts.ts +4 -4
- package/src/social/import-drafts.ts +244 -0
- package/src/social/kind-pages.ts +3 -3
- package/src/social/kinds.ts +1 -1
- package/src/social/load.ts +89 -64
- package/src/social/media-kind.ts +68 -161
- package/src/social/media-of.ts +5 -4
- package/src/social/open.ts +3 -2
- package/src/social/post-object.ts +120 -0
- package/src/social/post-sources.ts +136 -0
- package/src/social/post-text.ts +103 -0
- package/src/social/posts.ts +378 -0
- package/src/social/presence.ts +7 -5
- package/src/social/publish/index.ts +17 -5
- package/src/social/publish/secret.ts +2 -2
- package/src/social/release-stage.ts +58 -57
- package/src/social/routes.ts +64 -24
- package/src/social/stage.ts +42 -57
- package/src/social/text.ts +4 -3
- package/src/social/thumbnail.ts +135 -43
- package/src/social/tracker.ts +1 -1
- package/src/social/writes.ts +12 -29
- package/src/stores/desk.ts +16 -11
- package/src/stores/unit.ts +2 -2
- package/src/trailer/sound/eleven.ts +33 -3
- package/src/urls/rows.ts +1 -1
- package/src/vault/vault-http.ts +11 -3
- package/src/vault/vault-import.ts +6 -1
- package/src/veille/identity.ts +2 -2
- package/src/wiki/graph-pages.ts +13 -1
- package/src/wiki/scan-md.ts +1 -1
- package/src/asks/asks-queue.ts +0 -424
- package/src/messages/suggest.ts +0 -96
- package/src/social/migrate.ts +0 -123
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
--ground:#1b2521;--groundline:#2a3630;--tag:#eef2f6;
|
|
24
24
|
/* the KIND hues: a row's type, never its state (tree-build TYPE_MARK) */
|
|
25
25
|
--k1:#8ca8c7;--k2:#a892c9;--k3:#6fb0b8;--k4:#c792b4;--k5:#9198a1;--k6:#8f95cf;
|
|
26
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
27
|
+
--kind-s:58%;--kind-l:66%;
|
|
26
28
|
/* the chart series (the time page): four hues told apart as neighbours on --panel in each theme, colour blind
|
|
27
29
|
views included (measured as a set, in this order); a series keeps its hue on every chart, never a state */
|
|
28
30
|
--viz1:#3987e5;--viz2:#d95926;--viz3:#199e70;--viz4:#9085e9;
|
|
@@ -34,6 +36,8 @@
|
|
|
34
36
|
--errbg:#2a1a1a;--errline:#4a2c2c;--errink:#e3bebe;
|
|
35
37
|
/* a running thing's wash, the green twin of errbg and errline */
|
|
36
38
|
--okbg:#15251c;--okline:#2f5a40;
|
|
39
|
+
/* inline code in markdown (markdown.css): an amber text on a faint amber wash, AA on every surface of its theme */
|
|
40
|
+
--code:#e3b45c;--codebg:rgba(227,180,92,.12);
|
|
37
41
|
/* the ONE spacing scale: every padding, margin and gap in this sheet is a
|
|
38
42
|
value from it or 0, and tests/hub-css-invariants.test.ts fails the rest */
|
|
39
43
|
--s0:2px;--s1:4px;--s2:8px;--s3:12px;--s4:16px}
|
|
@@ -51,12 +55,15 @@
|
|
|
51
55
|
--hi1:rgba(0,0,0,.2);--hi2:rgba(0,0,0,.11);--hi3:rgba(0,0,0,.045);
|
|
52
56
|
--ground:#e3ede6;--groundline:#c6d6cb;--tag:#eef2f6;
|
|
53
57
|
--k1:#3b6087;--k2:#695099;--k3:#24676f;--k4:#8e4470;--k5:#585f67;--k6:#4f56a8;
|
|
58
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
59
|
+
--kind-s:55%;--kind-l:38%;
|
|
54
60
|
--viz1:#2a78d6;--viz2:#eb6834;--viz3:#1baf7a;--viz4:#6250d6;
|
|
55
61
|
--review:#a72288;
|
|
56
62
|
--ref-lazy:#944d0a;--ref-eager:#1d5abd;
|
|
57
63
|
--wash:rgba(59,104,150,.12);--wash2:rgba(59,104,150,.08);--hair:rgba(59,104,150,.45);
|
|
58
64
|
--errbg:#fbe9e8;--errline:#efc4c2;--errink:#8a2520;
|
|
59
|
-
--okbg:#e6f3eb;--okline:#9ccdaf
|
|
65
|
+
--okbg:#e6f3eb;--okline:#9ccdaf;
|
|
66
|
+
--code:#7a4b00;--codebg:rgba(176,122,12,.13)}
|
|
60
67
|
/* THE DIM TOKENS: between the two, on the dark side: slate surfaces a clear step up from the dark page, the same
|
|
61
68
|
light inks. Light text, so it reads as a dark scheme to the browser and to a framed page */
|
|
62
69
|
:root[data-theme=dim]{--bg:#22262c;--panel:#2a2f36;
|
|
@@ -68,12 +75,15 @@
|
|
|
68
75
|
--hi1:rgba(255,255,255,.28);--hi2:rgba(255,255,255,.16);--hi3:rgba(255,255,255,.07);
|
|
69
76
|
--ground:#2b3a33;--groundline:#3c4d44;--tag:#eef2f6;
|
|
70
77
|
--k1:#9db8d5;--k2:#b7a3d6;--k3:#80bfc7;--k4:#d3a2c1;--k5:#a9b0b9;--k6:#a7addf;
|
|
78
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
79
|
+
--kind-s:55%;--kind-l:68%;
|
|
71
80
|
--viz1:#3987e5;--viz2:#d95926;--viz3:#199e70;--viz4:#9085e9;
|
|
72
81
|
--review:#ee8fdc;
|
|
73
82
|
--ref-lazy:#eea65f;--ref-eager:#82b5f4;
|
|
74
83
|
--wash:rgba(132,168,204,.17);--wash2:rgba(132,168,204,.12);--hair:rgba(132,168,204,.5);
|
|
75
84
|
--errbg:#402c2c;--errline:#633f3f;--errink:#eecccc;
|
|
76
|
-
--okbg:#27392f;--okline:#427054
|
|
85
|
+
--okbg:#27392f;--okline:#427054;
|
|
86
|
+
--code:#f0c66e;--codebg:rgba(240,198,110,.13)}
|
|
77
87
|
/* THE GREY TOKENS: between the two, on the light side: grey paper a clear step down from the light page, darker inks
|
|
78
88
|
to keep their contrast on it. Dark text, so it reads as a light scheme */
|
|
79
89
|
:root[data-theme=grey]{--bg:#cfd3d9;--panel:#dbdee3;
|
|
@@ -85,12 +95,15 @@
|
|
|
85
95
|
--hi1:rgba(0,0,0,.22);--hi2:rgba(0,0,0,.13);--hi3:rgba(0,0,0,.06);
|
|
86
96
|
--ground:#bfcdc4;--groundline:#a3b6aa;--tag:#eef2f6;
|
|
87
97
|
--k1:#2c4d70;--k2:#523b80;--k3:#17525a;--k4:#74325a;--k5:#434950;--k6:#3c438c;
|
|
98
|
+
/* a kind's icon (review/glyphs.ts KIND_HUES): one muted tone for every hue, so none shouts on the calm rows */
|
|
99
|
+
--kind-s:55%;--kind-l:30%;
|
|
88
100
|
--viz1:#2a78d6;--viz2:#eb6834;--viz3:#1baf7a;--viz4:#6250d6;
|
|
89
101
|
--review:#8a1570;
|
|
90
102
|
--ref-lazy:#7a3d04;--ref-eager:#14479c;
|
|
91
103
|
--wash:rgba(39,77,116,.14);--wash2:rgba(39,77,116,.09);--hair:rgba(39,77,116,.5);
|
|
92
104
|
--errbg:#e6cfcd;--errline:#d0a5a2;--errink:#7a1f1a;
|
|
93
|
-
--okbg:#c9dccf;--okline:#84b497
|
|
105
|
+
--okbg:#c9dccf;--okline:#84b497;
|
|
106
|
+
--code:#5c3a00;--codebg:rgba(168,116,10,.16)}
|
|
94
107
|
/* a repo's own colour, the one fit for the theme: the light one where the text is dark (projects-svc idVars) */
|
|
95
108
|
.idc{color:var(--idd)}
|
|
96
109
|
:root[data-theme=light] .idc,:root[data-theme=grey] .idc{color:var(--idl)}
|
|
@@ -167,11 +180,16 @@ a,a:visited{color:var(--accent)}
|
|
|
167
180
|
.hicon:hover{color:var(--accent)}
|
|
168
181
|
.hicon .hico{width:15px;height:15px}
|
|
169
182
|
/* the home's places at the start of the top bar, apart from the page's own pieces; the page shown is lit */
|
|
170
|
-
/*
|
|
171
|
-
.caret
|
|
183
|
+
/* THE caret (icons.tsx Caret), the left bar's: a thin 10 px chevron, dim, lit when what it folds is hovered, turned by
|
|
184
|
+
its state, never a text glyph. No other sheet sizes, colours or turns it (tests/hub-caret-card-head.test.ts): a page
|
|
185
|
+
places it, never draws it */
|
|
186
|
+
.caret{flex:none;display:inline-block;width:10px;height:10px;vertical-align:middle;color:var(--dim);transition:transform .12s ease}
|
|
172
187
|
.caret.open{transform:rotate(90deg)}
|
|
173
188
|
.caret.v{transform:rotate(90deg)}
|
|
174
189
|
.caret.v.open{transform:rotate(-90deg)}
|
|
190
|
+
.caret.side{transform:rotate(180deg)}
|
|
191
|
+
.caret.side.open{transform:none}
|
|
192
|
+
:is(button,.tsec,.trow,.rline,.vbar):hover .caret{color:var(--ink)}
|
|
175
193
|
@media (prefers-reduced-motion:reduce){.caret{transition:none}}
|
|
176
194
|
|
|
177
195
|
/* a row of a (?) legend: one glyph or word, then its meaning */
|
|
@@ -200,7 +218,6 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
200
218
|
.tsec .hico{width:16px;height:16px}
|
|
201
219
|
.tsec.tpfirst{margin-top:var(--s2);box-shadow:inset 0 1px 0 var(--line)}
|
|
202
220
|
.tsec.tpfirst.cur{box-shadow:inset 3px 0 0 var(--accent),inset 0 1px 0 var(--line)}
|
|
203
|
-
.tsec:hover .tw{color:var(--ink)}
|
|
204
221
|
.rsecl{min-width:0;padding-left:var(--s0);overflow:hidden;text-overflow:ellipsis}
|
|
205
222
|
.rsecn{min-width:13px;height:13px;padding:0 var(--s0);border-radius:7px;font-size:9px;font-weight:700;line-height:13px;text-align:center;color:var(--bg)}
|
|
206
223
|
/* a section's key: the project list's key (.pjkey), a size down so the name keeps the room */
|
|
@@ -215,14 +232,8 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
215
232
|
.tsec.s-review .rsecn.nwarn{background:var(--review)}
|
|
216
233
|
/* ── A LIST'S ROWS AND BANDS: the rows of the B and C lists (the identities, the database page), in the tree's
|
|
217
234
|
shape (.tsec): 26px, a 16px icon, the name, what it carries at its end (a figure, a dot), the picked one on the
|
|
218
|
-
selection with the accent bar.
|
|
219
|
-
|
|
220
|
-
.idband,.lband{display:flex;align-items:center;gap:var(--s1);height:24px;margin-top:var(--s2);padding:0 var(--s3);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);background:var(--hi3);box-shadow:inset 0 1px 0 var(--line)}
|
|
221
|
-
.idband span,.lband .lbandn{color:var(--dim);font-weight:400;letter-spacing:0;margin-left:auto;font-variant-numeric:tabular-nums}
|
|
222
|
-
.lband{width:100%;border:0;border-radius:0;text-align:left;cursor:pointer;font-family:inherit}
|
|
223
|
-
.lband:hover{color:var(--accent)}
|
|
224
|
-
.lband .caret{color:var(--dim)}
|
|
225
|
-
.lband:focus-visible{outline:1px solid var(--accent);outline-offset:-1px}
|
|
235
|
+
selection with the accent bar. The hub's one head titles its rows (section-head.tsx, controls.css .sh). A page
|
|
236
|
+
never draws these its own way (tests/database-page.test.tsx holds its sheet to it) ── */
|
|
226
237
|
.idrows,.lrows{display:flex;flex-direction:column;padding-top:var(--s1)}
|
|
227
238
|
.idrow,.lrow{display:flex;align-items:center;gap:var(--s2);height:26px;padding:0 var(--s3);color:var(--dim);font-size:13px;text-decoration:none;white-space:nowrap;min-width:0;cursor:pointer}
|
|
228
239
|
.lrow{width:100%;border:0;border-radius:0;background:none;text-align:left;font-family:inherit}
|
|
@@ -270,12 +281,8 @@ aside > .tscroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3
|
|
|
270
281
|
align-items:center;gap:var(--s1);padding:0 var(--s1);height:20px;line-height:20px;cursor:pointer;white-space:nowrap}
|
|
271
282
|
.trow:hover{background:var(--panel2)}
|
|
272
283
|
.trow.on{background:var(--sel);box-shadow:inset 2px 0 0 var(--accent)}
|
|
273
|
-
/* the
|
|
274
|
-
|
|
275
|
-
.tw{display:flex;align-items:center;justify-content:flex-end;height:20px;color:var(--dim);user-select:none}
|
|
276
|
-
.trow:hover .tw{color:var(--ink)}
|
|
277
|
-
.cvt{transition:transform .12s ease;transform-origin:50% 50%;flex:none}
|
|
278
|
-
.cvt.open{transform:rotate(90deg)}
|
|
284
|
+
/* the caret's hit target: the whole first column */
|
|
285
|
+
.tw{display:flex;align-items:center;justify-content:flex-end;height:20px;user-select:none}
|
|
279
286
|
/* WHAT a row is: one glyph, one hue per kind. The hue is the kind's
|
|
280
287
|
identity and carries no state, which is why it is its own slot */
|
|
281
288
|
.ty{font-size:11px;text-align:center;user-select:none;color:var(--dim)}
|
|
@@ -329,9 +336,11 @@ main{display:flex;flex-direction:column;min-height:0;overflow:hidden}
|
|
|
329
336
|
scrolls only past ~14 lines), then ONE slim toolbar row */
|
|
330
337
|
.bar{display:flex;flex-direction:column;gap:var(--s2);padding:var(--s2) var(--s4);border-bottom:1px solid var(--line);background:var(--panel)}
|
|
331
338
|
textarea{width:100%;min-height:64px;background:var(--bg);color:var(--ink);border:1px solid var(--line);
|
|
332
|
-
border-radius:3px;padding:var(--s2) var(--s3);font:12px/1.5 ui-monospace,Menlo,monospace;resize:vertical
|
|
333
|
-
|
|
334
|
-
|
|
339
|
+
border-radius:3px;padding:var(--s2) var(--s3);font:12px/1.5 ui-monospace,Menlo,monospace;resize:vertical;
|
|
340
|
+
white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:hidden}
|
|
341
|
+
/* auto-text.tsx: the box is as tall as its text (two lines at rest), up to a cap past which it scrolls; a sheet may
|
|
342
|
+
cap it lower */
|
|
343
|
+
textarea.autotext{box-sizing:border-box;min-height:0;resize:none;overflow-y:hidden;max-height:min(45vh,360px)}
|
|
335
344
|
.promptrow{display:flex;gap:var(--s1);align-items:flex-start}
|
|
336
345
|
.promptrow .fold{flex:none;background:var(--panel2);color:var(--dim);border:1px solid var(--line);border-radius:3px;
|
|
337
346
|
padding:var(--s1) var(--s2);font-size:11px;line-height:1.5}
|
|
@@ -367,6 +376,11 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
367
376
|
.help{font-size:11px;color:var(--dim);padding:var(--s1) var(--s4);border-top:1px solid var(--line)}
|
|
368
377
|
.errs{background:var(--errbg);border-bottom:1px solid var(--errline);color:var(--errink);font:12px/1.5 ui-monospace,Menlo,monospace;
|
|
369
378
|
padding:var(--s1) var(--s4);white-space:pre-wrap}
|
|
379
|
+
/* one pane that failed to draw (pane-boundary.tsx): small, in its own place, the rest of the hub untouched */
|
|
380
|
+
.pane-err{display:flex;flex-direction:column;gap:var(--s1);margin:var(--s2);padding:var(--s2) var(--s3);border:1px solid var(--errline);
|
|
381
|
+
border-radius:6px;background:var(--errbg);color:var(--errink);font-size:12.5px;min-width:0}
|
|
382
|
+
.pane-err code{font:12px/1.4 ui-monospace,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
383
|
+
.pane-errrow{display:flex;gap:var(--s2);flex-wrap:wrap}
|
|
370
384
|
|
|
371
385
|
/* ── per-asset info chips ── */
|
|
372
386
|
.info{flex-wrap:wrap;gap:var(--s1);align-items:center;padding:var(--s1) var(--s4);border-bottom:1px solid var(--line);background:var(--panel2)}
|
|
@@ -654,7 +668,6 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
654
668
|
.rran{color:var(--accent)}
|
|
655
669
|
.rcached{color:var(--dim)}
|
|
656
670
|
.rran.zero,.rcached.zero{opacity:.4}
|
|
657
|
-
.rcaret{color:var(--dim)}
|
|
658
671
|
.rwho{border:1px solid var(--line);border-radius:3px;padding:0 var(--s1);font-size:10px;line-height:16px;text-align:center;text-transform:uppercase;letter-spacing:.04em;color:var(--dim)}
|
|
659
672
|
.rchild .rid{grid-column:2/5;display:flex;gap:var(--s2);align-items:center;padding-left:var(--s4)}
|
|
660
673
|
.rchild .rname{min-width:0;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -673,20 +686,11 @@ kbd{background:var(--panel2);border:1px solid var(--line);border-radius:4px;padd
|
|
|
673
686
|
/* it holds its width: a label growing from `run it now` to `running` used
|
|
674
687
|
to resize the header under the pointer */
|
|
675
688
|
.urun{min-width:104px;display:inline-flex;gap:var(--s1);align-items:center;justify-content:center}
|
|
676
|
-
/*
|
|
677
|
-
project card read these */
|
|
678
|
-
.wcard{background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:var(--s3);min-width:0}
|
|
679
|
-
.wcard.wide{grid-column:1/-1}
|
|
680
|
-
.wtitle{display:flex;gap:var(--s1);align-items:center;font-size:11px;text-transform:uppercase;letter-spacing:.08em;
|
|
681
|
-
color:var(--dim);margin-bottom:var(--s2)}
|
|
689
|
+
/* label and value facts: the project card reads these */
|
|
682
690
|
.wbody{font-size:12.5px;min-width:0}
|
|
683
691
|
.wfact{display:flex;gap:var(--s2);align-items:baseline;padding:var(--s1) 0;border-top:1px solid var(--line);min-width:0}
|
|
684
692
|
.wk{flex:0 0 88px;color:var(--dim);font-size:11px;display:flex;gap:var(--s0);align-items:center}
|
|
685
693
|
.wv{flex:1;min-width:0;word-break:break-word}
|
|
686
|
-
.wcard code{display:inline;background:var(--panel2);border:1px solid var(--line);border-radius:3px;
|
|
687
|
-
padding:0 var(--s1);margin:0;font:11.5px ui-monospace,Menlo,monospace;max-height:none;white-space:normal}
|
|
688
|
-
.wcard .dim{color:var(--dim)}
|
|
689
|
-
.wcard .md{min-height:120px;max-height:320px;overflow-y:auto}
|
|
690
694
|
/* the head: the id as a small tag, then the title, then the run button */
|
|
691
695
|
.chead{display:flex;gap:var(--s2);align-items:baseline;flex-wrap:wrap}
|
|
692
696
|
.chead .sp{flex:1}
|
|
@@ -717,8 +721,11 @@ a.tok{color:var(--accent)}
|
|
|
717
721
|
/* a path never breaks mid token: it truncates, and its tooltip is the whole */
|
|
718
722
|
.checkcard .cpath{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
|
|
719
723
|
.checkcard .dim{color:var(--dim)}
|
|
720
|
-
/* what is not a fact: the output and the slow suites, titled,
|
|
724
|
+
/* what is not a fact: the output and the slow suites, each a card titled by the one card head (card-head.tsx), the
|
|
725
|
+
head at the card's edges as in every card */
|
|
721
726
|
.csec{margin-top:var(--s4)}
|
|
727
|
+
.colcard>.csec>.ch{margin:0 calc(-1 * var(--s3))}
|
|
728
|
+
.colcard>.csec>.ch:first-child{margin-top:calc(-1 * var(--s2))}
|
|
722
729
|
/* where it runs: one line per context, the value then its meaning. A context
|
|
723
730
|
that never runs the check stays dim, so the lit lines read down the list */
|
|
724
731
|
.cruns{display:grid;grid-template-columns:auto auto minmax(0,1fr);column-gap:var(--s3);row-gap:var(--s0);align-items:baseline}
|
|
@@ -728,8 +735,6 @@ a.tok{color:var(--accent)}
|
|
|
728
735
|
.crun.cache .crv{color:var(--ink)}
|
|
729
736
|
.crm{font-size:11.5px;color:var(--dim);opacity:.8}
|
|
730
737
|
.crun:not(.on) .crm{opacity:.5}
|
|
731
|
-
.cstitle{display:flex;gap:var(--s1);align-items:center;font-size:11px;text-transform:uppercase;letter-spacing:.08em;
|
|
732
|
-
color:var(--dim);margin-bottom:var(--s2)}
|
|
733
738
|
.wline{margin-bottom:var(--s1);word-break:break-word}
|
|
734
739
|
/* the check's own sentence, under the title: it answers "what is this row",
|
|
735
740
|
and the grid below it is detail. Rendered as markdown, so a code span and a
|
|
@@ -805,11 +810,7 @@ a.tok{color:var(--accent)}
|
|
|
805
810
|
.ctbox{background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:var(--s1) 0}
|
|
806
811
|
.cttable{font-variant-numeric:tabular-nums}
|
|
807
812
|
.cttable td{padding:var(--s0) var(--s2);vertical-align:baseline}
|
|
808
|
-
.ctgrp td{padding:var(--s2)
|
|
809
|
-
.ctgrp:hover td{color:var(--accent)}
|
|
810
|
-
.ctgrp.g-fail td{color:var(--red)}
|
|
811
|
-
.ctgrp.g-warn td{color:var(--warn)}
|
|
812
|
-
.ctcaret{display:inline-flex;width:18px}
|
|
813
|
+
.cttable .ctgrp td{padding:var(--s2) 0 0}
|
|
813
814
|
.ctrow{cursor:pointer}
|
|
814
815
|
.ctrow:hover{background:var(--panel2)}
|
|
815
816
|
.ctdot{font-size:10px}
|
|
@@ -861,6 +862,8 @@ a.tok{color:var(--accent)}
|
|
|
861
862
|
.wpbody a[data-ref=lazy] code{color:var(--ref-lazy)}
|
|
862
863
|
.wpbody a[data-ref=eager]{color:var(--ref-eager);font-weight:700}
|
|
863
864
|
.wpbody{flex:1;min-height:0;overflow-y:auto;padding:var(--s2) var(--s4) var(--s4)}
|
|
865
|
+
/* an icon in a table's cell (the objects page) keeps its own size: a narrow column never shrinks it away */
|
|
866
|
+
.wpbody td img{max-width:none;vertical-align:middle}
|
|
864
867
|
.wpbody a[data-wiki]{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px;cursor:pointer}
|
|
865
868
|
|
|
866
869
|
/* ── comfy item view (comfy-ts's own panel fills the stage) ── */
|
|
@@ -878,25 +881,7 @@ a.tok{color:var(--accent)}
|
|
|
878
881
|
.cfbox .err{color:var(--red);font-size:12.5px}
|
|
879
882
|
.cfbox .ph{flex:1;display:flex;align-items:center;justify-content:center}
|
|
880
883
|
|
|
881
|
-
/* ── md output
|
|
882
|
-
.md{font-size:12px;line-height:1.5;color:var(--ink)}
|
|
883
|
-
.md table{border-collapse:collapse;margin:var(--s1) 0;font-size:11.5px;max-width:100%}
|
|
884
|
-
.md th,.md td{border:1px solid var(--line);padding:var(--s0) var(--s2);text-align:left;vertical-align:top}
|
|
885
|
-
/* a table's header row, every table of the app: the readme's and the shared Table's (time-charts.tsx) */
|
|
886
|
-
.md th,.tvtable th{color:var(--accent);font-weight:650;font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;background:var(--panel2)}
|
|
887
|
-
.md blockquote{margin:var(--s1) 0;padding:var(--s0) var(--s2);border-left:2px solid var(--line);color:var(--dim)}
|
|
888
|
-
.md hr{border:0;border-top:1px solid var(--line);margin:var(--s2) 0}
|
|
889
|
-
.md h1,.md h2,.md h3{font-size:12.5px;margin:var(--s2) 0 var(--s1);color:var(--accent);letter-spacing:.02em}
|
|
890
|
-
.md h1{font-size:13.5px}
|
|
891
|
-
.md p{margin:var(--s1) 0}
|
|
892
|
-
.md ul{margin:var(--s1) 0;padding-left:var(--s4)}
|
|
893
|
-
.md li{margin:var(--s0) 0}
|
|
894
|
-
.md code{display:inline;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:0 var(--s1);
|
|
895
|
-
font:11px ui-monospace,Menlo,monospace;color:var(--ink);white-space:pre-wrap;max-height:none;margin:0}
|
|
896
|
-
.md pre{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:var(--s2);margin:var(--s1) 0;
|
|
897
|
-
overflow-x:auto;font:11px/1.5 ui-monospace,Menlo,monospace;white-space:pre}
|
|
898
|
-
.md pre code{background:none;border:0;padding:0}
|
|
899
|
-
.md a{color:var(--accent)}
|
|
884
|
+
/* ── md output: markdown.css ── */
|
|
900
885
|
|
|
901
886
|
/* ── secret (cred) cards ── */
|
|
902
887
|
.credname{font:600 13px ui-monospace,Menlo,monospace}
|
|
@@ -971,3 +956,7 @@ pre{background:var(--panel);border:1px solid var(--line);border-radius:3px;paddi
|
|
|
971
956
|
.gitkind.staged{color:var(--ok)}
|
|
972
957
|
.gitkind.untracked{color:var(--warn)}
|
|
973
958
|
.gitpath{font:12px ui-monospace,Menlo,monospace;overflow-wrap:anywhere}
|
|
959
|
+
/* a kind's icon in its hue (review/glyphs.ts KIND_HUES, its `--kh` set where it is drawn), the tone of the theme; its
|
|
960
|
+
square takes the same hue, faint. Never a pill, never a row's ground */
|
|
961
|
+
[data-hue],.rv-cglyph[data-hue],.rv-objglyph[data-hue],.rv-row.waiting .trglyph[data-hue]{color:hsl(var(--kh) var(--kind-s) var(--kind-l))}
|
|
962
|
+
.rv-objglyph[data-hue]{background:color-mix(in srgb,currentColor 14%,transparent)}
|
|
@@ -67,6 +67,8 @@ export const ICON = {
|
|
|
67
67
|
comms: 'M3 8h3l8-4v12l-8-4H3zM6 12l1.5 4.5',
|
|
68
68
|
social: 'M7 9a2.5 2.5 0 1 0 0-5a2.5 2.5 0 1 0 0 5M2.5 16c0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5M13.5 9a2 2 0 1 0 0-4M13 11.5c2.5 0 4.5 1.8 4.5 4.5',
|
|
69
69
|
wikis: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
70
|
+
// the house wiki, a global page: the same open book
|
|
71
|
+
wiki: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
70
72
|
admin: 'M4 5h12M4 10h12M4 15h12M7 3.5v3M13 8.5v3M9 13.5v3',
|
|
71
73
|
health: 'M2 10h3.5l2-5 5 10 2-5H18',
|
|
72
74
|
gate: 'M10 2.5 16 5v4.5c0 4-2.7 6.5-6 8c-3.3-1.5-6-4-6-8V5zM7.5 10l2 2 3.5-3.5',
|
|
@@ -94,12 +96,20 @@ export const ICON = {
|
|
|
94
96
|
link: 'M8.5 11.5a3.5 3.5 0 0 0 5 0l2.5-2.5a3.5 3.5 0 0 0-5-5l-1 1M11.5 8.5a3.5 3.5 0 0 0-5 0L4 11a3.5 3.5 0 0 0 5 5l1-1',
|
|
95
97
|
clock: 'M10 2.5a7.5 7.5 0 1 0 0 15a7.5 7.5 0 1 0 0-15M10 6v4l2.5 2',
|
|
96
98
|
restart: 'M15.5 10a5.5 5.5 0 1 1-1.6-3.9M14.2 3v3.3h-3.3',
|
|
99
|
+
// the four verbs of his turn (review/wait.ts), drawn by thread-row.tsx VerbGlyph only: a verdict's scales, a
|
|
100
|
+
// question's bubble, the action's bolt, a page to read
|
|
101
|
+
judge: 'M10 3.5v13M6 16.5h8M4 6h12M4 6l-2 5h4zM16 6l-2 5h4z',
|
|
102
|
+
answer: 'M3 4h14v9H8l-4 3.5V13H3zM8.3 7.2a1.8 1.8 0 1 1 2.5 1.6c-.5.3-.8.6-.8 1.1M10 11.3h.01',
|
|
103
|
+
do: 'M11.5 2.5 4.5 11h5l-1 6.5 7-8.5h-5z',
|
|
104
|
+
read: 'M10 5.5C8.5 4 6 3.5 3 4v11c3-.5 5.5 0 7 1.5c1.5-1.5 4-2 7-1.5V4c-3-.5-5.5 0-7 1.5zM10 5.5v11',
|
|
97
105
|
} as const
|
|
98
106
|
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
|
|
107
|
+
/** THE caret of the hub, the left bar's: a 10 px chevron that points at what a click shows, its look in hub.css .caret
|
|
108
|
+
* and nowhere else (tests/hub-caret-card-head.test.ts). Right while folded, down once open; `v`: a word button that
|
|
109
|
+
* unfolds below (« more », « show »), down while folded and up once open; `side`: a drawer at the right edge, left
|
|
110
|
+
* while shut and right once out */
|
|
111
|
+
export const Caret = ({ open, v = false, side = false }: { open: boolean; v?: boolean; side?: boolean }) => (
|
|
112
|
+
<svg className={`caret${v ? ' v' : ''}${side ? ' side' : ''}${open ? ' open' : ''}`} viewBox="0 0 24 24" width="10" height="10" aria-hidden="true" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round"><path d="M9 5l7 7-7 7" /></svg>
|
|
103
113
|
)
|
|
104
114
|
|
|
105
115
|
export const Icon = ({ d }: { d: string }) => (
|
|
@@ -15,6 +15,7 @@ import { identityAddress, isSection, type AccountTab, type IdentityRow } from '.
|
|
|
15
15
|
import { SEARCH_B_KEY } from './keys.ts'
|
|
16
16
|
import { filterKey, walkSide } from './list-walk.ts'
|
|
17
17
|
import { useInSight } from './tree-row.tsx'
|
|
18
|
+
import { SectionHead } from './section-head.tsx'
|
|
18
19
|
import { PANEL } from './review/review-page.tsx'
|
|
19
20
|
import { SitePart } from './site/site-part.tsx'
|
|
20
21
|
import { Icon, ICON } from './icons.tsx'
|
|
@@ -67,7 +68,7 @@ export const IdentitiesView = observer(({ app }: { app: HomeSt }) => {
|
|
|
67
68
|
{st.data?.errors.map((e) => <div key={e} className="hnote">{e}</div>)}
|
|
68
69
|
{st.data == null && st.error === '' ? <div className="iddim"><span className="spin" />reading the identities folder…</div> : null}
|
|
69
70
|
{st.data != null && st.sel.id != null ? <div className="hnote">no identity « {st.sel.id} » in {st.data.dir ?? 'the house repo'}: {st.data.identities.map((x) => x.name).join(', ') || 'none'}</div> : null}
|
|
70
|
-
{st.data != null && st.data.identities.length === 0 ? <div className="iddim">no identity: write
|
|
71
|
+
{st.data != null && st.data.identities.length === 0 ? <div className="iddim">no identity: write wiki/identities/<id>/identity.md in the house repo</div> : null}
|
|
71
72
|
</div>
|
|
72
73
|
)
|
|
73
74
|
return (
|
|
@@ -134,11 +135,11 @@ const IdentityList = observer(({ app, i }: { app: HomeSt; i: MachineIdentity })
|
|
|
134
135
|
<nav className="idrows" aria-label={`${i.name}: its sections`}>
|
|
135
136
|
{block('sections').map((r) => <SectionRow key={r.key} app={app} i={i} d={d} r={r} />)}
|
|
136
137
|
</nav>
|
|
137
|
-
{filtered && accounts.length === 0 ? null : <
|
|
138
|
+
{filtered && accounts.length === 0 ? null : <SectionHead label="accounts" n={filtered ? `${accounts.length} of ${i.accounts.length}` : `${online}/${i.accounts.length}`} />}
|
|
138
139
|
<nav className="idrows" aria-label={`${i.name}: its accounts`}>
|
|
139
140
|
{accounts.map((r) => <AccountRow key={r.key} app={app} i={i} d={d} r={r} />)}
|
|
140
141
|
</nav>
|
|
141
|
-
{filtered && repos.length === 0 ? null : <
|
|
142
|
+
{filtered && repos.length === 0 ? null : <SectionHead label="repos" n={filtered ? `${repos.length} of ${i.repos.length}` : i.repos.length} />}
|
|
142
143
|
<nav className="idrows" aria-label={`${i.name}: its repos`}>
|
|
143
144
|
{i.repos.length === 0 ? <span className="iddim idrow">none speaks as it</span> : repos.map((r) => <RepoRow key={r.key} app={app} i={i} r={r} />)}
|
|
144
145
|
</nav>
|