Wire up admin UI, edition 2024, CI fixes #15

Closed
opened 2026-03-06 15:04:19 +00:00 by mik-tf · 0 comments
Owner

Summary

The admin dashboard templates exist but are not served — GET / returns 404. This PR wires them up and brings the repo to edition 2024.

Changes needed

  • Add GET / route serving Tera-rendered admin dashboard (7 templates)
  • Replace askama with tera for runtime template rendering
  • Add hero:theme postMessage listener for Hero OS theme sync
  • Update workspace edition 2021 → 2024, add rust-version 1.93
  • Fix cargo fmt + clippy for edition 2024 (collapsed if-lets, import style)
  • Fix buildenv.sh port 3751 → 3385

Testing

  • make fmt-check pass
  • make lint pass
  • make test pass
  • make build pass
  • Manual: cargo run --release -p hero_aibroker_http -- --port 3399 → GET / returns 200 with full dashboard

Part of lhumina_code/home#5

## Summary The admin dashboard templates exist but are not served — GET `/` returns 404. This PR wires them up and brings the repo to edition 2024. ## Changes needed - [ ] Add GET `/` route serving Tera-rendered admin dashboard (7 templates) - [ ] Replace askama with tera for runtime template rendering - [ ] Add `hero:theme` postMessage listener for Hero OS theme sync - [ ] Update workspace edition 2021 → 2024, add rust-version 1.93 - [ ] Fix cargo fmt + clippy for edition 2024 (collapsed if-lets, import style) - [ ] Fix buildenv.sh port 3751 → 3385 ## Testing - `make fmt-check` pass - `make lint` pass - `make test` pass - `make build` pass - Manual: `cargo run --release -p hero_aibroker_http -- --port 3399` → GET `/` returns 200 with full dashboard Part of lhumina_code/home#5
Sign in to join this conversation.
No labels
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_aibroker#15
No description provided.