WIP: Dioxus Bootstrap migration -- hero_embedder_ui #11

Draft
mik-tf wants to merge 19 commits from development_dioxus_bootstrap into development
Owner

DO NOT MERGE -- Work in Progress

Phase 1: Dioxus WASM frontend for hero_embedder_ui

What

  • New hero_embedder_ui_wasm crate with full Dioxus 0.7 + dioxus-bootstrap-css 0.1.6 frontend
  • All 9 Askama templates translated to reactive Dioxus components
  • Server modified: --dist CLI arg, feature-gated askama, /assets/ route
  • Both old (Askama) and new (WASM) frontends work side-by-side

Components

  • navbar -- namespace selector, connection status, theme toggle
  • stats_card -- server info + namespace stats with polling
  • search_panel -- semantic search with reranker option
  • corpus_loader -- TriviaQA corpus management
  • api_docs -- accordion-based API documentation
  • mcp_docs -- MCP connection setup instructions
  • kvs_tab -- key-value store tree view
  • logs_pane -- operation logs with filtering
  • modals -- create/delete namespace modals
  • toast -- notification system

Tabs

Search, Embed, Rerank, Add Docs, KVS, API Docs, MCP, Logs

Related: issue #26

## DO NOT MERGE -- Work in Progress Phase 1: Dioxus WASM frontend for hero_embedder_ui ### What - New `hero_embedder_ui_wasm` crate with full Dioxus 0.7 + dioxus-bootstrap-css 0.1.6 frontend - All 9 Askama templates translated to reactive Dioxus components - Server modified: `--dist` CLI arg, feature-gated askama, `/assets/` route - Both old (Askama) and new (WASM) frontends work side-by-side ### Components - `navbar` -- namespace selector, connection status, theme toggle - `stats_card` -- server info + namespace stats with polling - `search_panel` -- semantic search with reranker option - `corpus_loader` -- TriviaQA corpus management - `api_docs` -- accordion-based API documentation - `mcp_docs` -- MCP connection setup instructions - `kvs_tab` -- key-value store tree view - `logs_pane` -- operation logs with filtering - `modals` -- create/delete namespace modals - `toast` -- notification system ### Tabs Search, Embed, Rerank, Add Docs, KVS, API Docs, MCP, Logs Related: issue #26
feat: add Dioxus WASM frontend for hero_embedder_ui (Phase 1)
Some checks failed
Test / test (pull_request) Failing after 15s
ef29a57600
- New crate: hero_embedder_ui_wasm with full Dioxus WASM frontend
  using dioxus-bootstrap-css v0.1.6 for Bootstrap 5.3 components
- All 9 templates translated: navbar, stats card, search panel,
  embed/rerank/add-docs tabs, corpus loader, KVS tree view,
  API docs accordion, MCP docs, operation logs pane
- Namespace management with create/delete modals
- Server info polling with connection status indicators
- Toast notification system
- Server changes: --dist CLI arg, feature-gated askama,
  /assets/ route for WASM dist files, fallback to Askama templates
refactor: convert hero_embedder_ui_wasm to archipelago library crate
Some checks failed
Test / test (pull_request) Failing after 19s
09b175a13d
fix: use single-segment route params for Axum 0.7 compat
Some checks failed
Test / test (pull_request) Failing after 33s
88e535e562
fix: RPC routing + conditional BootstrapHead for hero_os integration
Some checks failed
Test / test (pull_request) Failing after 33s
b7535494d1
fix: synchronous RPC base init (before first render)
Some checks failed
Test / test (pull_request) Failing after 28s
bb6a4751a0
fix: unconditional RPC base init
Some checks failed
Test / test (pull_request) Failing after 19s
1e93550b7b
chore: bump dioxus-bootstrap-css to 0.1.7
Some checks failed
Test / test (pull_request) Failing after 35s
4fcfd84fd0
refactor: pure dioxus-bootstrap-css 0.1.8 — TabList, Card header_class
Some checks failed
Test / test (pull_request) Failing after 29s
d763f0081b
chore: bump dioxus-bootstrap-css to 0.1.8
Some checks failed
Test / test (pull_request) Failing after 23s
033fd504d6
refactor: pixel-perfect Askama→dioxus-bootstrap-css rewrite
Some checks failed
Test / test (pull_request) Failing after 22s
0a6ae5f970
Convert all raw HTML div/table/button elements to proper dioxus-bootstrap-css
components (Card, Table, Button, Row, Col) in stats_card, corpus_loader,
logs_pane, search_panel, mcp_docs, api_docs, and kvs_tab.
chore: bump dioxus-bootstrap-css to 0.1.9
Some checks failed
Test / test (pull_request) Failing after 23s
007e9a2aab
chore: bump dioxus-bootstrap-css to 0.2.0 (extends GlobalAttributes)
Some checks failed
Test / test (pull_request) Failing after 34s
d0b1e6d27c
chore: bump dioxus-bootstrap-css to 0.2.1
Some checks failed
Test / test (pull_request) Failing after 28s
54de51d1ac
fix: pixel-perfect navbar + sidebar matching Askama template
Some checks failed
Test / test (pull_request) Failing after 25s
a823f975d7
- Remove py-1/py-0 from navbar to match Askama
- Add title attributes on +/- namespace buttons
- Use native HTML buttons for create/delete namespace
- Add refresh buttons in stats card headers matching Askama
refactor: convert raw Bootstrap HTML to dioxus-bootstrap-css components
Some checks failed
Test / test (pull_request) Failing after 23s
c8212d6826
refactor: convert link-buttons to Button { href } (dioxus-bootstrap-css 0.2.2)
Some checks failed
Test / test (pull_request) Failing after 20s
6f6972c952
refactor: use Button { href, target, download } (dioxus-bootstrap-css 0.2.3)
Some checks failed
Test / test (pull_request) Failing after 25s
b9351c2998
refactor: convert toast to dioxus-bootstrap-css Toast/ToastContainer (0.2.5)
Some checks failed
Test / test (pull_request) Failing after 23s
3ba638ae3c
Some checks failed
Test / test (pull_request) Failing after 25s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin development_dioxus_bootstrap:development_dioxus_bootstrap
git switch development_dioxus_bootstrap

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch development
git merge --no-ff development_dioxus_bootstrap
git switch development_dioxus_bootstrap
git rebase development
git switch development
git merge --ff-only development_dioxus_bootstrap
git switch development_dioxus_bootstrap
git rebase development
git switch development
git merge --no-ff development_dioxus_bootstrap
git switch development
git merge --squash development_dioxus_bootstrap
git switch development
git merge --ff-only development_dioxus_bootstrap
git switch development
git merge development_dioxus_bootstrap
git push origin development
Sign in to join this conversation.
No reviewers
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_embedder!11
No description provided.