feat(invitations): implement pending invitations feature with polling and dialog

Added functionality for managing pending invitations, including a polling mechanism to update the invitation count in real-time. Introduced a new dialog component for users to view and respond to their invitations without navigating away from their current context. Updated API endpoints for fetching and managing invitations, and enhanced the user interface with relevant internationalization support.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-17 21:19:59 +08:00
committed by lyingbug
parent 3bb0d6d763
commit 884ac44283
36 changed files with 4378 additions and 440 deletions
@@ -0,0 +1,9 @@
-- Reverse of 000048_tenant_invitations.
DO $$ BEGIN RAISE NOTICE '[Migration 000048] Dropping table: tenant_invitations'; END $$;
DROP INDEX IF EXISTS idx_tenant_invitations_invitee;
DROP INDEX IF EXISTS idx_tenant_invitations_tenant;
DROP INDEX IF EXISTS idx_tenant_invitations_unique_pending;
DROP TABLE IF EXISTS tenant_invitations;
DO $$ BEGIN RAISE NOTICE '[Migration 000048] tenant_invitations table dropped'; END $$;