ui(admin): logs-viewer talks to hero_proc; api-docs tracks Bootstrap theme #9
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_website_framework!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7
Closes #8
Summary
<hero-logs-viewer>gains alogs-rpc-urlattribute that defaults to/hero_proc/rpc. Legacyrpc-urlkept as a fall-through for back-compat. Precedence:logs-rpc-url>rpc-url>/hero_proc/rpcdefault.<hero-api-docs>sweeps 37 Hero-internal custom-property references (--bg-*,--text-*,--border-color) to Bootstrap 5.3 tokens (--bs-body-bg,--bs-secondary-bg,--bs-tertiary-bg,--bs-body-color,--bs-secondary-color,--bs-border-color) so the chrome flips withdata-bs-theme. 16 brand--accent-*references left as-is. Hardcoded fallback values preserved.Note on the fw#8 issue framing
The issue body describes a purple gradient header. The actual code paints a solid
var(--bg-secondary, #161b22)background (dark gray, no gradient). The Hero-vars to bs-vars swap delivers the requested behaviour (header tracks theme) regardless of color.Test plan
cargo build --workspace --releasecleancargo fmt --checkexits non-zero on 239 pre-existing fmt-dirty files (stash round-trip confirms 239 -> 239 unchanged by these edits)cargo clippy -D warningsexits non-zero on 16 pre-existing errors inhero_website_lib(stash round-trip confirms 16 -> 16 unchanged)node -con both modified JS files passes syntax check/hero_proc/rpc(browser network tab), Docs tab header flips with Bootstrap theme toggle