Dashboard: animated first-visit help overlay#10
Merged
Conversation
Owner
Author
Code reviewFound 1 issue:
Lines 78 to 83 in 7af73e9 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
…long its wire, reduced-motion dot opacity
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.
Summary
Adds an animated first-visit help overlay to the dashboard so visitors landing on the live site immediately understand what Relay is. Frontend-only — no Go/engine changes (
git diffofinternal/,cmd/,go.mod,go.sumis empty); the server just embeds the rebuiltweb/dist.HelpOverlay— a modal that auto-opens on a visitor's first load: a one-line "what is Relay," a pure-CSS animated job-lifecycle (Ready → In-flight → done, with a retry→Delayed loop and a Dead-letter branch — terracotta dots = jobs, gold = a retry waiting out backoff), and three concept captions (atomic claim / retry+backoff / crash-safe). Copy is accurate to the engine (single-Lua atomic claim, full-jitter backoff, reaper recovery, at-least-once — no exactly-once overclaim).?in the sidebar reopens it anytime.lib/help.ts— a pure, unit-testedlocalStoragegate (shouldAutoOpen/markSeen); first-visit only, privacy-mode safe (never throws).role="dialog",aria-modal,aria-label, Esc + backdrop close,type="button"controls, focus-into-modal on open + restore on close, and aprefers-reduced-motionfallback that shows a static (still legible) diagram.Once merged, Railway's
main-linkedserverservice auto-rebuilds and the overlay goes live at https://server-production-840f.up.railway.app.Design & plan
docs/superpowers/specs/2026-06-09-relay-dashboard-help-overlay-design.mddocs/superpowers/plans/2026-06-09-relay-dashboard-help-overlay.mdTest plan
lib/help.test.ts(vitest) —shouldAutoOpen(absent→true, set→false, throw→true) +markSeen(writes, swallows throw); 13 frontend tests passtsc --noEmitstrict,vite build, andgit diff --exit-code -- distall clean (committed dist in sync)go build ./...,go vet ./...,gofmt -l web/clean;go test ./web/ -run TestHandlerpasses (embed/SPA fallback unaffected)