feat(howitworks): PR5 — runtime console, palette migration + smooth swaps [clean]#36
Merged
Merged
Conversation
Recast the 4-tab explainer as a hero-grade runtime console and bring it onto the shared design language. - Palette migration off the legacy #8E3DFF system: rgba(142,61,255)→ rgba(154,142,205), rgba(201,167,255)→rgba(180,170,235), #4ade80→ var(--green). This section was the biggest source of "five experiments". - Frame uses the shared .panel with a new topbar rail (dots + "coven · runtime" + a local status dot) echoing the hero card. - Stage min-height locked so switching tabs never reflows the page; incoming panels crossfade (motion-gated); live content (memory board, harness detail, tool rule) repaints through fadeSwap from shared.js. - wireRadioGroup lifted to shared.js (was inline). - Sessions filter now hides non-matches (was dimming) and announces an empty state inside the aria-live region. - Removed every !important by scoping widget typography under .howit-widget. - Retired the four ad-hoc #E8DBFF focus outlines for the unified ring. - Mobile: tabs become a 2×2 grid (≥40px targets, no 9px squeeze); the tool flow stacks vertically with rotated (still-visible) arrows. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the How It Works section to better match the “hero-grade runtime console” visual language, while improving tab/panel swapping behavior and migrating styles onto shared palette/tokens and shared JS helpers.
Changes:
- Adds a console-style top bar and migrates the frame to the shared
.panelsurface. - Introduces a stage wrapper with a locked min-height (desktop) and adds crossfades via
fadeSwap+.swap-fade. - Improves Sessions filtering UX by hiding non-matching rows and adding an empty-state message.
Comments suppressed due to low confidence (1)
src/components/HowItWorks.astro:159
- The
aria-live="polite"region currently wraps the entire sessions list. Because filtering toggleshiddenon many rows, some screen readers may announce a large amount of list content instead of only the intended empty-state message. Scope the live announcement to the empty-state element (e.g.,role="status") and removearia-livefrom the container.
<div class="sessions-results" aria-live="polite">
<ul class="sessions-list">
{sessionsData.map((s) => (
<li class="sessions-row" data-status={s.status}>
<span class={`sessions-dot status-${s.status}`} aria-hidden="true"></span>
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recasts the 4-tab explainer as a hero-grade runtime console: palette migration off legacy #8E3DFF, console topbar, stage-height lock + crossfades via fadeSwap, sessions empty-state, no more !important, unified focus, and mobile 2×2 tabs + vertical tool-flow. Stacked on the ecosystem PR.
Clean re-cut of the section overhaul: a concurrent session had interleaved two commits (px→rem conversion, multi-screen support) into the original stack (#26–#31). Rebuilt in an isolated worktree with only my six signed commits. Supersedes the original PR.
🤖 Generated with Claude Code