WIP: Dioxus Bootstrap migration — hero_redis_ui #14

Draft
mik-tf wants to merge 17 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 (hero_redis_ui_wasm)
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 3s
Build and Test / build (pull_request) Failing after 19s
CI / cargo test (pull_request) Failing after 26s
cf627e41af
New crate: hero_redis_ui_wasm — a Dioxus 0.7 + dioxus-bootstrap-css 0.1.6
WASM SPA that replaces the Askama/JS admin panel. All 12 templates (base,
index, login, command_panel, stats_card, database_manager, redis_commands,
api_docs, ontology_panel, perf_test, graph_perf_test, command_result)
translated to reactive Dioxus components.

Server changes (hero_redis_ui):
- Added --dist CLI arg + HERO_REDIS_UI_DIST env var
- index_handler serves dist/index.html when --dist is set
- /dist and /dist-assets routes for WASM bundle files
- dist_dir field added to WebState
refactor: convert hero_redis_ui_wasm to archipelago library crate
Some checks failed
CI / cargo test (pull_request) Failing after 3s
Build and Test / build (pull_request) Failing after 31s
CI / cargo check + clippy (pull_request) Failing after 1m19s
5f906f7c88
fix: RPC routing + conditional BootstrapHead for hero_os integration
Some checks failed
Build and Test / build (pull_request) Failing after 54s
CI / cargo check + clippy (pull_request) Failing after 1m4s
CI / cargo test (pull_request) Failing after 58s
bd0e9cccf8
fix: build pipeline fixes for devbootstrap deployment
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 1m43s
Build and Test / build (pull_request) Successful in 4m0s
CI / cargo test (pull_request) Successful in 5m32s
16bad451e9
fix: synchronous RPC base init (before first render)
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 2m5s
CI / cargo test (pull_request) Successful in 2m7s
Build and Test / build (pull_request) Successful in 3m53s
b37d94b725
fix: unconditional RPC base init
Some checks failed
Build and Test / build (pull_request) Failing after 35s
CI / cargo check + clippy (pull_request) Failing after 40s
CI / cargo test (pull_request) Failing after 24s
51a26b705e
chore: bump dioxus-bootstrap-css to 0.1.7
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 5s
Build and Test / build (pull_request) Failing after 39s
CI / cargo test (pull_request) Failing after 50s
cfe35403e7
refactor: pure dioxus-bootstrap-css 0.1.8 — TabList, Card header_class
Some checks failed
Build and Test / build (pull_request) Failing after 34s
CI / cargo check + clippy (pull_request) Failing after 37s
CI / cargo test (pull_request) Failing after 34s
37c0457ba8
chore: bump dioxus-bootstrap-css to 0.1.8
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 5s
Build and Test / build (pull_request) Failing after 36s
CI / cargo test (pull_request) Failing after 44s
271dc38cb5
refactor: pixel-perfect Askama→dioxus-bootstrap-css rewrite
Some checks failed
CI / cargo test (pull_request) Failing after 3s
Build and Test / build (pull_request) Failing after 35s
CI / cargo check + clippy (pull_request) Failing after 43s
78a316fb75
Convert raw card/table elements to Card, Table components in api_docs,
redis_commands, and keys_tab.
chore: bump dioxus-bootstrap-css to 0.1.9
Some checks failed
Build and Test / build (pull_request) Failing after 42s
CI / cargo check + clippy (pull_request) Failing after 39s
CI / cargo test (pull_request) Failing after 44s
30e43851f8
chore: bump dioxus-bootstrap-css to 0.2.0 (extends GlobalAttributes)
Some checks failed
Build and Test / build (pull_request) Failing after 37s
CI / cargo check + clippy (pull_request) Failing after 37s
CI / cargo test (pull_request) Failing after 40s
c52b1fb3f1
chore: bump dioxus-bootstrap-css to 0.2.1
Some checks failed
Build and Test / build (pull_request) Failing after 34s
CI / cargo check + clippy (pull_request) Failing after 38s
CI / cargo test (pull_request) Failing after 39s
cc65267f33
fix: pixel-perfect navbar + sidebar matching Askama template
Some checks failed
Build and Test / build (pull_request) Failing after 38s
CI / cargo test (pull_request) Failing after 39s
CI / cargo check + clippy (pull_request) Failing after 45s
0d42fb60ac
- Fix fetch_json/post_json/post_form_text to prepend rpc_base() for
  correct routing when embedded behind hero_proxy
- Match stats card header with bg-body-secondary border-secondary
- Use col-6 instead of col-lg-6 to match Askama template
- Add title attributes on +/- database buttons
- Use card-body p-2 matching Askama template
fix: database manager cards match Askama header styles
Some checks failed
Build and Test / build (pull_request) Failing after 24s
CI / cargo check + clippy (pull_request) Failing after 30s
CI / cargo test (pull_request) Failing after 34s
9dc6a6f20c
- Add bg-body-secondary border-secondary to card headers
- Use body_class p-0 on databases list card for flush list-group
refactor: convert raw Bootstrap HTML to dioxus-bootstrap-css components
Some checks failed
CI / cargo test (pull_request) Failing after 5s
CI / cargo check + clippy (pull_request) Failing after 38s
Build and Test / build (pull_request) Failing after 41s
093ee10760
refactor: remove Bootstrap-overriding CSS, use pure dioxus-bootstrap utility classes
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 29s
CI / cargo test (pull_request) Failing after 32s
Build and Test / build (pull_request) Failing after 39s
b7316dae5d
Some checks failed
CI / cargo check + clippy (pull_request) Failing after 29s
CI / cargo test (pull_request) Failing after 32s
Build and Test / build (pull_request) Failing after 39s
This pull request has changes conflicting with the target branch.
  • Cargo.lock
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_redis!14
No description provided.