WIP: Dioxus Bootstrap migration — zinit_ui #60

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

DO NOT MERGE

Phase 1 of Dioxus WASM migration for zinit_ui dashboard.

What

  • New zinit_ui_wasm crate: Dioxus 0.7 + dioxus-bootstrap-css v0.1.6
  • All 9 tabs migrated: Actions, Services, Runs, Jobs, Secrets, Schedules, Logs, Stats, Admin
  • Server modified: --dist CLI arg, askama feature-gated, /assets/* route
  • Both crates compile cleanly (native + wasm32-unknown-unknown)

Remaining (Phase 2)

  • D3 graph visualizations (run graph, action dependency graph)
  • Docs tab with markdown rendering
  • Charts in Stats tab
  • Job modal (double-click)
  • Autocomplete for action/service name inputs

Ref: issue #26

## DO NOT MERGE Phase 1 of Dioxus WASM migration for zinit_ui dashboard. ### What - New `zinit_ui_wasm` crate: Dioxus 0.7 + dioxus-bootstrap-css v0.1.6 - All 9 tabs migrated: Actions, Services, Runs, Jobs, Secrets, Schedules, Logs, Stats, Admin - Server modified: `--dist` CLI arg, askama feature-gated, `/assets/*` route - Both crates compile cleanly (native + wasm32-unknown-unknown) ### Remaining (Phase 2) - D3 graph visualizations (run graph, action dependency graph) - Docs tab with markdown rendering - Charts in Stats tab - Job modal (double-click) - Autocomplete for action/service name inputs Ref: issue #26
feat: add Dioxus WASM frontend for zinit_ui (Phase 1)
Some checks failed
Build and Test / build (push) Failing after 3s
Tests / test (push) Failing after 3s
Build and Test / build (pull_request) Failing after 3s
Tests / test (pull_request) Failing after 3s
7f6d532708
Add new zinit_ui_wasm crate with Dioxus 0.7 + dioxus-bootstrap-css
v0.1.6 that replaces the Askama/JS dashboard with a reactive WASM SPA.

Includes all 9 tabs: Actions, Services, Runs, Jobs, Secrets, Schedules,
Logs, Stats, and Admin. Server modified to support --dist flag for
serving WASM dist assets, with askama feature-gated as optional.
refactor: convert zinit_ui_wasm to archipelago library crate
Some checks failed
Tests / test (push) Failing after 5s
Build and Test / build (pull_request) Failing after 8s
Build and Test / build (push) Failing after 6s
Tests / test (pull_request) Failing after 7s
6d6621d2cb
chore: update Cargo.lock
Some checks failed
Build and Test / build (push) Failing after 17s
Tests / test (push) Failing after 14s
Build and Test / build (pull_request) Failing after 21s
Tests / test (pull_request) Failing after 9s
ae5ed548ca
fix: use single-segment route params for Axum 0.7 compat
Some checks failed
Build and Test / build (pull_request) Failing after 20s
Build and Test / build (push) Failing after 18s
Tests / test (pull_request) Failing after 15s
Tests / test (push) Failing after 14s
20d813beb9
fix: RPC routing + conditional BootstrapHead for hero_os integration
Some checks failed
Build and Test / build (pull_request) Failing after 18s
Tests / test (pull_request) Failing after 13s
Build and Test / build (push) Failing after 14s
Tests / test (push) Failing after 14s
a926a657c7
fix: synchronous RPC base init (before first render)
Some checks failed
Build and Test / build (pull_request) Failing after 14s
Tests / test (pull_request) Failing after 12s
Tests / test (push) Failing after 17s
Build and Test / build (push) Failing after 20s
4e7c4352c7
fix: unconditional RPC base init
Some checks failed
Build and Test / build (push) Failing after 10s
Tests / test (push) Failing after 13s
Build and Test / build (pull_request) Failing after 11s
Tests / test (pull_request) Failing after 13s
52340fa8cf
chore: bump dioxus-bootstrap-css to 0.1.7
Some checks failed
Build and Test / build (pull_request) Failing after 13s
Tests / test (pull_request) Failing after 8s
Build and Test / build (push) Failing after 19s
Tests / test (push) Failing after 18s
6515f9750e
refactor: pure dioxus-bootstrap-css 0.1.8 — TabList, Card header_class
Some checks failed
Build and Test / build (pull_request) Failing after 21s
Build and Test / build (push) Failing after 16s
Tests / test (pull_request) Failing after 18s
Tests / test (push) Failing after 16s
9d2b51a270
chore: bump dioxus-bootstrap-css to 0.1.8
Some checks failed
Build and Test / build (pull_request) Failing after 13s
Build and Test / build (push) Failing after 16s
Tests / test (pull_request) Failing after 16s
Tests / test (push) Failing after 13s
c536907d72
refactor: pixel-perfect Askama→dioxus-bootstrap-css rewrite
Some checks failed
Tests / test (push) Failing after 9s
Build and Test / build (push) Failing after 17s
Build and Test / build (pull_request) Failing after 20s
Tests / test (pull_request) Failing after 17s
8c92ab397d
Convert raw HTML div/table/button elements to proper dioxus-bootstrap-css
components (Card, Table, Button, Row, Col) for pixel-perfect Bootstrap 5.3.
chore: bump to 0.1.9
Some checks failed
Build and Test / build (push) Failing after 17s
Tests / test (push) Failing after 13s
Build and Test / build (pull_request) Failing after 12s
Tests / test (pull_request) Failing after 11s
054ecdfa7b
chore: bump to 0.2.0
Some checks failed
Build and Test / build (pull_request) Failing after 12s
Tests / test (pull_request) Failing after 16s
Build and Test / build (push) Failing after 8s
Tests / test (push) Failing after 20s
83a4c78d9d
chore: bump to 0.2.1
Some checks failed
Build and Test / build (push) Failing after 13s
Build and Test / build (pull_request) Failing after 12s
Tests / test (pull_request) Failing after 13s
Tests / test (push) Failing after 18s
f89e5f4083
fix: pixel-perfect navbar matching Askama template
Some checks failed
Tests / test (push) Failing after 12s
Tests / test (pull_request) Failing after 16s
Build and Test / build (push) Failing after 17s
Build and Test / build (pull_request) Failing after 23s
4faf85ddf8
- Use navbar-expand (not navbar-expand-lg) matching Askama
- Use native nav element instead of Navbar component
- Add refresh button matching Askama template
fix: api_post now uses rpc_base for correct proxy routing
Some checks failed
Build and Test / build (pull_request) Failing after 12s
Tests / test (push) Failing after 13s
Tests / test (pull_request) Failing after 16s
Build and Test / build (push) Failing after 17s
df0a522054
The api_post() function was sending REST requests without the
rpc_base prefix, causing 404s when embedded behind hero_proxy.
refactor: convert raw Bootstrap HTML to dioxus-bootstrap-css components
Some checks failed
Build and Test / build (push) Failing after 17s
Tests / test (push) Failing after 12s
Tests / test (pull_request) Failing after 11s
Build and Test / build (pull_request) Failing after 16s
027212a771
fix: wrap tab content in Container with top padding for hero_os window
Some checks failed
Build and Test / build (push) Failing after 18s
Tests / test (pull_request) Failing after 18s
Tests / test (push) Failing after 19s
Build and Test / build (pull_request) Failing after 24s
75faa94c71
refactor: convert toast to dioxus-bootstrap-css Toast/ToastContainer (0.2.5)
Some checks failed
Tests / test (push) Failing after 12s
Build and Test / build (push) Failing after 15s
Tests / test (pull_request) Failing after 16s
Build and Test / build (pull_request) Failing after 20s
b9cde35188
refactor: remove Bootstrap-overriding CSS, use pure dioxus-bootstrap utility classes
Some checks failed
Build and Test / build (push) Failing after 16s
Build and Test / build (pull_request) Failing after 17s
Tests / test (pull_request) Failing after 15s
Tests / test (push) Failing after 14s
35562246e1
Some checks failed
Build and Test / build (push) Failing after 16s
Build and Test / build (pull_request) Failing after 17s
Tests / test (pull_request) Failing after 15s
Tests / test (push) Failing after 14s
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
geomind_code/zinit!60
No description provided.