feat: add share modal with visibility picker and link management

Create ShareModal component with three-tier visibility picker
(private/link/public), share link creation with configurable expiration,
clipboard copy, and link revocation. Wire into setup detail page
replacing the static visibility badge with an interactive share button.

Plan: 32-03 (Setup Sharing System - Share Modal UI)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 18:02:41 +02:00
parent e10f0eda3d
commit 7003e998f9
4 changed files with 374 additions and 29 deletions

View File

@@ -23,10 +23,9 @@ import type {
createThreadSchema,
deleteAccountSchema,
reorderCandidatesSchema,
submitCommunityPriceSchema,
upsertMarketPriceSchema,
resolveThreadSchema,
searchGlobalItemsSchema,
submitCommunityPriceSchema,
syncSetupItemsSchema,
updateCandidateSchema,
updateCategorySchema,
@@ -36,6 +35,7 @@ import type {
updateSetupSchema,
updateThreadSchema,
upsertGlobalItemSchema,
upsertMarketPriceSchema,
} from "./schemas.ts";
// Types inferred from Zod schemas