feat(shared-uload): add password protection and expiration to ShareModal

Adds collapsible "Erweiterte Optionen" section with:
- Password protection toggle with text input
- Expiration date toggle with datetime-local picker
- Footer badges showing active protection/expiry on created links

Both fields are passed through to createShortLink and stored in IndexedDB.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-01 23:03:49 +02:00
parent ae73f70ad0
commit 14701a973d
3 changed files with 85 additions and 5 deletions

View file

@ -88,6 +88,7 @@ export async function createShortLink(options: CreateShortLinkOptions): Promise<
order: 0,
source: options.source,
expiresAt: options.expiresAt || null,
password: options.password || null,
qrCodeUrl,
} as UloadLink);