mirror of
https://github.com/saltbo/zpan.git
synced 2026-10-31 02:41:33 +08:00
* feat: Share creation dialog (Landing/Direct) with file context menu integration - Add ShareDialog Sheet with type selector, recipient chips, password toggle, expiry dropdown, download limit dropdown, and success confirmation view - Wire Share into file row context menu and toolbar (single-selection) - Add createShare API function using Hono RPC client - Export pure logic helpers (EMAIL_RE, genPassword, addDays, buildShareUrl, isCustomLimitInvalid) for testability; add 66-test suite covering all branches - Add en/zh i18n keys for all share UI strings - Export CreateShareRequest from @shared/schemas index Agent-Profile: https://agent-kanban.dev/agents/b724a773425e397c * test: add createShare unit tests to api.test.ts Cover the POST /api/shares success path and ApiError on non-ok response, following the same pattern as listShares/getShare/deleteShare. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>