Drop broken /hero-bootstrap-bridge.css links across admin UIs #197

Closed
opened 2026-04-30 10:58:39 +00:00 by zaelgohary · 0 comments
Member

Symptom

Many admin UIs reference /hero-bootstrap-bridge.css which 404s — the file lives in hero_proxy_ui/static/ but isn't served at / by hero_router. QA audit caught 19 hits across redis, embedder, voice, books, foundry, collab, etc.

Affected templates

  • hero_db/crates/hero_db_ui/templates/base.html, login.html (already fixed in PR #26)
  • hero_books/crates/hero_books_ui/templates/base.html
  • hero_books/crates/hero_books_admin/templates/base.html
  • hero_collab/crates/hero_collab_ui/templates/base.html
  • hero_embedder/crates/hero_embedder_ui/templates/base.html
  • hero_foundry/crates/hero_foundry_ui/templates/base.html, base_global.html
  • hero_foundry_ui/crates/hero_foundry_ui/templates/admin.html
  • hero_auth/templates/base.html (if hero_auth still ships)

Fix options

  1. Drop the broken <link> from each template (matches the pattern from hero_voice fix #18 yesterday). Theme bridging falls back to direct CSS variable assignment via postMessage.
  2. Re-host the bridge CSS at hero_router root so the existing absolute path works.

Option 1 is consistent with the recent hero_voice fix.

## Symptom Many admin UIs reference `/hero-bootstrap-bridge.css` which 404s — the file lives in `hero_proxy_ui/static/` but isn't served at `/` by hero_router. QA audit caught 19 hits across redis, embedder, voice, books, foundry, collab, etc. ## Affected templates - hero_db/crates/hero_db_ui/templates/base.html, login.html (already fixed in PR #26) - hero_books/crates/hero_books_ui/templates/base.html - hero_books/crates/hero_books_admin/templates/base.html - hero_collab/crates/hero_collab_ui/templates/base.html - hero_embedder/crates/hero_embedder_ui/templates/base.html - hero_foundry/crates/hero_foundry_ui/templates/base.html, base_global.html - hero_foundry_ui/crates/hero_foundry_ui/templates/admin.html - hero_auth/templates/base.html (if hero_auth still ships) ## Fix options 1. Drop the broken `<link>` from each template (matches the pattern from hero_voice fix #18 yesterday). Theme bridging falls back to direct CSS variable assignment via postMessage. 2. Re-host the bridge CSS at hero_router root so the existing absolute path works. Option 1 is consistent with the recent hero_voice fix.
Sign in to join this conversation.
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_archipelagos#197
No description provided.