rvlib-shipkit 2.29.0 → 2.30.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 +20 -1
- package/package.json +2 -1
- package/src/advisors/app-graph.ts +1 -1
- package/src/advisors/expose.ts +5 -1
- package/src/advisors/r2.ts +7 -9
- package/src/advisors/routes.ts +29 -2
- package/src/advisors/scan.ts +11 -0
- package/src/agent-time/accounts-usage.ts +8 -0
- package/src/agent-time/claude-sessions.ts +32 -0
- package/src/agent-time/hooks.ts +1 -1
- package/src/agent-time/live.ts +5 -2
- package/src/agent-time/registry.ts +186 -89
- package/src/agent-time/store.ts +6 -4
- package/src/asks/ask-doc.ts +2 -2
- package/src/asks/ask-store.ts +22 -7
- package/src/check.ts +9 -1
- package/src/checks/SK001-package-json-shape.check.ts +1 -0
- package/src/checks/SK003-claude-md-shape.check.ts +1 -0
- package/src/checks/SK004-gitignore-policy.check.ts +12 -6
- package/src/checks/SK008-reviewer-agent.check.ts +4 -7
- package/src/checks/SK013-one-way-in-policy.check.ts +1 -0
- package/src/checks/SK017-vscode-hub-task.check.ts +1 -0
- package/src/checks/SK024-identity-colors.check.ts +1 -1
- package/src/checks/SK027-agent-wiki-links.check.ts +2 -1
- package/src/checks/SK033-global-contribution.check.ts +1 -0
- package/src/checks/SK034-commit-gates-armed.check.ts +1 -0
- package/src/checks/SK039-vscode-watch-generated.check.ts +1 -0
- package/src/checks/SK049-thread-answers-hook.check.ts +9 -5
- package/src/checks/SK050-retired-commands.check.ts +1 -0
- package/src/checks/SK051-no-formatter.check.ts +1 -0
- package/src/cli/channel-run.ts +17 -0
- package/src/cli/cmd_Advisors.ts +28 -7
- package/src/cli/cmd_Asks.ts +2 -2
- package/src/cli/cmd_Backup.ts +5 -1
- package/src/cli/cmd_CacheAudit.ts +1 -1
- package/src/cli/cmd_Channel.ts +43 -0
- package/src/cli/cmd_GlobalProcesses.ts +1 -0
- package/src/cli/cmd_Home.ts +12 -5
- package/src/cli/cmd_Hooks.ts +1 -1
- package/src/cli/cmd_Hq.ts +43 -0
- package/src/cli/cmd_Lanes.ts +15 -3
- package/src/cli/cmd_Media.ts +8 -3
- package/src/cli/cmd_Orchestrator.ts +253 -84
- package/src/cli/cmd_OrchestratorRole.ts +163 -0
- package/src/cli/cmd_Review.ts +142 -165
- package/src/cli/cmd_Secret.ts +44 -14
- package/src/cli/cmd_Shot.ts +2 -4
- package/src/cli/cmd_Sound.ts +1 -0
- package/src/cli/cmd_Urls.ts +3 -3
- package/src/cli/inbox-hook-run.ts +109 -0
- package/src/cli/registry.ts +6 -2
- package/src/cli/review-here.ts +136 -0
- package/src/cli.ts +45 -14
- package/src/collections/actions.ts +5 -4
- package/src/collections/checks.ts +5 -0
- package/src/collections/collection-types.ts +4 -3
- package/src/collections/pings.ts +4 -1
- package/src/collections/providers.ts +6 -4
- package/src/collections/tests.ts +7 -4
- package/src/core/app-icon-frame.ts +62 -0
- package/src/core/app-icon.ts +179 -17
- package/src/core/archived.ts +10 -7
- package/src/core/check-ctx.ts +38 -4
- package/src/core/check-pass.ts +7 -0
- package/src/core/foreign.ts +87 -0
- package/src/core/gui-color.ts +75 -0
- package/src/core/hub-theme.ts +1 -3
- package/src/core/layout.ts +3 -0
- package/src/core/machine-commit.ts +9 -1
- package/src/core/one-lib.ts +2 -1
- package/src/core/one-way-in-policy.ts +17 -12
- package/src/core/owner-word-policy.ts +123 -0
- package/src/core/panel-shades.ts +140 -0
- package/src/core/repo-gui-color.ts +16 -0
- package/src/core/role-policy.ts +17 -0
- package/src/core/scope.ts +6 -3
- package/src/core/tmux-policy.ts +264 -0
- package/src/core/unit-icon.ts +43 -0
- package/src/fleet/push-fleet.ts +2 -0
- package/src/fleet/scan-fleet.ts +3 -0
- package/src/gate/cache-audit.ts +7 -1
- package/src/gate/gate-checks.ts +14 -9
- package/src/gate/run-fix.ts +30 -5
- package/src/gate/run-fixers.ts +8 -3
- package/src/home/activity-shape.ts +2 -0
- package/src/home/activity.ts +2 -1
- package/src/home/daemon-guard.ts +20 -2
- package/src/home/daemon-jobs.ts +26 -18
- package/src/home/gui-app/ShipkitGui.swift +2012 -144
- package/src/home/gui-app/icon.svg +8 -0
- package/src/home/gui-app.ts +94 -30
- package/src/home/home-routes.ts +53 -9
- package/src/home/home-start.ts +27 -3
- package/src/home/inbox-shape.ts +7 -3
- package/src/home/log-follow.ts +117 -0
- package/src/home/machine-fold.ts +1 -1
- package/src/home/open-app.ts +9 -3
- package/src/home/page-build.ts +5 -1
- package/src/home/page-held.ts +1 -1
- package/src/home/pm-config.ts +0 -8
- package/src/home/pm.ts +62 -5
- package/src/home/process-apps.ts +70 -23
- package/src/home/process-rows.ts +16 -1
- package/src/home/push-sources.ts +18 -13
- package/src/home/resources.ts +16 -7
- package/src/home/run-daemon.ts +4 -1
- package/src/home/run-pm.ts +1 -1
- package/src/home/serve-daemon.ts +13 -4
- package/src/home/serve-web.ts +141 -17
- package/src/home/space-page.ts +3 -3
- package/src/home/space-route.ts +2 -2
- package/src/home/supervise.ts +2 -1
- package/src/home/vault-page.ts +2 -1
- package/src/home/web-places.ts +239 -0
- package/src/home/widgets.ts +16 -2
- package/src/hooks/commit-message.ts +11 -9
- package/src/hooks/one-way-in-guard.ts +145 -68
- package/src/hooks/run-hooks.ts +15 -5
- package/src/hooks/shared-file.ts +273 -83
- package/src/hooks/shell-writes.ts +620 -0
- package/src/hooks/write-log.ts +149 -0
- package/src/hq/door-route.ts +63 -7
- package/src/hq/door.ts +45 -12
- package/src/hq/history-send.ts +3 -1
- package/src/hq/hq-db.ts +10 -3
- package/src/hq/hq-local.ts +24 -5
- package/src/hq/hq-routes.ts +3 -1
- package/src/hq/hq-store.ts +9 -3
- package/src/hq/kinds/index.ts +2 -1
- package/src/hq/kinds/kind.ts +9 -4
- package/src/hq/kinds/presence-rule.ts +56 -0
- package/src/hq/kinds/presence.ts +210 -0
- package/src/hq/kinds/report.ts +8 -5
- package/src/hq/lead-order.ts +68 -0
- package/src/hq/outbox.ts +7 -0
- package/src/hq/replica.ts +5 -7
- package/src/hq/report-facts.ts +14 -7
- package/src/hq/report.ts +47 -2
- package/src/hq/switch.ts +1 -0
- package/src/hq/terminal-hop.ts +64 -0
- package/src/hq/thread-sync.ts +13 -6
- package/src/http/door-forward.ts +10 -12
- package/src/http/door-names.ts +9 -0
- package/src/http/hop-caller.ts +23 -0
- package/src/http/hop-names.ts +14 -0
- package/src/http/loopback-serve.ts +28 -6
- package/src/http/owner-word.ts +128 -0
- package/src/http/same-origin.ts +12 -0
- package/src/{serve → http}/secret-gate.ts +3 -3
- package/src/ledger/run-log.ts +25 -1
- package/src/media-store/backup/sources.ts +53 -6
- package/src/media-store/backup/thread-copy.ts +9 -5
- package/src/media-store/copy/config.ts +10 -9
- package/src/media-store/daemon.ts +5 -2
- package/src/media-store/put.ts +3 -0
- package/src/media-store/space.ts +14 -16
- package/src/media-store/upload.ts +4 -0
- package/src/messages/collection.ts +2 -2
- package/src/messages/model.ts +6 -1
- package/src/messages/routes.ts +3 -0
- package/src/orchestrator/brief.md +8 -6
- package/src/orchestrator/channel-declare.ts +58 -0
- package/src/orchestrator/channel.ts +226 -0
- package/src/orchestrator/guards.ts +12 -3
- package/src/orchestrator/host.ts +35 -0
- package/src/orchestrator/lead-shape.ts +86 -0
- package/src/orchestrator/now.ts +88 -0
- package/src/orchestrator/phone.ts +4 -1
- package/src/orchestrator/places-file.ts +38 -0
- package/src/orchestrator/places-look.ts +180 -0
- package/src/orchestrator/places-shape.ts +151 -0
- package/src/orchestrator/places.ts +50 -0
- package/src/orchestrator/presence-shape.ts +13 -2
- package/src/orchestrator/presence.ts +26 -15
- package/src/orchestrator/push.ts +5 -10
- package/src/orchestrator/role-shape.ts +270 -0
- package/src/orchestrator/role.ts +242 -0
- package/src/orchestrator/routes.ts +136 -31
- package/src/orchestrator/sessions-shape.ts +78 -0
- package/src/orchestrator/sessions.ts +86 -0
- package/src/orchestrator/share.ts +71 -0
- package/src/orchestrator/start-notice.ts +61 -0
- package/src/orchestrator/start.ts +137 -0
- package/src/orchestrator/started.ts +55 -0
- package/src/orchestrator/stuck.ts +196 -0
- package/src/orchestrator/unheard.ts +18 -7
- package/src/pages/frame-client.ts +44 -6
- package/src/problems/failure-words.ts +80 -0
- package/src/release/run-bump.ts +26 -5
- package/src/release/run-release.ts +34 -14
- package/src/repo-config.ts +37 -9
- package/src/review/aside-at.ts +19 -0
- package/src/review/band.ts +3 -3
- package/src/review/doc-save.ts +1 -1
- package/src/review/inbox-hook.ts +12 -4
- package/src/review/inbox-read.ts +20 -7
- package/src/review/instruction-guards.ts +137 -0
- package/src/review/instructions.ts +14 -2
- package/src/review/item-db.ts +52 -2
- package/src/review/mentions.ts +6 -4
- package/src/review/model.ts +3 -2
- package/src/review/parties.ts +88 -19
- package/src/review/push.ts +32 -15
- package/src/review/routes.ts +12 -4
- package/src/review/secret-route.ts +5 -5
- package/src/review/snooze.ts +1 -16
- package/src/review/store-parties.ts +4 -2
- package/src/review/take-back.ts +2 -1
- package/src/review/threads.ts +13 -2
- package/src/review/unit.ts +3 -2
- package/src/review/view-layout.ts +8 -1
- package/src/review/watchers.ts +25 -4
- package/src/secrets/key-pair.ts +14 -0
- package/src/secrets/lapse.ts +3 -3
- package/src/secrets/manager.ts +5 -1
- package/src/secrets/name-template.ts +83 -0
- package/src/secrets/name.ts +3 -0
- package/src/secrets/read.ts +10 -6
- package/src/secrets/secrets-view.ts +299 -0
- package/src/secrets/who-reads.ts +2 -1
- package/src/serve/frame-part.ts +49 -0
- package/src/serve/hub-app/accounts-line.tsx +33 -45
- package/src/serve/hub-app/activity-st.ts +6 -5
- package/src/serve/hub-app/activity-view.tsx +10 -9
- package/src/serve/hub-app/advice-box.tsx +6 -5
- package/src/serve/hub-app/advisor-app.tsx +2 -0
- package/src/serve/hub-app/advisor-face.tsx +3 -2
- package/src/serve/hub-app/advisor.html +1 -0
- package/src/serve/hub-app/advisors-view.tsx +52 -10
- package/src/serve/hub-app/advisors.css +4 -0
- package/src/serve/hub-app/app-bridge.ts +31 -5
- package/src/serve/hub-app/asked-page.ts +24 -0
- package/src/serve/hub-app/asks-page.tsx +10 -6
- package/src/serve/hub-app/auto-text.tsx +7 -5
- package/src/serve/hub-app/card-head.tsx +3 -2
- package/src/serve/hub-app/check-view.tsx +10 -9
- package/src/serve/hub-app/checks-svc.ts +96 -32
- package/src/serve/hub-app/clock-svc.ts +24 -8
- package/src/serve/hub-app/code-copy.ts +1 -1
- package/src/serve/hub-app/col-card.tsx +2 -1
- package/src/serve/hub-app/col-list-page.tsx +12 -6
- package/src/serve/hub-app/col-list-st.ts +12 -2
- package/src/serve/hub-app/col-tables-view.tsx +8 -44
- package/src/serve/hub-app/col-tables.ts +0 -14
- package/src/serve/hub-app/cols-svc.ts +6 -12
- package/src/serve/hub-app/columns.ts +94 -0
- package/src/serve/hub-app/comfy-view.tsx +8 -7
- package/src/serve/hub-app/commands/commands-page.tsx +4 -3
- package/src/serve/hub-app/commands/commands-st.ts +2 -2
- package/src/serve/hub-app/controls.css +69 -23
- package/src/serve/hub-app/cycle-button.tsx +2 -1
- package/src/serve/hub-app/database-st.ts +1 -1
- package/src/serve/hub-app/database-view.tsx +4 -2
- package/src/serve/hub-app/deaf.tsx +27 -0
- package/src/serve/hub-app/dock-st.ts +21 -16
- package/src/serve/hub-app/dock-view.tsx +19 -12
- package/src/serve/hub-app/empty-section.tsx +30 -0
- package/src/serve/hub-app/entry-bar.css +1 -1
- package/src/serve/hub-app/entry-bar.tsx +11 -6
- package/src/serve/hub-app/entry-list.css +32 -0
- package/src/serve/hub-app/entry-list.tsx +123 -0
- package/src/serve/hub-app/entry-pick.ts +1 -1
- package/src/serve/hub-app/entry-sections.ts +140 -0
- package/src/serve/hub-app/event-stream-reader.ts +56 -0
- package/src/serve/hub-app/floating.tsx +68 -14
- package/src/serve/hub-app/geometry-view.tsx +3 -2
- package/src/serve/hub-app/git-view.tsx +3 -2
- package/src/serve/hub-app/hash-route.ts +14 -2
- package/src/serve/hub-app/header-bar.tsx +53 -36
- package/src/serve/hub-app/home-st.ts +131 -14
- package/src/serve/hub-app/home-strip.css +24 -13
- package/src/serve/hub-app/home-strip.tsx +131 -66
- package/src/serve/hub-app/home.html +5 -0
- package/src/serve/hub-app/hub-app.tsx +94 -102
- package/src/serve/hub-app/hub.css +61 -94
- package/src/serve/hub-app/icons.tsx +16 -0
- package/src/serve/hub-app/identities-st.ts +19 -54
- package/src/serve/hub-app/identities-view.tsx +25 -24
- package/src/serve/hub-app/identity-address.ts +2 -2
- package/src/serve/hub-app/in-sight.ts +10 -0
- package/src/serve/hub-app/inbox-st.ts +20 -2
- package/src/serve/hub-app/inbox-view.tsx +16 -9
- package/src/serve/hub-app/inbox.css +1 -0
- package/src/serve/hub-app/index.html +5 -0
- package/src/serve/hub-app/insights-view.tsx +6 -5
- package/src/serve/hub-app/instructions.css +4 -1
- package/src/serve/hub-app/kept-cols.tsx +83 -20
- package/src/serve/hub-app/kept-width.tsx +76 -0
- package/src/serve/hub-app/keys.ts +116 -38
- package/src/serve/hub-app/layout-st.ts +109 -99
- package/src/serve/hub-app/lightbox-zoom.css +36 -0
- package/src/serve/hub-app/list-filter.tsx +15 -6
- package/src/serve/hub-app/list-head.tsx +29 -0
- package/src/serve/hub-app/list-row.ts +8 -0
- package/src/serve/hub-app/list-walk.ts +26 -105
- package/src/serve/hub-app/live-socket.ts +274 -0
- package/src/serve/hub-app/live-sources.ts +189 -0
- package/src/serve/hub-app/live-svc.ts +2 -2
- package/src/serve/hub-app/machine-st.ts +75 -14
- package/src/serve/hub-app/main-panel.css +211 -0
- package/src/serve/hub-app/main-panel.tsx +259 -0
- package/src/serve/hub-app/md.ts +4 -4
- package/src/serve/hub-app/media-svc.ts +5 -5
- package/src/serve/hub-app/media-view.tsx +13 -12
- package/src/serve/hub-app/messages/messages-page.tsx +8 -7
- package/src/serve/hub-app/messages/messages-st.ts +5 -2
- package/src/serve/hub-app/new-thread-st.ts +170 -0
- package/src/serve/hub-app/new-thread.tsx +133 -107
- package/src/serve/hub-app/orchestrator-line.tsx +115 -45
- package/src/serve/hub-app/orchestrator-places.tsx +86 -0
- package/src/serve/hub-app/orchestrator.css +57 -5
- package/src/serve/hub-app/page-keys.ts +107 -68
- package/src/serve/hub-app/page-reload.ts +46 -6
- package/src/serve/hub-app/pages-frames.tsx +40 -3
- package/src/serve/hub-app/pages-svc.ts +3 -1
- package/src/serve/hub-app/palette-st.ts +198 -43
- package/src/serve/hub-app/palette-view.tsx +32 -8
- package/src/serve/hub-app/panel-head-action.tsx +39 -0
- package/src/serve/hub-app/panel-head.tsx +70 -0
- package/src/serve/hub-app/panel-repo.ts +42 -0
- package/src/serve/hub-app/panel-source.ts +195 -0
- package/src/serve/hub-app/panel-tint.css +6 -0
- package/src/serve/hub-app/panel-tint.ts +23 -0
- package/src/serve/hub-app/panel-walk.ts +107 -0
- package/src/serve/hub-app/pill-row.tsx +2 -1
- package/src/serve/hub-app/place-path.ts +4 -0
- package/src/serve/hub-app/places-svc.ts +75 -0
- package/src/serve/hub-app/plan-view.tsx +3 -2
- package/src/serve/hub-app/polled.ts +11 -1
- package/src/serve/hub-app/presence-st.ts +66 -32
- package/src/serve/hub-app/processes-view.tsx +2 -2
- package/src/serve/hub-app/project-bar.tsx +116 -0
- package/src/serve/hub-app/project-list.css +20 -173
- package/src/serve/hub-app/project-list.tsx +30 -298
- package/src/serve/hub-app/projects-svc.ts +59 -32
- package/src/serve/hub-app/push-sign.tsx +2 -1
- package/src/serve/hub-app/push-svc.ts +86 -69
- package/src/serve/hub-app/quiet-st.ts +5 -3
- package/src/serve/hub-app/rail-groups.ts +144 -0
- package/src/serve/hub-app/reader-chips.tsx +2 -1
- package/src/serve/hub-app/recordings-st.ts +2 -1
- package/src/serve/hub-app/recordings-view.tsx +19 -47
- package/src/serve/hub-app/recordings.css +0 -2
- package/src/serve/hub-app/reflections-page.tsx +10 -6
- package/src/serve/hub-app/releases/releases-page.tsx +6 -5
- package/src/serve/hub-app/repo-sections.ts +127 -38
- package/src/serve/hub-app/repo-st.ts +57 -36
- package/src/serve/hub-app/review/advisor-bar.tsx +3 -2
- package/src/serve/hub-app/review/ask-proof.tsx +79 -0
- package/src/serve/hub-app/review/attach-view.tsx +11 -10
- package/src/serve/hub-app/review/box-view.ts +479 -0
- package/src/serve/hub-app/review/box-zoom.tsx +70 -0
- package/src/serve/hub-app/review/diff-view.tsx +3 -2
- package/src/serve/hub-app/review/doc-body.tsx +2 -1
- package/src/serve/hub-app/review/dock.tsx +3 -2
- package/src/serve/hub-app/review/draft-body.tsx +4 -3
- package/src/serve/hub-app/review/faces.tsx +0 -8
- package/src/serve/hub-app/review/group-block.tsx +8 -7
- package/src/serve/hub-app/review/heard-line.tsx +4 -3
- package/src/serve/hub-app/review/instructions-view.tsx +3 -2
- package/src/serve/hub-app/review/item-verdict.tsx +40 -40
- package/src/serve/hub-app/review/kind-states.tsx +5 -4
- package/src/serve/hub-app/review/kit.tsx +24 -4
- package/src/serve/hub-app/review/lane-bar.tsx +30 -28
- package/src/serve/hub-app/review/lightbox.tsx +6 -4
- package/src/serve/hub-app/review/live-bar.tsx +7 -6
- package/src/serve/hub-app/review/live-view.tsx +6 -5
- package/src/serve/hub-app/review/object-card.tsx +2 -1
- package/src/serve/hub-app/review/object-panel.tsx +11 -10
- package/src/serve/hub-app/review/pano-view.tsx +3 -2
- package/src/serve/hub-app/review/question-views.tsx +6 -5
- package/src/serve/hub-app/review/review-cells.tsx +21 -20
- package/src/serve/hub-app/review/review-host.ts +3 -0
- package/src/serve/hub-app/review/review-kit.ts +7 -5
- package/src/serve/hub-app/review/review-list.tsx +98 -52
- package/src/serve/hub-app/review/review-page.tsx +3 -3
- package/src/serve/hub-app/review/review-st.ts +70 -14
- package/src/serve/hub-app/review/review-thread.tsx +234 -138
- package/src/serve/hub-app/review/review-views.tsx +166 -191
- package/src/serve/hub-app/review/space3d.tsx +17 -9
- package/src/serve/hub-app/review/thread-close.tsx +24 -32
- package/src/serve/hub-app/review/thread-st.ts +39 -25
- package/src/serve/hub-app/review/trailer-body.tsx +5 -4
- package/src/serve/hub-app/review/trailer-page.tsx +18 -16
- package/src/serve/hub-app/review/trailer-st.ts +3 -2
- package/src/serve/hub-app/review/trailer-timeline.tsx +10 -9
- package/src/serve/hub-app/review/trailer-voices.tsx +29 -28
- package/src/serve/hub-app/review.css +159 -42
- package/src/serve/hub-app/row-acts.tsx +126 -0
- package/src/serve/hub-app/row-face.tsx +29 -0
- package/src/serve/hub-app/running-rows.tsx +142 -0
- package/src/serve/hub-app/running-st.ts +110 -0
- package/src/serve/hub-app/search-view.tsx +3 -2
- package/src/serve/hub-app/secrets-page.tsx +290 -0
- package/src/serve/hub-app/secrets-st.ts +181 -0
- package/src/serve/hub-app/secrets.css +65 -0
- package/src/serve/hub-app/section-head.tsx +3 -2
- package/src/serve/hub-app/session-chips.tsx +55 -0
- package/src/serve/hub-app/shell.ts +56 -0
- package/src/serve/hub-app/site/site-part.tsx +6 -5
- package/src/serve/hub-app/site/site-st.ts +0 -6
- package/src/serve/hub-app/site.css +0 -1
- package/src/serve/hub-app/social/calendar.tsx +7 -6
- package/src/serve/hub-app/social/comms-page.tsx +29 -26
- package/src/serve/hub-app/social/group-editor.tsx +2 -1
- package/src/serve/hub-app/social/kit.tsx +12 -11
- package/src/serve/hub-app/social/next-release.tsx +3 -2
- package/src/serve/hub-app/social/post-card.tsx +21 -20
- package/src/serve/hub-app/social/post-page.tsx +2 -1
- package/src/serve/hub-app/social/problems.tsx +3 -2
- package/src/serve/hub-app/social/social-page.tsx +29 -27
- package/src/serve/hub-app/social/social-st.ts +4 -2
- package/src/serve/hub-app/social/stage-popup.tsx +11 -10
- package/src/serve/hub-app/social.css +7 -5
- package/src/serve/hub-app/source-acts.ts +79 -0
- package/src/serve/hub-app/source-page.tsx +17 -0
- package/src/serve/hub-app/space-view.tsx +5 -4
- package/src/serve/hub-app/stores/stores-page.tsx +21 -19
- package/src/serve/hub-app/stores/stores-st.ts +1 -1
- package/src/serve/hub-app/stores.css +1 -1
- package/src/serve/hub-app/terminal-history-st.ts +112 -0
- package/src/serve/hub-app/terminal-keys.ts +79 -0
- package/src/serve/hub-app/terminal-lib.ts +110 -0
- package/src/serve/hub-app/terminal-links.ts +55 -0
- package/src/serve/hub-app/terminal-list-st.ts +304 -0
- package/src/serve/hub-app/terminal-log-st.ts +242 -0
- package/src/serve/hub-app/terminal-out.ts +135 -0
- package/src/serve/hub-app/terminal-pages.tsx +115 -0
- package/src/serve/hub-app/terminal-panel.tsx +60 -9
- package/src/serve/hub-app/terminal-sources.tsx +335 -0
- package/src/serve/hub-app/terminal-st.ts +447 -167
- package/src/serve/hub-app/terminal-stream.ts +233 -0
- package/src/serve/hub-app/terminal-tab.tsx +64 -0
- package/src/serve/hub-app/terminal-widths.ts +30 -0
- package/src/serve/hub-app/terminal.css +50 -4
- package/src/serve/hub-app/test-view.tsx +5 -3
- package/src/serve/hub-app/tests-view.tsx +16 -15
- package/src/serve/hub-app/theme-st.ts +5 -0
- package/src/serve/hub-app/thread-row.tsx +39 -31
- 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 +1 -1
- package/src/serve/hub-app/timeline-chart.tsx +5 -4
- package/src/serve/hub-app/timeline-view.tsx +10 -9
- package/src/serve/hub-app/tips.ts +247 -0
- package/src/serve/hub-app/tree-build.ts +40 -8
- package/src/serve/hub-app/tree-svc.ts +167 -134
- package/src/serve/hub-app/unit-icons.ts +26 -0
- package/src/serve/hub-app/url-address.ts +154 -0
- package/src/serve/hub-app/url-faces.ts +88 -0
- package/src/serve/hub-app/url-forms.tsx +183 -0
- package/src/serve/hub-app/urls-svc.ts +167 -5
- package/src/serve/hub-app/urls-view.tsx +56 -20
- package/src/serve/hub-app/urls.css +26 -0
- package/src/serve/hub-app/vault-view.tsx +5 -4
- package/src/serve/hub-app/veille/veille-page.tsx +34 -33
- package/src/serve/hub-app/veille/veille-st.ts +6 -3
- package/src/serve/hub-app/view-layout.css +3 -3
- package/src/serve/hub-app/when-view.tsx +5 -4
- package/src/serve/hub-app/wikis-view.tsx +6 -5
- package/src/serve/hub-app/words.tsx +9 -2
- package/src/serve/hub-runtime.ts +3 -2
- package/src/serve/orchestrator-host.ts +58 -0
- package/src/serve/page-live.ts +147 -0
- package/src/serve/project-gutter-route.ts +63 -2
- package/src/serve/read-worker.ts +7 -2
- package/src/serve/runs-stamp.ts +33 -0
- package/src/serve/secrets-read.ts +156 -0
- package/src/serve/serve-hub.ts +71 -22
- package/src/serve/terminal-claudes.ts +185 -0
- package/src/serve/terminal-guard.ts +10 -5
- package/src/serve/terminal-host.ts +517 -0
- package/src/serve/terminal-record.ts +104 -0
- package/src/serve/terminal-route.ts +466 -103
- package/src/serve/terminal-shells.ts +3 -0
- package/src/serve/terminal-watch.ts +102 -0
- package/src/shipkit-files.ts +9 -4
- package/src/shot/client.ts +4 -9
- package/src/shot/shooter.ts +2 -4
- package/src/shot/shot-ask.ts +2 -7
- package/src/shot/shot-theme.ts +6 -17
- package/src/social/routes.ts +2 -2
- package/src/social/writes.ts +3 -0
- package/src/suite/test-units.ts +6 -2
- package/src/trailer/sound/eleven.ts +1 -0
- package/src/urls/added.ts +111 -0
- package/src/urls/icons.ts +294 -0
- package/src/urls/places.ts +139 -0
- package/src/urls/routes.ts +17 -7
- package/src/urls/rows.ts +48 -15
- package/src/urls/unit.ts +57 -3
- package/src/urls/write-routes.ts +207 -0
- package/src/vault/vault-destroy.ts +2 -1
- package/src/vault/vault-import.ts +4 -11
- package/src/vault/vault-restore.ts +3 -2
- package/src/veille/chrome.ts +18 -3
- package/src/veille/identity.ts +6 -0
- package/src/view3d/cam.ts +30 -46
- package/src/view3d/lib.ts +20 -2
- package/src/view3d/viewer.ts +62 -88
- package/src/wiki/agent-paths.ts +2 -1
- package/src/orchestrator/deliver.ts +0 -81
- package/src/orchestrator/drill.ts +0 -129
- package/src/orchestrator/keeper.ts +0 -332
- package/src/orchestrator/pm.ts +0 -20
- package/src/orchestrator/state.ts +0 -92
- package/src/orchestrator/switch.ts +0 -86
- package/src/orchestrator/tmux.ts +0 -82
- package/src/serve/hub-app/rail-fly.tsx +0 -95
- package/src/serve/hub-app/side-lists.ts +0 -72
- package/src/serve/hub-app/sidebar.tsx +0 -62
- package/src/serve/hub-app/tree-row.tsx +0 -125
|
@@ -11,6 +11,7 @@ import type { SocialSt } from './social-st.ts'
|
|
|
11
11
|
import { shownTags } from '../../../social/compose.ts'
|
|
12
12
|
import { Caret } from '../icons.tsx'
|
|
13
13
|
import { ThreadControl } from '../review/thread-control.tsx'
|
|
14
|
+
import { tip } from '../tips.ts'
|
|
14
15
|
|
|
15
16
|
/** the platforms of some messages, each lit once posted there; a group's accounts one stack of overlapping logos */
|
|
16
17
|
export const Logos = observer((p: { so: SocialSt; posts: readonly SocialPost[]; size: number }) => {
|
|
@@ -104,12 +105,12 @@ export const MediaTile = observer((p: { so: SocialSt; slug: string; m: Media; si
|
|
|
104
105
|
{clip ? (
|
|
105
106
|
<Clip so={so} slug={p.slug} m={p.m} className={cls} rest controls />
|
|
106
107
|
) : (
|
|
107
|
-
<a href={url} target="_blank" rel="noreferrer"
|
|
108
|
+
<a href={url} target="_blank" rel="noreferrer" {...tip('open it at full size')}>
|
|
108
109
|
<img src={url} alt="" loading="lazy" className={cls} />
|
|
109
110
|
</a>
|
|
110
111
|
)}
|
|
111
112
|
</div>
|
|
112
|
-
<span className="rv-dim rv-small so-ellip"
|
|
113
|
+
<span className="rv-dim rv-small so-ellip" {...tip(p.m.name)}>
|
|
113
114
|
{fileName(p.m.name)}
|
|
114
115
|
</span>
|
|
115
116
|
</div>
|
|
@@ -124,21 +125,21 @@ export const MediaTile = observer((p: { so: SocialSt; slug: string; m: Media; si
|
|
|
124
125
|
{!clip ? (
|
|
125
126
|
<button onClick={() => void so.copyImage(url, key)}>{so.copiedKey === key ? '✓ Copied' : '⧉ Copy image'}</button>
|
|
126
127
|
) : null}
|
|
127
|
-
<a className="so-btn" href={url} download={p.m.name.split('/').pop()}
|
|
128
|
+
<a className="so-btn" href={url} download={p.m.name.split('/').pop()} {...tip('save the file')}>
|
|
128
129
|
⬇{clip ? ' the clip' : ''}
|
|
129
130
|
</a>
|
|
130
131
|
{!so.phone ? (
|
|
131
|
-
<button onClick={() => void so.reveal(p.slug, p.m)}
|
|
132
|
+
<button onClick={() => void so.reveal(p.slug, p.m)} {...tip(`show ${p.m.path} in the Finder`)}>
|
|
132
133
|
📂
|
|
133
134
|
</button>
|
|
134
135
|
) : null}
|
|
135
136
|
{!so.phone ? (
|
|
136
|
-
<button onClick={() => void so.copyPath(p.slug, p.m, `${key}/path`)}
|
|
137
|
+
<button onClick={() => void so.copyPath(p.slug, p.m, `${key}/path`)} {...tip(`copy the path on this Mac: ${p.m.path}`)}>
|
|
137
138
|
{so.copiedKey === `${key}/path` ? '✓ Copied' : '⧉ path'}
|
|
138
139
|
</button>
|
|
139
140
|
) : null}
|
|
140
141
|
{p.size === 'large' || p.alone === true ? (
|
|
141
|
-
<span className="rv-dim rv-small so-ellip"
|
|
142
|
+
<span className="rv-dim rv-small so-ellip" {...tip(p.m.path)}>
|
|
142
143
|
{p.m.name}
|
|
143
144
|
</span>
|
|
144
145
|
) : null}
|
|
@@ -155,7 +156,7 @@ const PosterButton = observer((p: { so: SocialSt; a: DeskAccount; post: SocialPo
|
|
|
155
156
|
const key = so.postKey(p.post)
|
|
156
157
|
if (p.post.refused !== '' && !done)
|
|
157
158
|
return (
|
|
158
|
-
<button disabled
|
|
159
|
+
<button disabled {...tip(p.post.refused)}>
|
|
159
160
|
⛔ Refused
|
|
160
161
|
</button>
|
|
161
162
|
)
|
|
@@ -166,7 +167,7 @@ const PosterButton = observer((p: { so: SocialSt; a: DeskAccount; post: SocialPo
|
|
|
166
167
|
const err = so.publishError[key]
|
|
167
168
|
const busy = so.publishing[key] === true
|
|
168
169
|
return (
|
|
169
|
-
<button className={`so-pub${err ? ' t-red' : ''}`}
|
|
170
|
+
<button className={`so-pub${err ? ' t-red' : ''}`} {...tip(err ?? (over ? 'over the platform max' : 'post it now, as the identity, in public'))} disabled={done || over || busy || so.editing(p.post.slug)} onClick={() => void so.publish(p.a, p.post)}>
|
|
170
171
|
{busy ? <span className="so-spin" /> : '➤'} {err ? 'Failed, again' : 'Publish'}
|
|
171
172
|
</button>
|
|
172
173
|
)
|
|
@@ -176,7 +177,7 @@ const PosterButton = observer((p: { so: SocialSt; a: DeskAccount; post: SocialPo
|
|
|
176
177
|
const label = p.post.href ? 'Post' : 'Profile'
|
|
177
178
|
if (done)
|
|
178
179
|
return (
|
|
179
|
-
<button disabled
|
|
180
|
+
<button disabled {...tip('posted: its link is on the line')}>
|
|
180
181
|
✎ {label}
|
|
181
182
|
</button>
|
|
182
183
|
)
|
|
@@ -184,7 +185,7 @@ const PosterButton = observer((p: { so: SocialSt; a: DeskAccount; post: SocialPo
|
|
|
184
185
|
<a
|
|
185
186
|
className="so-btn primary"
|
|
186
187
|
href={href}
|
|
187
|
-
|
|
188
|
+
{...tip(p.post.prefilled ? 'its write page, the text filled in' : 'its write page: the text goes on the clipboard first')}
|
|
188
189
|
onClick={(e) => {
|
|
189
190
|
// a page that takes no text: the caption on the clipboard first, for his paste there
|
|
190
191
|
if (p.post.href && !p.post.prefilled) void so.copyCaption(p.post)
|
|
@@ -222,7 +223,7 @@ const UrlField = observer((p: { so: SocialSt; post: SocialPost }) => {
|
|
|
222
223
|
<input
|
|
223
224
|
className={`so-url${waits ? '' : ' done'}${so.urlErrors[key] ? ' bad' : ''}`}
|
|
224
225
|
placeholder="the post's URL: pasted, the platform turns green"
|
|
225
|
-
|
|
226
|
+
{...tip(so.debugFor(p.post))}
|
|
226
227
|
value={so.urlField(key, p.post.posted)}
|
|
227
228
|
disabled={so.busy}
|
|
228
229
|
onChange={(e) => so.setUrl(key, e.currentTarget.value)}
|
|
@@ -232,7 +233,7 @@ const UrlField = observer((p: { so: SocialSt; post: SocialPost }) => {
|
|
|
232
233
|
}}
|
|
233
234
|
/>
|
|
234
235
|
{waits && !so.phone ? (
|
|
235
|
-
<button className="ghost so-mini" disabled={so.searching === key} onClick={() => void so.searchHistory(p.post)}
|
|
236
|
+
<button className="ghost so-mini" disabled={so.searching === key} onClick={() => void so.searchHistory(p.post)} {...tip("look for the post in a copy of the identity's Chrome History, since its last open")}>
|
|
236
237
|
{so.searching === key ? '…' : 'search'}
|
|
237
238
|
</button>
|
|
238
239
|
) : null}
|
|
@@ -240,13 +241,13 @@ const UrlField = observer((p: { so: SocialSt; post: SocialPost }) => {
|
|
|
240
241
|
{so.urlErrors[key] ? <span className="so-error">{so.urlErrors[key]}</span> : null}
|
|
241
242
|
{so.seenFor(p.post).map((s) => (
|
|
242
243
|
<span key={s.url} className="so-seen">
|
|
243
|
-
<span className="so-ellip so-grow"
|
|
244
|
+
<span className="so-ellip so-grow" {...tip(s.url)}>
|
|
244
245
|
seen, which post? {s.url.replace(/^https?:\/\/(www\.)?/, '')}
|
|
245
246
|
</span>
|
|
246
247
|
<button className="so-mini so-pub" disabled={so.busy} onClick={() => void so.takeSeen(s, p.post)}>
|
|
247
248
|
here
|
|
248
249
|
</button>
|
|
249
|
-
<button className="ghost so-mini" onClick={() => void so.dropSeen(s)}
|
|
250
|
+
<button className="ghost so-mini" onClick={() => void so.dropSeen(s)} {...tip('forget this URL')}>
|
|
250
251
|
✕
|
|
251
252
|
</button>
|
|
252
253
|
</span>
|
|
@@ -271,7 +272,7 @@ const PlaceLink = observer((p: { so: SocialSt; a: DeskAccount; post: SocialPost
|
|
|
271
272
|
<a href={place.url} target="_blank" rel="noreferrer">
|
|
272
273
|
{place.name}
|
|
273
274
|
</a>
|
|
274
|
-
<a className="so-popup" href={place.url} onClick={(e) => popup(e, place.url, `place-${place.id}`)}
|
|
275
|
+
<a className="so-popup" href={place.url} onClick={(e) => popup(e, place.url, `place-${place.id}`)} {...tip(`${place.name} in a window of its own`)}>
|
|
275
276
|
↗
|
|
276
277
|
</a>
|
|
277
278
|
</>
|
|
@@ -295,7 +296,7 @@ export const PostName = observer((p: { so: SocialSt; a: DeskAccount; post: Socia
|
|
|
295
296
|
{post.name ? <span className="rv-dim"> · {post.name}</span> : null}
|
|
296
297
|
{post.from !== post.key ? <span className="rv-dim"> · the text of {p.so.accountOf(post.identity, from)?.name ?? from}</span> : null}
|
|
297
298
|
<PlaceLink so={p.so} a={p.a} post={post} />
|
|
298
|
-
{post.noAccount ? <span className="rv-dim"
|
|
299
|
+
{post.noAccount ? <span className="rv-dim" {...tip('this voice has no account here yet: copy the words; the save printed the sk ask that asks the owner for one')}> · no account yet</span> : null}
|
|
299
300
|
</span>
|
|
300
301
|
</>
|
|
301
302
|
)
|
|
@@ -318,7 +319,7 @@ export const PostCard = observer((p: { so: SocialSt; a: DeskAccount; post: Socia
|
|
|
318
319
|
<PostName so={so} a={p.a} post={post} />
|
|
319
320
|
) : (
|
|
320
321
|
<span className="so-posttitle small">
|
|
321
|
-
<a href={`#page:comms:${post.slug}`} onClick={(e) => { e.preventDefault(); so.openDraft(post.slug) }}
|
|
322
|
+
<a href={`#page:comms:${post.slug}`} onClick={(e) => { e.preventDefault(); so.openDraft(post.slug) }} {...tip('open it in Communications')}>
|
|
322
323
|
<b>{post.slug}</b>
|
|
323
324
|
</a>
|
|
324
325
|
{post.name ? <span className="rv-dim"> · {post.name}</span> : null}
|
|
@@ -327,7 +328,7 @@ export const PostCard = observer((p: { so: SocialSt; a: DeskAccount; post: Socia
|
|
|
327
328
|
{p.where ? <PlaceLink so={so} a={p.a} post={post} /> : null}
|
|
328
329
|
</span>
|
|
329
330
|
)}
|
|
330
|
-
<button className="so-linkbtn"
|
|
331
|
+
<button className="so-linkbtn" {...tip('its own page: its link, its versions, the threads that refer to it')} onClick={() => void so.openPost(post.slug, post.key)}>
|
|
331
332
|
page ▸
|
|
332
333
|
</button>
|
|
333
334
|
<ThreadControl st={so.st} address={`draft:${post.slug}/${post.key}`} name={`${post.slug} · ${post.key}`} />
|
|
@@ -372,7 +373,7 @@ const ShareCard = observer((p: { so: SocialSt; sends: readonly { a: DeskAccount;
|
|
|
372
373
|
{first.post.name ? <span className="rv-dim"> · {first.post.name}</span> : null}
|
|
373
374
|
</span>
|
|
374
375
|
{!so.phone && !all ? (
|
|
375
|
-
<button disabled={first.post.refused !== ''} onClick={() => void so.openAll(first.post)}
|
|
376
|
+
<button disabled={first.post.refused !== ''} onClick={() => void so.openAll(first.post)} {...tip(first.post.refused || "each write page in a window of its own, side by side, in the identity's Chrome profile, the media in the Finder under them")}>
|
|
376
377
|
⧉ Open all
|
|
377
378
|
</button>
|
|
378
379
|
) : null}
|
|
@@ -461,7 +462,7 @@ export const PostFields = observer((p: { so: SocialSt; a: DeskAccount; post: Soc
|
|
|
461
462
|
const word = t.replace(/^#/, '')
|
|
462
463
|
const k = `${key}/tag/${word}`
|
|
463
464
|
return (
|
|
464
|
-
<button key={word} className="so-tagchip"
|
|
465
|
+
<button key={word} className="so-tagchip" {...tip('copy this tag alone')} onClick={() => void so.copy(word, k)}>
|
|
465
466
|
{so.copiedKey === k ? '✓ copied' : word}
|
|
466
467
|
</button>
|
|
467
468
|
)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { observer } from 'mobx-react-lite'
|
|
4
4
|
import { hashFor } from '../hash-route.ts'
|
|
5
5
|
import type { SocialSt } from './social-st.ts'
|
|
6
|
+
import { tip } from '../tips.ts'
|
|
6
7
|
|
|
7
8
|
const WHY: Record<string, string> = { import: 'imported', stage: 'staged', save: 'saved', text: 'its words rewritten', posted: 'marked posted', clear: 'its link taken back', publish: 'published', drop: 'dropped', undrop: 'taken back', discard: 'dropped by a discard', restore: 'restored' }
|
|
8
9
|
const STATE: Record<string, string> = { draft: 'in draft', posted: 'posted', dropped: 'dropped' }
|
|
@@ -46,7 +47,7 @@ export const PostPage = observer(({ so }: { so: SocialSt }) => {
|
|
|
46
47
|
{o.threads.length === 0 ? <div className="rv-dim rv-small">none yet: « open a thread » makes one</div> : null}
|
|
47
48
|
<div className="so-threadrefs">
|
|
48
49
|
{o.threads.map((t) => (
|
|
49
|
-
<a key={t.key} className={`so-threadref${t.open ? ' open' : ''}`} href={`#${hashFor({ t: 'review', id: t.id })}`}
|
|
50
|
+
<a key={t.key} className={`so-threadref${t.open ? ' open' : ''}`} href={`#${hashFor({ t: 'review', id: t.id })}`} {...tip(t.key)}>
|
|
50
51
|
<span className={`so-badge ${t.open ? 't-warn' : 't-dim'}`}>{t.open ? 'open' : 'done'}</span> {t.title}
|
|
51
52
|
</a>
|
|
52
53
|
))}
|
|
@@ -5,6 +5,7 @@ import { observer } from 'mobx-react-lite'
|
|
|
5
5
|
import { SectionHead } from '../section-head.tsx'
|
|
6
6
|
import type { Folds } from './kit.tsx'
|
|
7
7
|
import type { SocialSt } from './social-st.ts'
|
|
8
|
+
import { tip } from '../tips.ts'
|
|
8
9
|
|
|
9
10
|
type Problem = { key: string; what: string; why: string; slug: string | null }
|
|
10
11
|
|
|
@@ -46,9 +47,9 @@ export const Problems = observer(({ so, folds, lines }: { so: SocialSt | null; f
|
|
|
46
47
|
</>
|
|
47
48
|
)
|
|
48
49
|
return p.slug != null && so != null ? (
|
|
49
|
-
<button key={p.key} className="so-probrow"
|
|
50
|
+
<button key={p.key} className="so-probrow" {...tip(`${p.key}: open the draft in Communications`)} onClick={() => so.openDraft(p.slug!)}>{body}</button>
|
|
50
51
|
) : (
|
|
51
|
-
<div key={p.key} className="so-probrow"
|
|
52
|
+
<div key={p.key} className="so-probrow" {...tip(p.key)}>{body}</div>
|
|
52
53
|
)
|
|
53
54
|
})
|
|
54
55
|
: null}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// company or the account (its head, what can be automated, its setup, its messages); on the right its pictures, its
|
|
4
4
|
// payouts, its profile or the place's rules. Its parts are the home's identity view too (identities-view.tsx). Green
|
|
5
5
|
// is only ever a link he pasted
|
|
6
|
+
import { listRow } from '../list-row.ts'
|
|
6
7
|
import { secretOfRef } from '../../../identities/steps.ts'
|
|
7
8
|
import { SEARCH_KEY } from '../keys.ts'
|
|
8
9
|
import { filterKey } from '../list-walk.ts'
|
|
@@ -22,6 +23,7 @@ import { bannerGroups, factsOf, hasNote, otherRating, otherRows, pasteOf, pasteS
|
|
|
22
23
|
import { AUTOMATION, fileName, LEGAL, linksText, ME, type DeskAccount, type DeskIdentity, type Picture, type Place, type Row } from './social-model.ts'
|
|
23
24
|
import type { SocialSt } from './social-st.ts'
|
|
24
25
|
import { stepLayout, textKind, type RefKind } from './step-layout.ts'
|
|
26
|
+
import { tip } from '../tips.ts'
|
|
25
27
|
|
|
26
28
|
export const SocialPage = observer(({ app }: { app: RepoSt }) => {
|
|
27
29
|
const so = app.social
|
|
@@ -88,8 +90,8 @@ const IdentityList = observer(({ so }: { so: SocialSt }) => {
|
|
|
88
90
|
<div className="so-filters">
|
|
89
91
|
<span className="sfield">
|
|
90
92
|
<input ref={(el) => { so.searchEl = el }} className="rv-search" placeholder="search the accounts" value={so.accountQuery} onChange={(e) => so.setAccountQuery(e.currentTarget.value)}
|
|
91
|
-
onKeyDown={(e) => filterKey(
|
|
92
|
-
<kbd className="skey"
|
|
93
|
+
onKeyDown={(e) => filterKey(() => so.setAccountQuery(''), e)} />
|
|
94
|
+
<kbd className="skey" {...tip('/ focuses the search from anywhere on the page')}>{SEARCH_KEY}</kbd>
|
|
93
95
|
</span>
|
|
94
96
|
</div>
|
|
95
97
|
<Problems so={so} folds={so} lines={[...(so.loadError ? [so.loadError] : []), ...so.errors]} />
|
|
@@ -99,7 +101,7 @@ const IdentityList = observer(({ so }: { so: SocialSt }) => {
|
|
|
99
101
|
<>
|
|
100
102
|
<IdentityCard so={so} i={picked} on={so.onIdentity} open />
|
|
101
103
|
{so.homeLink(picked.id) == null ? null : (
|
|
102
|
-
<a className="rv-small so-small" href={so.homeLink(picked.id)!}
|
|
104
|
+
<a className="rv-small so-small" href={so.homeLink(picked.id)!} {...tip("every identity, each account its own page: the home's identities")} onClick={(e) => {
|
|
103
105
|
if (!plainClick(e)) return
|
|
104
106
|
e.preventDefault()
|
|
105
107
|
so.openHome(picked.id)
|
|
@@ -141,7 +143,7 @@ const IdentityCard = observer(({ so, i, on, open }: { so: SocialSt; i: DeskIdent
|
|
|
141
143
|
const hex = firstColour(i)
|
|
142
144
|
const own = i.id === so.desk?.speaksAs
|
|
143
145
|
return (
|
|
144
|
-
<button className={`so-identity${on ? ' on' : ''}${open ? ' open' : ''}`} style={hex ? ({ '--brand': hex } as CSSProperties) : undefined} onClick={() => so.pickSocial(i.id)}
|
|
146
|
+
<button className={`so-identity${on ? ' on' : ''}${open ? ' open' : ''}`} style={hex ? ({ '--brand': hex } as CSSProperties) : undefined} onClick={() => so.pickSocial(i.id)} {...tip(own ? 'the identity this repo speaks as (speaksAs in repo.config.ts)' : `${i.name}: another identity of this machine`)}>
|
|
145
147
|
{avatar ? <img className="so-avatar" src={so.pictureUrl(i.id, avatar.file)} alt="" /> : <span className="so-avatar so-initial">{i.name.slice(0, 1)}</span>}
|
|
146
148
|
<span className="so-identitytext">
|
|
147
149
|
<b className="so-identityname">
|
|
@@ -159,7 +161,7 @@ const LegalCard = observer(({ so, i, on }: { so: SocialSt; i: DeskIdentity; on:
|
|
|
159
161
|
const live = so.legalLive(i)
|
|
160
162
|
return (
|
|
161
163
|
<div className={`so-acard${live ? ' live' : ''}${on ? ' picked' : ''}`} style={{ '--brand': 'var(--k5)' } as CSSProperties}>
|
|
162
|
-
<button className={`so-ahead${on ? ' on' : ''}`} onClick={() => so.pickSocial(i.id, LEGAL)}>
|
|
164
|
+
<button className={`so-ahead${on ? ' on' : ''}`} {...listRow(LEGAL, on)} onClick={() => so.pickSocial(i.id, LEGAL)}>
|
|
163
165
|
<span className={`so-logo legal${live ? '' : ' muted'}`} style={{ width: 30, height: 30, borderRadius: 8 }}>
|
|
164
166
|
⚖
|
|
165
167
|
</span>
|
|
@@ -179,7 +181,7 @@ const AccountCard = observer(({ so, a, on }: { so: SocialSt; a: DeskAccount; on:
|
|
|
179
181
|
const stats = so.statOf(a)
|
|
180
182
|
return (
|
|
181
183
|
<div className={`so-acard${live ? ' live' : ''}${on ? ' picked' : ''}`} style={brandVar(a.id)}>
|
|
182
|
-
<button className={`so-ahead${on && so.place === null ? ' on' : ''}`} onClick={() => so.pickSocial(a.identity, a.id)}>
|
|
184
|
+
<button className={`so-ahead${on && so.place === null ? ' on' : ''}`} {...listRow(a.id, on && so.place === null)} onClick={() => so.pickSocial(a.identity, a.id)}>
|
|
183
185
|
<Logo id={a.id} name={a.name} size={30} muted={!live} />
|
|
184
186
|
<span className="so-atext">
|
|
185
187
|
<b className="so-ellip">{a.name}</b>
|
|
@@ -267,7 +269,7 @@ export const IdentityPage = observer(({ so, i }: { so: SocialSt; i: DeskIdentity
|
|
|
267
269
|
{colours.length > 0 ? (
|
|
268
270
|
<div className="so-swatches">
|
|
269
271
|
{colours.map((r) => (
|
|
270
|
-
<button key={r.field} className="so-swatch" onClick={() => void so.copy(r.value, `${i.id}/brand/${r.field}`)}
|
|
272
|
+
<button key={r.field} className="so-swatch" onClick={() => void so.copy(r.value, `${i.id}/brand/${r.field}`)} {...tip('copy its hex')}>
|
|
271
273
|
<span className="so-swatchcolour" style={{ '--sw': r.value } as CSSProperties} />
|
|
272
274
|
<b className="rv-small">{r.field}</b>
|
|
273
275
|
<span className="rv-dim rv-small">{so.copiedKey === `${i.id}/brand/${r.field}` ? 'copied' : r.value}</span>
|
|
@@ -288,7 +290,7 @@ export const IdentityPage = observer(({ so, i }: { so: SocialSt; i: DeskIdentity
|
|
|
288
290
|
title="The accounts"
|
|
289
291
|
flush
|
|
290
292
|
right={
|
|
291
|
-
<button onClick={() => void so.copy(linksText(i.accounts), `${i.id}/links`)}
|
|
293
|
+
<button onClick={() => void so.copy(linksText(i.accounts), `${i.id}/links`)} {...tip('every account online, a line each, to paste in another profile')}>
|
|
292
294
|
{so.copiedKey === `${i.id}/links` ? '✓ copied' : '⧉ copy the links'}
|
|
293
295
|
</button>
|
|
294
296
|
}
|
|
@@ -302,7 +304,7 @@ export const IdentityPage = observer(({ so, i }: { so: SocialSt; i: DeskIdentity
|
|
|
302
304
|
<span className={`so-badge ${a.live ? 't-ok solid' : 't-dim'}`}>{a.live ? 'online' : 'to create'}</span>
|
|
303
305
|
{a.live ? <CopyIcon so={so} text={a.live} k={`${i.id}/link/${a.id}`} title="copy the link" /> : null}
|
|
304
306
|
{a.live || a.profile ? (
|
|
305
|
-
<a className="so-icon" href={a.live || a.profile} target="_blank" rel="noreferrer"
|
|
307
|
+
<a className="so-icon" href={a.live || a.profile} target="_blank" rel="noreferrer" {...tip('open')}>
|
|
306
308
|
↗
|
|
307
309
|
</a>
|
|
308
310
|
) : null}
|
|
@@ -375,15 +377,15 @@ const PictureActions = observer(({ so, i, f }: { so: SocialSt; i: DeskIdentity;
|
|
|
375
377
|
return (
|
|
376
378
|
<>
|
|
377
379
|
{!clip ? (
|
|
378
|
-
<button className="so-icon" onClick={() => void so.copyImage(url, key)}
|
|
380
|
+
<button className="so-icon" onClick={() => void so.copyImage(url, key)} {...tip("copy the image, to paste in the account's page")}>
|
|
379
381
|
{so.copiedKey === key ? '✓' : '⧉'}
|
|
380
382
|
</button>
|
|
381
383
|
) : null}
|
|
382
|
-
<a className="so-icon" href={url} download={fileName(f.file)}
|
|
384
|
+
<a className="so-icon" href={url} download={fileName(f.file)} {...tip('download')}>
|
|
383
385
|
⬇
|
|
384
386
|
</a>
|
|
385
387
|
{!so.phone ? (
|
|
386
|
-
<button className="so-icon" onClick={() => void so.revealPicture(i.id, f.file)}
|
|
388
|
+
<button className="so-icon" onClick={() => void so.revealPicture(i.id, f.file)} {...tip(`show ${fileName(f.file)} in the Finder`)}>
|
|
387
389
|
📂
|
|
388
390
|
</button>
|
|
389
391
|
) : null}
|
|
@@ -411,7 +413,7 @@ const PictureTile = observer(({ so, i, f, width, label, used, foot }: { so: Soci
|
|
|
411
413
|
: null}
|
|
412
414
|
</div>
|
|
413
415
|
<div className="so-picrow">
|
|
414
|
-
<b className="rv-small so-ellip so-grow"
|
|
416
|
+
<b className="rv-small so-ellip so-grow" {...tip(`${[f.file, ...f.also].map(fileName).join(', ')}${size}`)}>
|
|
415
417
|
{label ?? fileName(f.file).replace(/^(avatar|banner)-(caid-)?/, '').replace(/\.\w+$/, '').replace(/-round$/, ' round')}
|
|
416
418
|
{label == null && !width ? <span className="rv-dim so-light">{size}</span> : null}
|
|
417
419
|
</b>
|
|
@@ -421,13 +423,13 @@ const PictureTile = observer(({ so, i, f, width, label, used, foot }: { so: Soci
|
|
|
421
423
|
<div className="so-picrow so-picmore">
|
|
422
424
|
{label != null && f.w !== null ? <span className="rv-dim rv-small">{f.w}×{f.h}</span> : null}
|
|
423
425
|
{f.also.map((x) => (
|
|
424
|
-
<a key={x} className="so-fmt" href={so.pictureUrl(i.id, x)} download={fileName(x)}
|
|
426
|
+
<a key={x} className="so-fmt" href={so.pictureUrl(i.id, x)} download={fileName(x)} {...tip(`download ${fileName(x)}`)}>
|
|
425
427
|
⬇ {ext(x)}
|
|
426
428
|
</a>
|
|
427
429
|
))}
|
|
428
430
|
</div>
|
|
429
431
|
) : null}
|
|
430
|
-
{used?.length ? <span className="rv-dim rv-small"
|
|
432
|
+
{used?.length ? <span className="rv-dim rv-small" {...tip('the accounts whose row names it')}>→ {used.join(', ')}</span> : null}
|
|
431
433
|
{foot}
|
|
432
434
|
</div>
|
|
433
435
|
)
|
|
@@ -441,9 +443,9 @@ const rowFileOf = (u: Upload, f: Picture): string | null => u.files.find((x) =>
|
|
|
441
443
|
const ShownFoot = observer(({ so, a, u, f }: { so: SocialSt; a: DeskAccount; u: Upload; f: Picture }) => {
|
|
442
444
|
const file = rowFileOf(u, f)
|
|
443
445
|
if (file == null) return null
|
|
444
|
-
if (!u.stale) return shownFile(u) === file ? <span className="so-badge t-ok so-shownok"
|
|
446
|
+
if (!u.stale) return shownFile(u) === file ? <span className="so-badge t-ok so-shownok" {...tip(`recorded ${u.shown!.on}, sha ${u.shown!.sha}`)}>✓ on {a.name}</span> : null
|
|
445
447
|
return (
|
|
446
|
-
<button className="so-btn primary so-uploaded" disabled={so.busy} onClick={() => void so.markShown(a, u.field, file)}
|
|
448
|
+
<button className="so-btn primary so-uploaded" disabled={so.busy} onClick={() => void so.markShown(a, u.field, file)} {...tip(`records that ${a.name} now shows ${fileName(file)}`)}>
|
|
447
449
|
✓ Done, uploaded
|
|
448
450
|
</button>
|
|
449
451
|
)
|
|
@@ -458,17 +460,17 @@ const PasteFoot = observer(({ so, a, field }: { so: SocialSt; a: DeskAccount; fi
|
|
|
458
460
|
if (state === 'pasted')
|
|
459
461
|
return (
|
|
460
462
|
<span className="so-paste">
|
|
461
|
-
<span className="so-badge t-ok"
|
|
463
|
+
<span className="so-badge t-ok" {...tip(`pasted on ${a.name} ${u.shown!.on}, sha ${u.shown!.sha}`)}>✓ pasted</span>
|
|
462
464
|
</span>
|
|
463
465
|
)
|
|
464
466
|
return (
|
|
465
467
|
<span className="so-paste">
|
|
466
468
|
{state === 'changed' ? (
|
|
467
|
-
<span className="so-badge solid t-warn"
|
|
469
|
+
<span className="so-badge solid t-warn" {...tip(staleWhy(a, u))}>
|
|
468
470
|
changed, paste again
|
|
469
471
|
</span>
|
|
470
472
|
) : null}
|
|
471
|
-
<button className={`so-btn so-pastebtn${state === 'changed' ? ' primary' : ''}`} disabled={so.busy} onClick={() => void so.markPasted(a, field, u.shas[0]!)}
|
|
473
|
+
<button className={`so-btn so-pastebtn${state === 'changed' ? ' primary' : ''}`} disabled={so.busy} onClick={() => void so.markPasted(a, field, u.shas[0]!)} {...tip(`records that ${a.name} now shows this text as it is here`)}>
|
|
472
474
|
✓ Done, pasted
|
|
473
475
|
</button>
|
|
474
476
|
</span>
|
|
@@ -748,7 +750,7 @@ const StepText = observer(({ so, a, index, text }: { so: SocialSt; a: DeskAccoun
|
|
|
748
750
|
if ('text' in p) return <MdInline key={j} text={p.text} />
|
|
749
751
|
if (p.as === 'tag')
|
|
750
752
|
return (
|
|
751
|
-
<span key={j} className="so-steptag"
|
|
753
|
+
<span key={j} className="so-steptag" {...tip('its value is in the form under this step')}>
|
|
752
754
|
{p.ref}
|
|
753
755
|
</span>
|
|
754
756
|
)
|
|
@@ -758,7 +760,7 @@ const StepText = observer(({ so, a, index, text }: { so: SocialSt; a: DeskAccoun
|
|
|
758
760
|
if (draft)
|
|
759
761
|
return (
|
|
760
762
|
<span key={j} className="so-chip">
|
|
761
|
-
<button className="primary" onClick={() => void so.copy(draft.text, keyOf(p.ref))}
|
|
763
|
+
<button className="primary" onClick={() => void so.copy(draft.text, keyOf(p.ref))} {...tip("copy that draft's text")}>
|
|
762
764
|
{so.copiedKey === keyOf(p.ref) ? '✓ copied' : `⧉ « ${draft.title || draft.slug.replace(/^\d{8}-\d{6}-/, '')} »`}
|
|
763
765
|
</button>
|
|
764
766
|
{draft.media ? (
|
|
@@ -772,7 +774,7 @@ const StepText = observer(({ so, a, index, text }: { so: SocialSt; a: DeskAccoun
|
|
|
772
774
|
if (row)
|
|
773
775
|
return (
|
|
774
776
|
<span key={j} className="so-chip">
|
|
775
|
-
<button className="primary so-chipvalue" onClick={() => void so.copy(row.value, keyOf(p.ref))}
|
|
777
|
+
<button className="primary so-chipvalue" onClick={() => void so.copy(row.value, keyOf(p.ref))} {...tip(`copy ${row.field}`)}>
|
|
776
778
|
{row.value} {so.copiedKey === keyOf(p.ref) ? '✓' : '⧉'}
|
|
777
779
|
</button>
|
|
778
780
|
<PasteFoot so={so} a={a} field={row.field} />
|
|
@@ -794,10 +796,10 @@ const StepText = observer(({ so, a, index, text }: { so: SocialSt; a: DeskAccoun
|
|
|
794
796
|
return (
|
|
795
797
|
<CopyRow key={ref} so={so} k={keyOf(ref)} field={ref} value={row.value}>
|
|
796
798
|
<span className="so-steppics">
|
|
797
|
-
{u?.stale ? <span className="so-badge solid t-warn"
|
|
799
|
+
{u?.stale ? <span className="so-badge solid t-warn" {...tip(staleWhy(a, u))}>new: not on {a.name} yet</span> : null}
|
|
798
800
|
{rowPictures(i, row.files).map((f) => (
|
|
799
801
|
<span key={f.file} className="so-chip">
|
|
800
|
-
<img className="so-stepimg" src={so.pictureUrl(i.id, f.file)} alt=""
|
|
802
|
+
<img className="so-stepimg" src={so.pictureUrl(i.id, f.file)} alt="" {...tip(fileName(f.file))} />
|
|
801
803
|
<PictureActions so={so} i={i} f={f} />
|
|
802
804
|
{u == null ? null : <ShownFoot so={so} a={a} u={u} f={f} />}
|
|
803
805
|
</span>
|
|
@@ -831,8 +833,8 @@ export const AccountProfile = observer(({ so, a }: { so: SocialSt; a: DeskAccoun
|
|
|
831
833
|
const rest = otherRows(i, a)
|
|
832
834
|
const right = (
|
|
833
835
|
<>
|
|
834
|
-
{stale > 0 ? <span className="so-badge solid t-warn"
|
|
835
|
-
{rating === '' ? null : <span className={`so-badge solid ${rating === 'sfw' ? 't-ok' : 't-warn'}`}
|
|
836
|
+
{stale > 0 ? <span className="so-badge solid t-warn" {...tip('rows this account does not show as the folder holds them now')}>{stale} to update</span> : null}
|
|
837
|
+
{rating === '' ? null : <span className={`so-badge solid ${rating === 'sfw' ? 't-ok' : 't-warn'}`} {...tip('its rating row: the pictures it shows')}>{rating}</span>}
|
|
836
838
|
</>
|
|
837
839
|
)
|
|
838
840
|
return (
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
type SocialPost,
|
|
49
49
|
type Timeline,
|
|
50
50
|
} from './social-model.ts'
|
|
51
|
+
import { hidden } from '../polled.ts'
|
|
51
52
|
|
|
52
53
|
/** a post URL of ours the tracker saw that no opened message took: « seen, which post? » */
|
|
53
54
|
export type SeenPost = { identity: string; platform: string; url: string; at: number }
|
|
@@ -214,6 +215,7 @@ export class SocialSt {
|
|
|
214
215
|
if (this.started++ === 0) {
|
|
215
216
|
window.addEventListener('focus', this.onBack)
|
|
216
217
|
this.trackerTimer = setInterval(() => {
|
|
218
|
+
if (hidden()) return
|
|
217
219
|
void this.loadTracker()
|
|
218
220
|
void this.loadNext()
|
|
219
221
|
}, TRACKER_MS)
|
|
@@ -822,8 +824,8 @@ export class SocialSt {
|
|
|
822
824
|
|
|
823
825
|
// ── the page's keys ──────────────────────────────────────────────────
|
|
824
826
|
|
|
825
|
-
/** the lightbox's arrows and Escape first, then j k on the list and the drafts' ← →;
|
|
826
|
-
* (
|
|
827
|
+
/** the lightbox's arrows and Escape first, then j k on the list and the drafts' ← →; ⇧↑ ⇧↓ and `/` are the hub's
|
|
828
|
+
* (columns.ts). True when the page used the key */
|
|
827
829
|
key(e: Pick<KeyboardEvent, 'key'>, page: 'comms' | 'social'): boolean {
|
|
828
830
|
const lb = this.lightbox
|
|
829
831
|
if (lb) {
|
|
@@ -7,6 +7,7 @@ import { takes, type PostRating } from '../../../identities/rating.ts'
|
|
|
7
7
|
import type { Chip } from '../../../review/stage-thread.ts'
|
|
8
8
|
import { editorLink, kindTone } from './social-model.ts'
|
|
9
9
|
import type { StageSt } from './stage-st.ts'
|
|
10
|
+
import { tip } from '../tips.ts'
|
|
10
11
|
|
|
11
12
|
const FROM: Record<Chip['from'] | 'tested', string> = { tested: 'tested', post: 'its post line', version: 'the version', view: 'its views', his: 'your words', agent: 'the lane' }
|
|
12
13
|
const RATING_TIP: Record<PostRating, string> = { safe: 'no nudity', mild: 'nudity, never explicit', explicit: 'the rest: adult venues only' }
|
|
@@ -19,7 +20,7 @@ const Kind = observer(({ st }: { st: StageSt }) => {
|
|
|
19
20
|
<>
|
|
20
21
|
<div className="sg-field">
|
|
21
22
|
<span>kind</span>
|
|
22
|
-
<select value={st.kind} onChange={(e) => st.setKind(e.target.value)}
|
|
23
|
+
<select value={st.kind} onChange={(e) => st.setKind(e.target.value)} {...tip('what the post is for: read its rules page before the first word')}>
|
|
23
24
|
{(st.data?.kinds ?? []).map((x) => (
|
|
24
25
|
<option key={x.id} value={x.id}>
|
|
25
26
|
{x.id}: {x.for}
|
|
@@ -27,7 +28,7 @@ const Kind = observer(({ st }: { st: StageSt }) => {
|
|
|
27
28
|
))}
|
|
28
29
|
</select>
|
|
29
30
|
{k?.page ? (
|
|
30
|
-
<a className="so-kind" style={{ '--kt': kindTone(k.id) } as CSSProperties} href={editorLink(k.page)}
|
|
31
|
+
<a className="so-kind" style={{ '--kt': kindTone(k.id) } as CSSProperties} href={editorLink(k.page)} {...tip(`the rules of a ${k.id} post: ${k.page}`)}>
|
|
31
32
|
{k.title ?? k.id} ↗
|
|
32
33
|
</a>
|
|
33
34
|
) : null}
|
|
@@ -57,15 +58,15 @@ const Media = observer(({ st, url }: { st: StageSt; url: (p: string) => string }
|
|
|
57
58
|
{m.kind === 'clip' ? (
|
|
58
59
|
<div className="sg-strip">
|
|
59
60
|
<span className="sg-from">passage</span>
|
|
60
|
-
<button className="rv-chip"
|
|
61
|
+
<button className="rv-chip" {...tip("the passage starts at the player's time")} onClick={() => st.setIn(clip.current?.currentTime ?? 0)}>
|
|
61
62
|
⇤ in here
|
|
62
63
|
</button>
|
|
63
|
-
<button className="rv-chip"
|
|
64
|
+
<button className="rv-chip" {...tip("the passage ends at the player's time")} onClick={() => st.setOut(clip.current?.currentTime ?? 0)}>
|
|
64
65
|
out here ⇥
|
|
65
66
|
</button>
|
|
66
67
|
<span className="rv-dim">{p.from !== null && p.to !== null ? `${p.from} s → ${p.to} s` : p.from !== null ? `from ${p.from} s, set the out` : 'the whole clip'}</span>
|
|
67
68
|
{p.from !== null || p.to !== null ? (
|
|
68
|
-
<button className="ghost" onClick={() => st.clearPassage()}>
|
|
69
|
+
<button className="ghost" {...tip('the whole clip again: forget the passage')} aria-label="forget the passage" onClick={() => st.clearPassage()}>
|
|
69
70
|
✕
|
|
70
71
|
</button>
|
|
71
72
|
) : null}
|
|
@@ -88,7 +89,7 @@ const GoesTo = observer(({ st }: { st: StageSt }) => {
|
|
|
88
89
|
const over = post && a.max !== null && post.length > a.max
|
|
89
90
|
const channels = a.places.filter((p) => takes(p.ceiling as PostRating, rating))
|
|
90
91
|
return (
|
|
91
|
-
<span key={a.id} className={`sg-acc${skip || (st.dry && !post) ? ' skip' : ''}${over || post?.refused ? ' bad' : ''}`}
|
|
92
|
+
<span key={a.id} className={`sg-acc${skip || (st.dry && !post) ? ' skip' : ''}${over || post?.refused ? ' bad' : ''}`} {...tip(skip?.why ?? post?.refused ?? '')}>
|
|
92
93
|
<b>{a.name}</b>
|
|
93
94
|
{post ? (
|
|
94
95
|
<>
|
|
@@ -145,7 +146,7 @@ export const StagePopup = observer(({ st, url, close }: { st: StageSt; url: (p:
|
|
|
145
146
|
<b>Stage a post</b>
|
|
146
147
|
<span className="rv-dim">{d?.identity ? `speaks as ${d.identity.name}${d.identity.adult ? ' (18+)' : ''}` : 'reading the thread…'}</span>
|
|
147
148
|
<span className="sp" />
|
|
148
|
-
<button className="ghost" onClick={close}
|
|
149
|
+
<button className="ghost" onClick={close} {...tip('close', 'Escape')}>
|
|
149
150
|
esc
|
|
150
151
|
</button>
|
|
151
152
|
</div>
|
|
@@ -155,7 +156,7 @@ export const StagePopup = observer(({ st, url, close }: { st: StageSt; url: (p:
|
|
|
155
156
|
<Media st={st} url={url} />
|
|
156
157
|
<div className="sg-strip">
|
|
157
158
|
{d?.media.map((m) => (
|
|
158
|
-
<button key={m.key} className={`rv-chip${m.key === st.pick ? ' on' : ''}`} onClick={() => st.setPick(m.key)}
|
|
159
|
+
<button key={m.key} className={`rv-chip${m.key === st.pick ? ' on' : ''}`} onClick={() => st.setPick(m.key)} {...tip(m.key)}>
|
|
159
160
|
{m.kind === 'clip' ? '▶ ' : ''}
|
|
160
161
|
{m.label}
|
|
161
162
|
</button>
|
|
@@ -171,7 +172,7 @@ export const StagePopup = observer(({ st, url, close }: { st: StageSt; url: (p:
|
|
|
171
172
|
<span>rating</span>
|
|
172
173
|
<span className="seg">
|
|
173
174
|
{(d?.ratings ?? []).map((r) => (
|
|
174
|
-
<button key={r} className={st.rating === r ? 'on' : ''}
|
|
175
|
+
<button key={r} className={st.rating === r ? 'on' : ''} {...tip(RATING_TIP[r])} onClick={() => st.setRating(r)}>
|
|
175
176
|
{r}
|
|
176
177
|
</button>
|
|
177
178
|
))}
|
|
@@ -186,7 +187,7 @@ export const StagePopup = observer(({ st, url, close }: { st: StageSt; url: (p:
|
|
|
186
187
|
{chips
|
|
187
188
|
.filter((c) => c.from === g)
|
|
188
189
|
.map((c, k) => (
|
|
189
|
-
<button key={k} className="rv-chip"
|
|
190
|
+
<button key={k} className="rv-chip" {...tip('insert at the cursor')} onMouseDown={(e) => e.preventDefault()} onClick={() => st.insert(c.text)}>
|
|
190
191
|
{c.text.length > 90 ? `${c.text.slice(0, 88)}…` : c.text}
|
|
191
192
|
</button>
|
|
192
193
|
))}
|
|
@@ -91,7 +91,6 @@ a.so-icon:visited{color:var(--dim)}
|
|
|
91
91
|
.so-draftrow:hover{background:var(--panel2)}
|
|
92
92
|
.so-draftrow.p-some{background:color-mix(in srgb,var(--ok) 9%,var(--panel))}
|
|
93
93
|
.so-draftrow.p-all{background:color-mix(in srgb,var(--ok) 22%,var(--panel))}
|
|
94
|
-
.so-draftrow.on{background:var(--sel);box-shadow:inset 3px 0 0 var(--accent)}
|
|
95
94
|
.so-draftrow.rejected{opacity:.5}
|
|
96
95
|
.so-draftrow.part{padding-left:var(--s4);font-size:12px}
|
|
97
96
|
.so-day{flex:none;font-size:11px;color:var(--dim);font-variant-numeric:tabular-nums}
|
|
@@ -231,7 +230,7 @@ a.so-kind:hover{text-decoration:underline}
|
|
|
231
230
|
.so-identity{--brand:var(--accent);display:flex;align-items:center;gap:var(--s3);width:100%;padding:var(--s2) var(--s3);border-radius:10px;text-align:left;cursor:pointer;border:2px solid color-mix(in srgb,var(--brand) 30%,var(--line));background:linear-gradient(120deg,var(--panel),color-mix(in srgb,var(--brand) 14%,var(--panel)))}
|
|
232
231
|
.so-identity:hover{border-color:color-mix(in srgb,var(--brand) 60%,var(--line))}
|
|
233
232
|
.so-identity.open{border-color:color-mix(in srgb,var(--brand) 55%,var(--line))}
|
|
234
|
-
.so-identity.on{border-color:var(--
|
|
233
|
+
.so-identity.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
|
|
235
234
|
.so-avatar{width:44px;height:44px;border-radius:12px;flex:none;object-fit:cover;background:var(--panel2)}
|
|
236
235
|
.so-initial{display:grid;place-items:center;font-size:20px;font-weight:800;color:var(--brand)}
|
|
237
236
|
.so-identitytext{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--s0)}
|
|
@@ -240,13 +239,16 @@ a.so-kind:hover{text-decoration:underline}
|
|
|
240
239
|
.so-bio{font-size:11.5px;color:var(--dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
241
240
|
.so-acard{border-radius:8px;border:1px solid var(--line);border-left:4px solid var(--line);background:var(--panel);overflow:hidden}
|
|
242
241
|
.so-acard:hover{border-top-color:color-mix(in srgb,var(--brand) 45%,var(--line));border-right-color:color-mix(in srgb,var(--brand) 45%,var(--line));border-bottom-color:color-mix(in srgb,var(--brand) 45%,var(--line))}
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
/* a live account wears its brand as its left stripe alone: a wash of it on the ground stood too close to the selection
|
|
243
|
+
ground of the row beside it (a blue brand under a lit row) */
|
|
244
|
+
.so-acard.live{border-left-color:var(--brand)}
|
|
245
|
+
/* the account picked: the list's lit row is its head (hub.css, the lit row of a list panel); its edge follows in the
|
|
246
|
+
accent, its left stripe stays the brand's */
|
|
247
|
+
.so-acard.picked{border-top-color:var(--accent);border-right-color:var(--accent);border-bottom-color:var(--accent)}
|
|
245
248
|
.so-ahead,.so-placerow{display:flex;align-items:center;gap:var(--s2);width:100%;border:0;border-radius:0;background:none;text-align:left;cursor:pointer;min-width:0}
|
|
246
249
|
.so-ahead{padding:var(--s2) var(--s3)}
|
|
247
250
|
.so-placerow{padding:var(--s0) var(--s3) var(--s0) var(--s4);border-top:1px solid var(--line);font-size:11.5px}
|
|
248
251
|
.so-ahead:hover,.so-placerow:hover{background:var(--panel2)}
|
|
249
|
-
.so-ahead.on,.so-placerow.on{background:color-mix(in srgb,var(--brand) 14%,transparent)}
|
|
250
252
|
.so-atext{flex:1;min-width:0;display:flex;flex-direction:column;font-size:13px}
|
|
251
253
|
.so-stats{font-size:11px;font-weight:700;color:var(--ok)}
|
|
252
254
|
.so-pdot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--line)}
|