4 Commits

Author SHA1 Message Date
c93be6a27f
feat(admin): complete Slice 2 admin client handlers (#79)
- Added missing role and invite UI client handlers to `public/admin-scripts.js` mapped to `globalThis`.
- Enforced strict backend contract adherence by changing `spiffe_id` to `spiffeId` in `handleSaveApp`.
- Updated unused catch error parameter blocks to adhere to Deno conventions (`_e` or `_err`).

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-09-25 19:08:57 -07:00
7b115f4ef1
feat(admin): implement App Registry drawer and handlers (Slice 1) (#78)
- Added "+ Register App" button and `#appDrawer` form to `src/features/admin/apps_fragments.tsx`.
- Implemented action buttons (Edit, Delete) using HTML5 `data-*` attributes for safe JSON parsing.
- Implemented global `openCreateAppDrawer`, `openEditAppDrawer`, `closeAppDrawer`, `handleSaveApp`, and `deleteApp` handlers in `public/admin-scripts.js`.
- Fixed missing `spiffe_id` property mapping in payload.
- Added corresponding Role and Invite handlers to `public/admin-scripts.js` for completeness.
- Verified components render correctly via assertions in `src/features/admin/admin.test.ts`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-09-25 18:37:24 -07:00
fc86565597 fix(sessions): wire extend and revoke onclick handlers in table and mobile deck fragments 2026-08-27 22:28:57 -07:00
8b30b17dbe
feat(arch): implement Phase 2 base vertical slices and shared UI (#57)
- Scaffold shared UI fragments and styles in src/shared/ui/
- Implement full Auth vertical slice in src/features/auth/ with WebAuthn ceremonies and recovery endpoints
- Implement full Admin vertical slice in src/features/admin/ with responsive tables and mobile decks
- Add public client-side JS utilities and pure JS BIP-39 module
- Mount routes in src/main.ts and keep legacy server/ and ui/ quarantined
- Add pure JSX and API tests for Auth and Admin slices
2026-08-27 19:29:08 -07:00