WIP: Dioxus Bootstrap migration — hero_foundry #11

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

DO NOT MERGE

Dioxus WASM frontend migration per lhumina_code/home#26

## DO NOT MERGE Dioxus WASM frontend migration per https://forge.ourworld.tf/lhumina_code/home/issues/26
feat: add Dioxus WASM frontend crate with dioxus-bootstrap-css
Some checks failed
Build and Test / build (pull_request) Failing after 2s
ded2c166fb
Add hero_foundry_ui_wasm crate that replaces the Askama/HTMX templates
with a fully reactive Dioxus WASM app using dioxus-bootstrap-css v0.1.6
for Bootstrap 5.3 components.

All 14 templates (base, base_global, index, blob, tree, commits,
repo_list, docs, api_explorer, mcp, plus 4 partials) are migrated to
Dioxus components with proper Bootstrap classes via dioxus-bootstrap-css
(Navbar, Container, Row, Col, Card, Table, Button, etc.).

Server changes (hero_foundry_ui):
- Feature-gate askama as optional (default enabled)
- Add --dist CLI arg for serving WASM dist directory
- Add /assets/{*path} route for static file serving
- Add tokio "fs" feature for async file reads

Compiles on both native and wasm32-unknown-unknown targets.
refactor: convert hero_foundry_ui_wasm to archipelago library crate
Some checks failed
Build and Test / build (pull_request) Failing after 6s
0efdd37669
fix: always expose context prop (not cfg-gated)
Some checks failed
Build and Test / build (pull_request) Failing after 3s
47de04582e
fix: make hero_archipelagos_core non-optional and activate web feature
Some checks failed
Build and Test / build (pull_request) Failing after 2s
dab1f1fb2b
hero_archipelagos_core is needed for IslandContext at all times, not just
when standalone. Make it a required dependency and forward the web feature
so it works correctly when imported as a git dependency by hero_os_app.
fix: use single-segment route params for Axum 0.7 compat
Some checks failed
Build and Test / build (pull_request) Failing after 10s
b2c4c0a2f9
fix: RPC routing + conditional BootstrapHead for hero_os integration
Some checks failed
Build and Test / build (pull_request) Failing after 4s
9c962bfa68
fix: synchronous RPC base init (before first render)
Some checks failed
Build and Test / build (pull_request) Failing after 4s
220b34afce
fix: unconditional RPC base init
Some checks failed
Build and Test / build (pull_request) Failing after 24s
4655066c5d
fix(foundry): convert all one-shot use_future to use_hook + spawn
Some checks failed
Build and Test / build (pull_request) Failing after 31s
f59304e6c6
All page-level data loading now uses use_hook + spawn instead of
use_future so components render immediately. If backend is down,
pages show loading state then empty data gracefully.
chore: bump dioxus-bootstrap-css to 0.1.7
Some checks failed
Build and Test / build (pull_request) Failing after 36s
eabdb68328
chore: bump dioxus-bootstrap-css to 0.1.8
Some checks failed
Build and Test / build (pull_request) Failing after 29s
3e9aa7bc7d
chore: bump dioxus-bootstrap-css to 0.1.9
Some checks failed
Build and Test / build (pull_request) Failing after 35s
7e401d507b
chore: bump dioxus-bootstrap-css to 0.2.0 (extends GlobalAttributes)
Some checks failed
Build and Test / build (pull_request) Failing after 42s
ce18c778c6
chore: bump dioxus-bootstrap-css to 0.2.1
Some checks failed
Build and Test / build (pull_request) Failing after 31s
746d45585e
fix: api_explorer uses prefixed_url for correct proxy routing
Some checks failed
Build and Test / build (pull_request) Failing after 33s
abff9ecb30
Direct gloo_net call to /api/rpc now goes through prefixed_url()
so it works when embedded behind hero_proxy.
fix: add prefixed_url helper to rpc module
Some checks failed
Build and Test / build (pull_request) Failing after 40s
1294a8e445
Needed by api_explorer component for correct proxy routing.
refactor: convert raw Bootstrap HTML to dioxus-bootstrap-css components
Some checks failed
Build and Test / build (pull_request) Failing after 29s
9ab7ad8415
refactor: convert link-buttons to Button { href } (dioxus-bootstrap-css 0.2.2)
Some checks failed
Build and Test / build (pull_request) Failing after 39s
e473f568be
Some checks failed
Build and Test / build (pull_request) Failing after 39s
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_foundry!11
No description provided.