towerops/assets/js
Graham McIntire f9a18fa423
Fix clipboard copy and org settings navigation
- Replace phx:copy event with CopyToClipboard LiveView hook for more
  reliable clipboard functionality
- Add visual feedback (checkmark) when text is copied to clipboard
- Apply hook to both agent token and docker compose copy buttons
- Add readonly attribute to docker compose textarea
- Fix org settings page to stay on settings after save instead of
  redirecting to dashboard

The clipboard copy now works correctly by using a dedicated LiveView
hook that directly handles the click event and clipboard API, rather
than relying on custom event dispatching which was causing issues.
2026-01-17 12:18:49 -06:00
..
types Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
app.ts Fix clipboard copy and org settings navigation 2026-01-17 12:18:49 -06:00
passkey_discoverable.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_login.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_settings.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn_utils.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00