WIP: Dioxus Bootstrap migration — hero_indexer_ui #3

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

DO NOT MERGE

Phase 1 of Dioxus Bootstrap migration for hero_indexer_ui.

Ref: #26

What this PR does

  • Adds hero_indexer_ui_wasm Dioxus WASM crate under crates/
  • Converts the root Cargo.toml to a workspace
  • All 7 tabs from the Askama template are ported: Overview, Query, Documents, API Docs, MCP, Logs, Perf Test
  • Uses dioxus-bootstrap-css v0.1.6 components (Navbar, Container, Row, Col, Tabs, Tab, Button, Card, Modal, Table)
  • JSON-RPC client with single + batch mode (for db.select session chaining)
  • Server modified to accept --dist for serving WASM assets, with Askama fallback
  • Both crates compile successfully

Still TODO

  • Test with live hero_indexer_server
  • Wire up theme bridge for Hero OS iframe embedding
  • Polish edge cases (error states, empty states)

Generated with Claude Code

## DO NOT MERGE Phase 1 of Dioxus Bootstrap migration for hero_indexer_ui. Ref: #26 ### What this PR does - Adds `hero_indexer_ui_wasm` Dioxus WASM crate under `crates/` - Converts the root Cargo.toml to a workspace - All 7 tabs from the Askama template are ported: Overview, Query, Documents, API Docs, MCP, Logs, Perf Test - Uses dioxus-bootstrap-css v0.1.6 components (Navbar, Container, Row, Col, Tabs, Tab, Button, Card, Modal, Table) - JSON-RPC client with single + batch mode (for db.select session chaining) - Server modified to accept `--dist` for serving WASM assets, with Askama fallback - Both crates compile successfully ### Still TODO - Test with live hero_indexer_server - Wire up theme bridge for Hero OS iframe embedding - Polish edge cases (error states, empty states) --- *Generated with Claude Code*
Ensure hero_archipelagos_core web feature is activated when the crate's
web feature is enabled, so it works correctly as a git dependency.
Convert raw HTML div/table/button elements to proper dioxus-bootstrap-css
components (Card, Table, Button, Row, Col) for pixel-perfect Bootstrap 5.3.
- Remove border-bottom from navbar to match Askama template
This pull request is marked as a work in progress.
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_indexer_ui!3
No description provided.