Skip to content

feat: About in an empty-state footer across the deck, Modal shared in deck-kit - #286

Open
andraderaul wants to merge 2 commits into
mainfrom
feat/about-footer
Open

feat: About in an empty-state footer across the deck, Modal shared in deck-kit#286
andraderaul wants to merge 2 commits into
mainfrom
feat/about-footer

Conversation

@andraderaul

Copy link
Copy Markdown
Owner

What & why

ASCII//Convert's about trigger leaves the crowded header for a new ultra-thin footer. The footer also carries the source code → / author → attribution links that used to hide inside the About modal, and it shows only on the empty state — once a Source loads the Control Strip owns the bottom edge, and a footer under it would just invite a mis-tap.

GLITCH//Studio gains the same footer plus its own About modal (describes the glitch pipeline; keeps made with ai; drops ai scan — the one thing it doesn't share with ASCII).

The Modal primitive was ASCII-local; glitch's About is the second real caller, so it crosses the seam into @cyberdeck/deck-kit/ui (ADR 0014) over the already-shared useDialog hook. It also gains a mobile fix: a tall dialog now caps to the viewport and scrolls internally instead of clipping its own title on a short screen.

Commits

  • feat: the footer + About across both apps, and the verbatim Modal extraction into deck-kit (a pure rename — no behavior change, so the move stays auditable per ADR 0014).
  • fix(deck-kit): the mobile scroll fix, landed separately on top of the verbatim move.

Two-axis code review

  • Spec — all five requirements satisfied (footer + moved links, no wordmark, mobile scroll fix, glitch footer + adapted About + shared Modal, footer hidden with a Source). No scope creep.
  • Standards — clean on tokens ("name the role"), Tailwind content globs, per-app changesets, comment convention. The one flagged breach (mobile fix bundled into the extraction, making it non-empty-diff) is fixed here by splitting the verbatim move from the fix. Duplicated footer.tsx across the two apps is the deliberate per-app copy pattern (ADR 0014), documented in the glitch footer's JSDoc.

Test plan

  • Whole-repo suite green via pre-commit hook on both commits (deck-kit 659, ascii 284, glitch 360, golem 436, sprawl 84).
  • New regression tests: footer gating on a loaded Source (ascii + glitch app.test.tsx) and the Modal's mobile overflow classes (deck-kit modal.test.tsx).
  • Verified in a real browser (Playwright): footer present on empty state and gone with a Source in both apps; About opens the adapted modal; mobile viewport (iPhone SE) shows the title unclipped and the dialog scrolling.

Changesets

@cyberdeck/ascii patch · @cyberdeck/glitch patch · @cyberdeck/deck-kit minor (new Modal export + mobile fix).

🤖 Generated with Claude Code

andraderaul and others added 2 commits July 27, 2026 23:07
ASCII//Convert's `about` trigger leaves the header for a new ultra-thin footer
that also carries the `source code →` / `author →` links; GLITCH//Studio gains
the same footer plus its own About modal (no AI-scan section — the one thing it
doesn't share). The footer shows only before a Source loads, so the Control
Strip owns the bottom edge once work starts and a footer under it can't invite
a mis-tap.

The Modal primitive crosses the seam into deck-kit (ADR 0014): it was ascii's
local dialog and glitch's About is the second real caller, so it moves verbatim
over the already-shared useDialog hook.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A centered Modal with no height bound overflowed the viewport on a short screen
— a tall dialog pushed its own title past the top edge with no way to scroll to
it. Pad the overlay and cap the panel to the viewport height with internal
scroll, so the title stays reachable and the body scrolls.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ascii-art-converter Ready Ready Preview, Comment Jul 28, 2026 2:10am
atlas-sprawl Ready Ready Preview, Comment Jul 28, 2026 2:10am
cyberdeck-golem Ready Ready Preview, Comment Jul 28, 2026 2:10am
glitch-studio Ready Ready Preview, Comment Jul 28, 2026 2:10am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant