Payload
{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/darkmatter/iridium/issues/184",
"repository_url": "https://api.github.com/repos/darkmatter/iridium",
"labels_url": "https://api.github.com/repos/darkmatter/iridium/issues/184/labels{/name}",
"comments_url": "https://api.github.com/repos/darkmatter/iridium/issues/184/comments",
"events_url": "https://api.github.com/repos/darkmatter/iridium/issues/184/events",
"html_url": "https://github.com/darkmatter/iridium/pull/184",
"id": 4631278926,
"node_id": "PR_kwDORDLl6M7k2ffN",
"number": 184,
"title": "feat(web): restyle auth flows to match app chrome",
"user": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"labels": [],
"state": "open",
"locked": false,
"assignees": [],
"milestone": null,
"comments": 2,
"created_at": "2026-06-10T12:40:56Z",
"updated_at": "2026-06-10T12:48:49Z",
"closed_at": null,
"assignee": null,
"author_association": "MEMBER",
"issue_field_values": [],
"type": null,
"active_lock_reason": null,
"draft": false,
"pull_request": {
"url": "https://api.github.com/repos/darkmatter/iridium/pulls/184",
"html_url": "https://github.com/darkmatter/iridium/pull/184",
"diff_url": "https://github.com/darkmatter/iridium/pull/184.diff",
"patch_url": "https://github.com/darkmatter/iridium/pull/184.patch",
"merged_at": null
},
"body": "## What\n\nRestyles the `/login` auth flows (sign-in, sign-up, post-signup passkey prompt) to match the app's modern chrome (`AppShell`/`ModernModal`), replacing the themeless forms that inherited terminal body styles, indigo links, and `red-500` errors.\n\n- **Three shell variations** in `auth-shells.tsx`, derived from `@shadcnblocks` login7/login2/login3 structures: **V1 Card** (ModernModal treatment — live on `/login`), **V2 Panel**, **V3 Minimal**. Same forms in all three; only the container differs.\n- **Forms**: moved from `@nixmac/ui` (terminal, hardcoded `rounded-none`) to local `@/components/ui` primitives (var-based radius so `.modern-ui` scoping works), theme-token errors with `aria-invalid` rings, passkey CTA with icon, `autoComplete` attributes. **Auth logic untouched** — better-auth, passkey, extension handoff all as before.\n- **`BrandWordmark`** extracted from the header gradient treatment, shared by header-adjacent surfaces and auth.\n- **Boot gate fix**: `/login` and `/compare/*` skip the press-any-key CRT boot sequence — previously the marketing \"Sign In\" CTA dead-ended on it.\n- **Temporary `/compare/auth`** route renders all three shells side by side for picking a winner (marked TODO; removal tracked in beads).\n\n## Why\n\nAuth is the bridge from the marketing site into the app; it was the only surface in the flow with no theme context at all.\n\n## Reviewer notes\n\n- **`.gitignore` change is load-bearing**: the old unanchored `tests/` pattern ignored *every* `tests/` dir at any depth — the documented Playwright suite (`playwright.config.ts` → `tests/e2e`) could never be committed, and `crates/indexer/tests/` + `crates/pnl-engine/tests/` Rust tests were silently local-only. Now anchored to root with `!tests/e2e/` exception. The newly visible untracked Rust test dirs are tracked as a beads issue, not swept into this PR.\n- **Open decision**: which shell to keep. V1 Card is live; view all three at `/compare/auth` (also switchable per-cell to sign-up). After selection, the losing shells + compare route get deleted (beads issue filed).\n- Pre-existing, not addressed here: marketing navbar \"Sign In\" lands on the sign-up-default view (beads issue filed); navbar `/docs` type errors are in uncommitted WIP outside this PR.\n\n## Verification\n\n- TDD: `tests/e2e/auth-styling.spec.ts` written first (3 failing), now 3/3 passing — covers modern chrome rendering, boot-gate skip, sign-in/sign-up switching, and the comparison surface\n- `bun run test` (web): 86/86 · `bun run build`: clean · `tsc --noEmit`: no errors in changed files\n- Storybook stories updated to render forms in the real shell context\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)",
"reactions": {
"url": "https://api.github.com/repos/darkmatter/iridium/issues/184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/darkmatter/iridium/issues/184/timeline",
"performed_via_github_app": null,
"state_reason": null
},
"comment": {
"url": "https://api.github.com/repos/darkmatter/iridium/issues/comments/4670356136",
"html_url": "https://github.com/darkmatter/iridium/pull/184#issuecomment-4670356136",
"issue_url": "https://api.github.com/repos/darkmatter/iridium/issues/184",
"id": 4670356136,
"node_id": "IC_kwDORDLl6M8AAAABFl_6qA",
"user": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"created_at": "2026-06-10T12:48:49Z",
"updated_at": "2026-06-10T12:48:49Z",
"body": "The failing **Rust Check** is pre-existing and unrelated to this PR (zero Rust changes here): `cargo check --workspace` has been red on every branch including `main` since `apps/web/src-tauri` joined the Cargo workspace — `glib-sys` needs WebKitGTK/GLib system packages the bare runner doesn't have. Fix: #185. Once that merges, re-running checks here picks up the patched workflow.",
"author_association": "MEMBER",
"reactions": {
"url": "https://api.github.com/repos/darkmatter/iridium/issues/comments/4670356136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"performed_via_github_app": null
},
"repository": {
"id": 1144186344,
"node_id": "R_kgDORDLl6A",
"name": "iridium",
"full_name": "darkmatter/iridium",
"private": true,
"owner": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darkmatter",
"html_url": "https://github.com/darkmatter",
"followers_url": "https://api.github.com/users/darkmatter/followers",
"following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
"gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
"organizations_url": "https://api.github.com/users/darkmatter/orgs",
"repos_url": "https://api.github.com/users/darkmatter/repos",
"events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
"received_events_url": "https://api.github.com/users/darkmatter/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/darkmatter/iridium",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/darkmatter/iridium",
"forks_url": "https://api.github.com/repos/darkmatter/iridium/forks",
"keys_url": "https://api.github.com/repos/darkmatter/iridium/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/iridium/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/iridium/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/iridium/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/iridium/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/iridium/events",
"assignees_url": "https://api.github.com/repos/darkmatter/iridium/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/iridium/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/iridium/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/iridium/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/iridium/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/iridium/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/iridium/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/iridium/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/iridium/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/iridium/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/iridium/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/iridium/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/iridium/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/iridium/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/iridium/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/iridium/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/iridium/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/iridium/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/iridium/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/iridium/merges",
"archive_url": "https://api.github.com/repos/darkmatter/iridium/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/iridium/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/iridium/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/iridium/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/iridium/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/iridium/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/iridium/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/iridium/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/iridium/deployments",
"created_at": "2026-01-28T11:53:43Z",
"updated_at": "2026-06-10T06:55:30Z",
"pushed_at": "2026-06-10T12:47:47Z",
"git_url": "git://github.com/darkmatter/iridium.git",
"ssh_url": "git@github.com:darkmatter/iridium.git",
"clone_url": "https://github.com/darkmatter/iridium.git",
"svn_url": "https://github.com/darkmatter/iridium",
"homepage": "https://switchblade.app",
"size": 56008,
"stargazers_count": 0,
"watchers_count": 0,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 2,
"license": null,
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "internal",
"forks": 0,
"open_issues": 2,
"watchers": 0,
"default_branch": "main",
"custom_properties": {}
},
"organization": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"url": "https://api.github.com/orgs/darkmatter",
"repos_url": "https://api.github.com/orgs/darkmatter/repos",
"events_url": "https://api.github.com/orgs/darkmatter/events",
"hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
"issues_url": "https://api.github.com/orgs/darkmatter/issues",
"members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
"public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-06-07T16:53:26Z"
},
"sender": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
}
}