feat(admin): admin + logs tabs and responsive sidebar drawer #48

Merged
zaelgohary merged 2 commits from development_admin_logs_responsive into development 2026-05-06 11:26:24 +00:00
Member

Summary

Adds the Admin and Logs admin tabs (PR3 Phase F) and makes the admin shell responsive — the sidebar collapses to an off-canvas drawer below Bootstrap's lg breakpoint and stays as a permanent left column on desktop.

Refs #43.

Changes

  • Added Admin tab (Shutdown via ConfirmDialog, Purge orphan attachments, Clean stale presence).
  • Added Logs tab (table view via AsyncSection, stub-aware empty state).
  • Wired AdminPage::Admin + AdminPage::Logs enum variants, sidebar entries, hash routes (#/admin/admin-ops, #/admin/logs).
  • Added LogEntry + format_timestamp_ms + level_label to types.
  • Sidebar collapses to a 280 px overlay drawer on screens narrower than lg; hamburger button in the navbar toggles it; nav clicks auto-close.
  • Container/row gutters scale p-2 p-md-3 / g-2 g-md-3 to give mobile breathing room without losing desktop spacing.

Test Results

5/5 new Playwright specs pass (3 admin/logs + 2 responsive). 10/10 standalone admin specs pass overall. cargo check --workspace clean.

## Summary Adds the Admin and Logs admin tabs (PR3 Phase F) and makes the admin shell responsive — the sidebar collapses to an off-canvas drawer below Bootstrap's `lg` breakpoint and stays as a permanent left column on desktop. ## Related Issue Refs #43. ## Changes - Added Admin tab (Shutdown via ConfirmDialog, Purge orphan attachments, Clean stale presence). - Added Logs tab (table view via AsyncSection, stub-aware empty state). - Wired `AdminPage::Admin` + `AdminPage::Logs` enum variants, sidebar entries, hash routes (`#/admin/admin-ops`, `#/admin/logs`). - Added `LogEntry` + `format_timestamp_ms` + `level_label` to types. - Sidebar collapses to a 280 px overlay drawer on screens narrower than `lg`; hamburger button in the navbar toggles it; nav clicks auto-close. - Container/row gutters scale `p-2 p-md-3` / `g-2 g-md-3` to give mobile breathing room without losing desktop spacing. ## Test Results 5/5 new Playwright specs pass (3 admin/logs + 2 responsive). 10/10 standalone admin specs pass overall. `cargo check --workspace` clean.
zaelgohary changed target branch from development to development_admin_org_groups_users 2026-05-06 07:47:10 +00:00
zaelgohary changed title from WIP: feat(admin): admin + logs tabs and responsive sidebar drawer to feat(admin): admin + logs tabs and responsive sidebar drawer 2026-05-06 11:20:48 +00:00
zaelgohary changed target branch from development_admin_org_groups_users to development 2026-05-06 11:20:57 +00:00
zaelgohary force-pushed development_admin_logs_responsive from 8bdd6311ac to 9ed38aecb4 2026-05-06 11:25:00 +00:00 Compare
zaelgohary merged commit 4ceb92d897 into development 2026-05-06 11:26:24 +00:00
zaelgohary deleted branch development_admin_logs_responsive 2026-05-06 11:26:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_collab!48
No description provided.