Skip to content

feat(sharing): publish and compare bracket picks - #52

Merged
avatarneil merged 1 commit into
feat/account-libraryfrom
feat/bracket-sharing
Sep 14, 2026
Merged

feat(sharing): publish and compare bracket picks#52
avatarneil merged 1 commit into
feat/account-libraryfrom
feat/bracket-sharing

Conversation

@avatarneil

@avatarneil avatarneil commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Owners can explicitly publish a read-only snapshot, copy its link, publish later changes, or revoke access. Private edits never silently change the published snapshot, and publishing after revocation creates a new address.

Friends can view shared picks without signing in and compare them with their own saved brackets after signing in. Comparisons match advancing teams by conference and round, accounting for reseeding. Completed results provide informal correct-pick counts; picks remain editable.

Also fixes a startup race that could reset guest input when Clerk finished loading, and prevents edits during save/share requests.

Validation:

  • Production build and TypeScript passed; lint has no errors (seven existing warnings).
  • Nine unit/database tests passed against Neon, including owner isolation and snapshot revocation.
  • Six public-sharing browser checks passed across desktop, mobile, and tablet.
  • Guest welcome/save checks passed after the startup fix; existing bracket-selection checks passed.
  • A temporary Clerk development user completed save, publish, private-edit isolation, comparison, and revocation against the local app and Neon. Test user and records were removed.

Production hosting still needs Neon environment configuration and migration execution before rollout. No production deployment or merge was performed.

@avatarneil
avatarneil added this pull request to stack #53 September 14, 2026 00:09
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
nfl-playoff-bracket Ready Ready Preview Sep 14, 2026 12:56am UTC

Request Review

@avatarneil
avatarneil merged commit 2061c1e into main Sep 14, 2026
10 checks passed
@avatarneil
avatarneil deleted the feat/bracket-sharing branch September 14, 2026 01:08
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