WIP: Dioxus Bootstrap migration -- hero_proxy_ui #3

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

DO NOT MERGE

Phase 1 of Dioxus WASM migration for hero_proxy_ui.

Changes

  • New hero_proxy_ui_wasm crate using dioxus-bootstrap-css v0.1.6
  • Translates static admin.html into reactive Dioxus components (navbar, stats row, services table)
  • JSON-RPC client calls proxy.list_services with 5s auto-refresh
  • Server: --dist CLI flag to serve WASM dist instead of embedded HTML
  • Server: /_admin/assets/* route for WASM static assets
  • WASM crate excluded from default workspace build (wasm32 target only)

Ref: issue #26

## DO NOT MERGE Phase 1 of Dioxus WASM migration for hero_proxy_ui. ### Changes - New `hero_proxy_ui_wasm` crate using dioxus-bootstrap-css v0.1.6 - Translates static admin.html into reactive Dioxus components (navbar, stats row, services table) - JSON-RPC client calls `proxy.list_services` with 5s auto-refresh - Server: `--dist` CLI flag to serve WASM dist instead of embedded HTML - Server: `/_admin/assets/*` route for WASM static assets - WASM crate excluded from default workspace build (wasm32 target only) Ref: issue #26
- New crate hero_proxy_ui_wasm with dioxus-bootstrap-css v0.1.6
- Translates static admin.html to reactive Dioxus components:
  navbar, stats row, services table with status dots
- RPC client calls proxy.list_services with 5s auto-refresh
- Server: add --dist flag to serve WASM dist instead of embedded HTML
- Server: add /_admin/assets/* route for WASM static assets
- WASM crate excluded from default workspace build (wasm32 target only)
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.
Convert raw HTML div/table/button elements to proper dioxus-bootstrap-css
components (Card, Table, Button, Row, Col) for pixel-perfect Bootstrap 5.3.
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_proxy!3
No description provided.