fix: drop the em dash from user-facing copy
Anti-slop audit-002, item 13 (R-02). Every em dash in text the user sees (web UI labels, toasts, tooltips, empty and error states, chat steps, API messages, notifications and channel replies) became a period, comma, colon or parentheses. Model prompts, logs, comments, regexes and the lone dash that marks an empty value are unchanged. Text the client matches against server copy (the default workspace summary, the quiet-night dream summary) accepts the old wording too, so cached and saved data still match.
This commit is contained in:
@@ -40,7 +40,7 @@ const SPRING_USE: Record<SpringVariant, string> = {
|
||||
};
|
||||
|
||||
const REDUCED_ROWS: readonly { tier: MotionTier; behaviour: string; note: string }[] = [
|
||||
{ tier: "routeTransition", behaviour: REDUCED.routeTransition, note: "no shared-element travel — cut straight to the destination via opacity" },
|
||||
{ tier: "routeTransition", behaviour: REDUCED.routeTransition, note: "no shared-element travel, cut straight to the destination via opacity" },
|
||||
{ tier: "hover", behaviour: REDUCED.hover, note: "keep border-warm + shadow bloom, drop the -translate/scale (motion-safe: prefix)" },
|
||||
{ tier: "settle", behaviour: REDUCED.settle, note: "snap to the settled state, pulse colour once instead of the gesture" },
|
||||
{ tier: "streamingCaret", behaviour: REDUCED.streamingCaret, note: "static caret glyph, no blink/trail" },
|
||||
@@ -72,30 +72,30 @@ type InventoryRow = {
|
||||
// tree; "compliant" = a bare token/keyword transition with no magic number.
|
||||
const INVENTORY: readonly InventoryRow[] = [
|
||||
// ── Discrete-transition retrofits (magic durations → tokens) ──────────────
|
||||
{ motion: "Card hover — lift + honey bloom", file: "AllWorkspacesApp · SuggestedAgentCards · ExtensionCard", tier: "hover", token: "--mo-fast + --mo-ease", reduced: "color + shadow, no transform (motion-safe)", status: "live ✓" },
|
||||
{ motion: "Card hover: lift + honey bloom", file: "AllWorkspacesApp · SuggestedAgentCards · ExtensionCard", tier: "hover", token: "--mo-fast + --mo-ease", reduced: "color + shadow, no transform (motion-safe)", status: "live ✓" },
|
||||
{ motion: "Shelf / card entrance stagger", file: "AllWorkspacesApp · SuggestedAgentCards", tier: "standard (entrance)", token: "card-enter · --mo-slow + --mo-ease + STAGGER.list", reduced: "instant set (reduceMotion → no delay travel)", status: "live ✓" },
|
||||
{ motion: "Memory hero count-up", file: "MemoryTrustManage (HeroCount)", tier: "countUp", token: "600ms easeOutCubic rAF (bespoke landing, justified)", reduced: "instant-set (source number)", status: "live ✓" },
|
||||
{ motion: "Trust ↔ Memories card-enter frame", file: "MemoryTrustManage · MemoryCenterTab", tier: "standard (entrance)", token: "card-enter · --mo-fast/--mo-slow + --mo-ease", reduced: "instant (reduceMotion → no style)", status: "live ✓" },
|
||||
{ motion: "Briefing entrance staggers", file: "LoginBriefing", tier: "brief (entrance)", token: "STAGGER.brief + DUR.base + EASE_OUT", reduced: "instant (reduceMotion crossfade)", status: "live ✓" },
|
||||
{ motion: "Theme crossfade (“sunset”)", file: "ThemeProvider · index.css .theme-transition", tier: "routeTransition", token: "var(--mo-slow) — shared w/ ThemeProvider DUR.slow", reduced: "off — instant token swap (no-preference gated)", status: "live ✓" },
|
||||
{ motion: "Theme crossfade (“sunset”)", file: "ThemeProvider · index.css .theme-transition", tier: "routeTransition", token: "var(--mo-slow), shared w/ ThemeProvider DUR.slow", reduced: "off: instant token swap (no-preference gated)", status: "live ✓" },
|
||||
{ motion: "Boot phase transitions", file: "BootScreen", tier: "standard / expressive", token: "DUR.base – DUR.settle (+ 2 justified bespoke boot beats)", reduced: "crossfade / instant", status: "live ✓" },
|
||||
{ motion: "Chat action-row reveal (Copy / Retry toolbar)", file: "ChatApp", tier: "standard", token: "--mo-fast + --mo-ease", reduced: "opacity only, no slide (motion-reduce:transition-none)", status: "live ✓" },
|
||||
{ motion: "Send button — colour / fill / scale transition", file: "ChatApp", tier: "standard + micro (send-arm)", token: "--mo-base (pulse timer = DUR.base)", reduced: "colour only, no scale (motion-safe)", status: "live ✓" },
|
||||
{ motion: "Disclosure / chevron rotate (pins · sessions)", file: "ChatApp", tier: "micro", token: "bare transition-transform (no magic number)", reduced: "transform-only — unchanged", status: "compliant" },
|
||||
{ motion: "Send button: colour / fill / scale transition", file: "ChatApp", tier: "standard + micro (send-arm)", token: "--mo-base (pulse timer = DUR.base)", reduced: "colour only, no scale (motion-safe)", status: "live ✓" },
|
||||
{ motion: "Disclosure / chevron rotate (pins · sessions)", file: "ChatApp", tier: "micro", token: "bare transition-transform (no magic number)", reduced: "transform-only, unchanged", status: "compliant" },
|
||||
// ── Signature moments (SIGNATURE tier; guarded) ───────────────────────────
|
||||
{ motion: "Memory “+N ⬡” fold-into-hive", file: "StatusBar (.memory-fold)", tier: "settle · SIGNATURE.full", token: "memory-fold 1.8s keyframe", reduced: "off — particle never shows (opacity 0, reduce block)", status: "live ✓" },
|
||||
{ motion: "Memory-count honey-pulse", file: "StatusBar (.honey-pulse)", tier: "settle · signature", token: "honey-pulse 0.6s keyframe", reduced: "off — pulse skipped (reduce block)", status: "live ✓" },
|
||||
{ motion: "Memory “+N ⬡” fold-into-hive", file: "StatusBar (.memory-fold)", tier: "settle · SIGNATURE.full", token: "memory-fold 1.8s keyframe", reduced: "off: particle never shows (opacity 0, reduce block)", status: "live ✓" },
|
||||
{ motion: "Memory-count honey-pulse", file: "StatusBar (.honey-pulse)", tier: "settle · signature", token: "honey-pulse 0.6s keyframe", reduced: "off: pulse skipped (reduce block)", status: "live ✓" },
|
||||
// ── Ambient loops (loop cadence — no discrete token by design; reduced = off) ─
|
||||
{ motion: "Bee “thinking” ring while streaming", file: "ChatApp · ChatWorkCanvas · DotLive (.dot-live → breathe)", tier: "ambient", token: "breathe 2.4s loop", reduced: "off — static ring (reduce block + motion-reduce)", status: "live ✓" },
|
||||
{ motion: "Empty-state bee float", file: "ChatApp (.float)", tier: "ambient", token: "float 3s loop", reduced: "off — stilled (reduce block)", status: "live ✓" },
|
||||
{ motion: "Streaming bar slide", file: "ChatApp · index.css .chat-stream-shimmer", tier: "ambient", token: "shimmer 1.5s loop", reduced: "off — static segment (reduce block)", status: "live ✓" },
|
||||
{ motion: "Bee “thinking” ring while streaming", file: "ChatApp · ChatWorkCanvas · DotLive (.dot-live → breathe)", tier: "ambient", token: "breathe 2.4s loop", reduced: "off: static ring (reduce block + motion-reduce)", status: "live ✓" },
|
||||
{ motion: "Empty-state bee float", file: "ChatApp (.float)", tier: "ambient", token: "float 3s loop", reduced: "off: stilled (reduce block)", status: "live ✓" },
|
||||
{ motion: "Streaming bar slide", file: "ChatApp · index.css .chat-stream-shimmer", tier: "ambient", token: "shimmer 1.5s loop", reduced: "off: static segment (reduce block)", status: "live ✓" },
|
||||
{ motion: "Skeleton loaders (workspace · memory · briefing)", file: "WorkspaceDesktopApp · MemoryCenterTab · LoginBriefing (animate-pulse)", tier: "ambient", token: "Tailwind pulse 2s loop", reduced: "off (motion-reduce:animate-none)", status: "live ✓" },
|
||||
{ motion: "Onboarding hero bee pulse", file: "onboarding/WelcomeStep (framer-motion drop-shadow)", tier: "ambient", token: "3s filter loop (reduceMotion → static drop-shadow)", reduced: "off — single static drop-shadow", status: "live ✓" },
|
||||
{ motion: "Boot showcase hex pulse", file: "PlatformApp (.boot-hex-pulse)", tier: "ambient", token: "boot-hex-pulse 2.2s loop", reduced: "off — static shadow (reduce block)", status: "live ✓" },
|
||||
{ motion: "Onboarding hero bee pulse", file: "onboarding/WelcomeStep (framer-motion drop-shadow)", tier: "ambient", token: "3s filter loop (reduceMotion → static drop-shadow)", reduced: "off: single static drop-shadow", status: "live ✓" },
|
||||
{ motion: "Boot showcase hex pulse", file: "PlatformApp (.boot-hex-pulse)", tier: "ambient", token: "boot-hex-pulse 2.2s loop", reduced: "off: static shadow (reduce block)", status: "live ✓" },
|
||||
// ── Streaming caret ───────────────────────────────────────────────────────
|
||||
{ motion: "Streaming block caret", file: "ChatWorkCanvas · chat-blocks/TextBlock (animate-pulse)", tier: "streamingCaret", token: "Tailwind pulse (block cursor)", reduced: "static (motion-reduce:animate-none)", status: "live ✓" },
|
||||
// ── Dead CSS animation classes (defined in index.css, applied by NO component) ─
|
||||
{ motion: "Unused animation classes", file: "index.css .hex-cursor · .token-stream · .send-flash · .heartbeat · .hex-spin · .glow-breathe", tier: "—", token: "@keyframes exist, no component applies the class", reduced: "n/a — produce no motion", status: "N/A — dead class" },
|
||||
{ motion: "Unused animation classes", file: "index.css .hex-cursor · .token-stream · .send-flash · .heartbeat · .hex-spin · .glow-breathe", tier: "—", token: "@keyframes exist, no component applies the class", reduced: "n/a: produce no motion", status: "N/A: dead class" },
|
||||
];
|
||||
|
||||
function Section({ title, subtitle, children }: { title: string; subtitle?: string; children: React.ReactNode }) {
|
||||
@@ -151,7 +151,7 @@ function HoverTierCard() {
|
||||
className="pointer-events-none absolute inset-x-0 top-0 h-[2px] bg-[var(--honey)] opacity-0 transition-opacity duration-mo-fast group-hover:opacity-100 group-focus-visible:opacity-100"
|
||||
/>
|
||||
<span className="font-display text-[14px] font-semibold text-[var(--text)]">Sample card</span>
|
||||
<span className="text-[12px] text-[var(--text-muted)]">Hover, keyboard-focus, and press me — same tier.</span>
|
||||
<span className="text-[12px] text-[var(--text-muted)]">Hover, keyboard-focus, and press me: same tier.</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -250,7 +250,7 @@ function WaggleSettleSample({ reduce }: { reduce: boolean }) {
|
||||
{play ? "…dancing" : "Play the waggle ⬡"}
|
||||
</button>
|
||||
<span className="font-mono text-[11px] text-[var(--text-muted)]">
|
||||
{reduce ? "reduce — instant state + one colour pulse" : "SPRING.expressive · DUR.settle (~400ms)"}
|
||||
{reduce ? "reduce: instant state + one colour pulse" : "SPRING.expressive · DUR.settle (~400ms)"}
|
||||
</span>
|
||||
</div>
|
||||
{/* The exact product moment it is wired to: a "memory saved" confirmation. */}
|
||||
@@ -299,7 +299,7 @@ export default function MotionSpec() {
|
||||
}`}
|
||||
>
|
||||
<span aria-hidden className={`h-2 w-2 rounded-full ${reduce ? "bg-[var(--honey)]" : "bg-[var(--healthy)]"}`} />
|
||||
prefers-reduced-motion: {reduce ? "reduce — this page is degrading every tier live" : "no-preference"}
|
||||
prefers-reduced-motion: {reduce ? "reduce (this page is degrading every tier live)" : "no-preference"}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -316,7 +316,7 @@ export default function MotionSpec() {
|
||||
|
||||
<Section
|
||||
title="2 · Multi-tier hover"
|
||||
subtitle="rest → hover (lift 2px + honey border-warm + shadow bloom) → press (scale .98) → focus-visible (same tier, keyboard). The lift is motion-safe: under reduced-motion the colour+shadow tier stays and only the transform drops — exactly REDUCED.hover."
|
||||
subtitle="rest → hover (lift 2px + honey border-warm + shadow bloom) → press (scale .98) → focus-visible (same tier, keyboard). The lift is motion-safe: under reduced-motion the colour+shadow tier stays and only the transform drops (exactly REDUCED.hover)."
|
||||
>
|
||||
<HoverTierCard />
|
||||
</Section>
|
||||
@@ -330,14 +330,14 @@ export default function MotionSpec() {
|
||||
|
||||
<Section
|
||||
title="4 · Exit choreography"
|
||||
subtitle="AnimatePresence in/out in the same vocabulary — enter and exit are one gesture, mirrored. Menus, cards, modals, and route surfaces all define exits this way."
|
||||
subtitle="AnimatePresence in/out in the same vocabulary: enter and exit are one gesture, mirrored. Menus, cards, modals, and route surfaces all define exits this way."
|
||||
>
|
||||
<ExitSample reduce={reduce} />
|
||||
</Section>
|
||||
|
||||
<Section
|
||||
title="5 · Reduced-motion mapping (per tier)"
|
||||
subtitle="Defined for EVERY tier, not just ambient — and consumed above, not just documented. Flip your OS 'reduce motion' setting and every section on this page degrades to the behaviour in this table."
|
||||
subtitle="Defined for EVERY tier, not just ambient, and consumed above, not just documented. Flip your OS 'reduce motion' setting and every section on this page degrades to the behaviour in this table."
|
||||
>
|
||||
<div className="overflow-x-auto rounded-[14px] border border-[var(--line)]">
|
||||
<table className="w-full border-collapse text-left text-[12.5px]">
|
||||
@@ -394,7 +394,7 @@ export default function MotionSpec() {
|
||||
<td className="px-4 py-2.5 font-mono text-[12px] text-[var(--text-2)]">SIGNATURE.micro</td>
|
||||
<td className="px-4 py-2.5 text-[var(--text-muted)]">{SIGNATURE.micro.moments.join(" · ")}</td>
|
||||
<td className="px-4 py-2.5 font-mono text-[12px] text-[var(--honey-text)]">{SIGNATURE.micro.durS}s</td>
|
||||
<td className="px-4 py-2.5 text-[var(--text-muted)]">high-frequency — no flourish, no cooldown</td>
|
||||
<td className="px-4 py-2.5 text-[var(--text-muted)]">high-frequency: no flourish, no cooldown</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -402,15 +402,15 @@ export default function MotionSpec() {
|
||||
</Section>
|
||||
|
||||
<Section
|
||||
title="7 · The signature gesture — the waggle-settle (prototype)"
|
||||
subtitle="The commissioned brand gesture (Pillar 1.3), judged STANDALONE here first. The honey brand hex runs the bee's figure-eight waggle dance (a Gerono lemniscate — two lobes crossing at the origin — with a fast body-wobble) and settles at centre with a single-overshoot spring (SPRING.expressive · DUR.settle). The translation PATH carries the identity — it reads as 'the waggle,' not a scale-pop. Wired to exactly ONE product moment (memory saved, first per session, behind the SIGNATURE.full cooldown gate); it does not propagate elsewhere in this phase. Reduced-motion → the dancer snaps to its settled state and a single honey colour pulse replaces the gesture (REDUCED.settle = instant-state-color-pulse)."
|
||||
title="7 · The signature gesture: the waggle-settle (prototype)"
|
||||
subtitle="The commissioned brand gesture (Pillar 1.3), judged STANDALONE here first. The honey brand hex runs the bee's figure-eight waggle dance (a Gerono lemniscate, two lobes crossing at the origin, with a fast body-wobble) and settles at centre with a single-overshoot spring (SPRING.expressive · DUR.settle). The translation PATH carries the identity: it reads as 'the waggle,' not a scale-pop. Wired to exactly ONE product moment (memory saved, first per session, behind the SIGNATURE.full cooldown gate); it does not propagate elsewhere in this phase. Reduced-motion → the dancer snaps to its settled state and a single honey colour pulse replaces the gesture (REDUCED.settle = instant-state-color-pulse)."
|
||||
>
|
||||
<WaggleSettleSample reduce={reduce} />
|
||||
</Section>
|
||||
|
||||
<Section
|
||||
title="8 · The inventory — every motion on the judged surfaces"
|
||||
subtitle="The Phase-A end-state, rebuilt from the shipped tree (every row grep-verified). Discrete transitions (hover tiers, entrances, chrome, count-ups, boot, theme crossfade) resolve to the tokens above — acceptance = ZERO non-token durations/easings on judged surfaces. Signature moments and ambient loops keep their keyframe cadence on purpose (loop rhythm is not a discrete-transition duration); every one degrades per the reduced-motion column. The final row lists CSS animation classes that are defined but no longer applied — kept honest, not hidden."
|
||||
title="8 · The inventory: every motion on the judged surfaces"
|
||||
subtitle="The Phase-A end-state, rebuilt from the shipped tree (every row grep-verified). Discrete transitions (hover tiers, entrances, chrome, count-ups, boot, theme crossfade) resolve to the tokens above (acceptance = ZERO non-token durations/easings on judged surfaces). Signature moments and ambient loops keep their keyframe cadence on purpose (loop rhythm is not a discrete-transition duration); every one degrades per the reduced-motion column. The final row lists CSS animation classes that are defined but no longer applied (kept honest, not hidden)."
|
||||
>
|
||||
<div className="overflow-x-auto rounded-[14px] border border-[var(--line)]">
|
||||
<table className="w-full border-collapse text-left text-[12px]">
|
||||
@@ -440,12 +440,12 @@ export default function MotionSpec() {
|
||||
</div>
|
||||
<p className="mt-3 max-w-[68ch] text-[11.5px] leading-relaxed text-[var(--text-dim)]">
|
||||
The theme crossfade now resolves to
|
||||
<span className="font-mono"> var(--mo-slow) </span>(320ms) — the same token
|
||||
<span className="font-mono"> var(--mo-slow) </span>(320ms), the same token
|
||||
ThemeProvider’s JS cleanup timer reads via
|
||||
<span className="font-mono"> DUR.slow</span>, so the CSS window and the JS timer share
|
||||
one source of truth (was a bespoke 360ms literal). Boot keeps a handful of
|
||||
comment-justified bespoke cinematic beats in <span className="font-mono">BootScreen</span>
|
||||
(entrance spring ζ≈0.707, ambient glow loop — reduced-motion-gated, exit/fade literals);
|
||||
(entrance spring ζ≈0.707, reduced-motion-gated ambient glow loop, exit/fade literals);
|
||||
the memory hero count-up is a deliberate ~600ms rAF landing. Everything else on the
|
||||
judged surfaces resolves to a token or carries a one-line justification at the site.
|
||||
</p>
|
||||
|
||||
@@ -23,7 +23,7 @@ const NotFound = () => {
|
||||
</div>
|
||||
<h1 className="mb-2 mt-3 font-display text-2xl font-semibold">This cell of the hive is empty.</h1>
|
||||
<p className="mb-6 max-w-[40ch] text-[14.5px] text-[var(--text-muted)]">
|
||||
The page you’re after doesn’t exist — but your memory and workspaces are right where you
|
||||
The page you’re after doesn’t exist, but your memory and workspaces are right where you
|
||||
left them.
|
||||
</p>
|
||||
<div className="flex flex-wrap items-center justify-center gap-2.5">
|
||||
|
||||
Reference in New Issue
Block a user