Skip to content

Slice 1a: Foundations — web/ scaffold, design tokens, PWA shell, OAuth sign-in, CI and beta deploy #101

Closed

Description

@renderghost

Part of #95 (Slice 1). The plan is in docs/superpowers/plans/ on the rebuild branch.

Scope

  • Scaffold: a new Vite + React + TS app in web/, isolated from the legacy root app (its tsconfig and ESLint exclude web/).
  • Design system:
    • brand tokens (light/dark), 8 accent palettes with automated contrast checks
    • self-hosted DM fonts
    • primitives in the 4-file structure
  • i18n and analytics: British English catalogue (Lingui); cookieless analytics and error reporting with no identifiers.
  • Auth: AT Protocol OAuth, covering sign-in (with handle typeahead), sign-up via the PDS, callback, session restore and sign-out. A return-to intent is carried safely through OAuth.
  • App: PWA shell (manifest, icons, service worker, update prompt, offline banner); an Account screen at /settings (identity and sign-out).
  • CI and deploy: GitHub Actions for web/ (lint, typecheck, unit, e2e + axe, bundle budget). A second Vercel project (Root Directory web) serves next.lanyards.app.
  • Housekeeping: remove the stale Hugo Pages workflow; update CLAUDE.md for the new stack.

Exit criteria

  • Sign in and sign out work on next.lanyards.app with a real account
  • CI is green: lint, typecheck, unit, e2e, axe and the bundle budget (≤ 200 KB gzipped initial JS)
  • App installs as a PWA; the shell loads offline
  • Legacy app on lanyards.app unaffected

Activity

  1. added
    enhancement
    on Nov 10, 2026
  2. added a commit that references this issue on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions