Skip to content

Fix: restore missing invitation UI on settings page - #51

Merged
jasoncrawford merged 2 commits into
mainfrom
fix/invitations-ui
Feb 23, 2026
Merged

jasoncrawford merged 2 commits into
mainfrom
fix/invitations-ui

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Invitations section to the Settings page with send/revoke functionality, wired to existing sendInvitation and revokeInvitation server actions from PR Add user invitation system with token-based signup #25
  • Adds E2E tests for the invitations UI (heading, empty state, send, revoke)
  • Adds invitations.spec.ts to Playwright authenticated test project and cleans invitations table in global setup

Closes #49

Test plan

  • Run npx playwright test e2e/invitations.spec.ts — all 4 new tests pass
  • Run npx playwright test — all existing tests still pass
  • Visit /settings while logged in — Invitations card appears below Contacts
  • Send an invitation via the form — email appears in the pending list
  • Click Revoke on a pending invitation — it disappears from the list

🤖 Generated with Claude Code

The invitation backend (server actions, DB, email) was added in PR #25
but the settings page UI to send/manage invitations was never wired up.
Adds the Invitations card and E2E tests.

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

vercel Bot commented Feb 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
site-status Ready Ready Preview, Comment Feb 23, 2026 3:23am

Request Review

@supabase

supabase Bot commented Feb 23, 2026 •

Copy link
Copy Markdown

Updates to Preview Branch (fix/invitations-ui) ↗︎

Deployments Status Updated
Database ✅ Mon, 23 Feb 2026 03:23:56 UTC
Services ✅ Mon, 23 Feb 2026 03:23:56 UTC
APIs ✅ Mon, 23 Feb 2026 03:23:56 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations ✅ Mon, 23 Feb 2026 03:23:57 UTC
Migrations ✅ Mon, 23 Feb 2026 03:23:58 UTC
Seeding ✅ Mon, 23 Feb 2026 03:23:59 UTC
Edge Functions ✅ Mon, 23 Feb 2026 03:23:59 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

- Add missing DELETE policy for invitations table (revoke was silently failing)
- Use distinct placeholder for invitations email input to avoid ambiguity
  with contacts input, fixing the contacts "adds a contact" E2E test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jasoncrawford
jasoncrawford merged commit 4eef48f into main Feb 23, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2e5ece6a Deployed Feb 23, 2026 by vercel[bot]
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.

Invitation UI is missing

1 participant