WIP: Dioxus Bootstrap migration — hero_voice_ui #7

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

DO NOT MERGE

Phase 1 of Dioxus WASM migration for hero_voice_ui.

What

  • New hero_voice_ui_wasm crate: Dioxus 0.7 + dioxus-bootstrap-css 0.1.6
  • Sidebar tree view (topics, folders, audio files, transforms)
  • Markdown editor with preview pane
  • Navbar with recording controls, transform dropdown, theme toggle
  • Status bar, toast notifications, JSON-RPC client
  • Server --dist flag to serve WASM dist instead of embedded static
  • Fix pre-existing build break (stale pub mod lifecycle)

Not yet implemented (Phase 2+)

  • WebSocket audio recording (requires wasm-bindgen Web Audio bindings)
  • Markdown preview rendering (needs pulldown-cmark in WASM)
  • Context menu (right-click actions)
  • Audio player bar
  • Inline rename/create inputs in tree view

Ref: issue #26

## DO NOT MERGE Phase 1 of Dioxus WASM migration for hero_voice_ui. ### What - New `hero_voice_ui_wasm` crate: Dioxus 0.7 + dioxus-bootstrap-css 0.1.6 - Sidebar tree view (topics, folders, audio files, transforms) - Markdown editor with preview pane - Navbar with recording controls, transform dropdown, theme toggle - Status bar, toast notifications, JSON-RPC client - Server `--dist` flag to serve WASM dist instead of embedded static - Fix pre-existing build break (stale `pub mod lifecycle`) ### Not yet implemented (Phase 2+) - WebSocket audio recording (requires wasm-bindgen Web Audio bindings) - Markdown preview rendering (needs pulldown-cmark in WASM) - Context menu (right-click actions) - Audio player bar - Inline rename/create inputs in tree view Ref: issue #26
feat: add Dioxus WASM frontend for hero_voice_ui (Phase 1)
Some checks failed
Build / build (pull_request) Failing after 4s
8a4a77b73c
- New crate: hero_voice_ui_wasm with dioxus 0.7 + dioxus-bootstrap-css 0.1.6
- Sidebar tree view (topics, folders, audio files, transforms)
- Markdown editor with preview pane
- Navbar with recording controls, transform dropdown, theme toggle
- Status bar with connection indicator
- Toast notifications
- JSON-RPC proxy client (reuses /rpc endpoint)
- Server: add --dist flag to serve WASM dist instead of embedded static
- Server: add /assets route for WASM dist files
- Fix pre-existing build break: remove stale pub mod lifecycle
refactor: convert hero_voice_ui_wasm to archipelago library crate
Some checks failed
Build / build (pull_request) Failing after 9s
3d25d6851e
fix: set default features to ["web"] for hero_os_app integration
Some checks failed
Build / build (pull_request) Failing after 9s
97918ebf58
fix: add hero_archipelagos_core/web to web feature
Some checks failed
Build / build (pull_request) Failing after 5s
adcbbe8faf
Ensure hero_archipelagos_core web feature is activated when the crate's
web feature is enabled, so it works correctly as a git dependency.
fix: RPC routing + conditional BootstrapHead for hero_os integration
Some checks failed
Build / build (pull_request) Failing after 11s
3b3dd70132
fix: build pipeline fixes for devbootstrap deployment
Some checks failed
Build / build (pull_request) Failing after 1m55s
db3d2880db
fix: synchronous RPC base init (before first render)
Some checks failed
Build / build (pull_request) Failing after 1m49s
c19983ded9
fix: unconditional RPC base init
Some checks failed
Build / build (pull_request) Failing after 28s
ba69890b4a
fix(voice): use spawn for initial data load instead of use_future
Some checks failed
Build / build (pull_request) Failing after 41s
4996468d18
The one-shot use_future could hang if backend is down. Use use_hook +
spawn so the component renders immediately and data loads in background.
If RPC fails, status stays Disconnected gracefully.
chore: bump dioxus-bootstrap-css to 0.1.7
Some checks failed
Build / build (pull_request) Failing after 41s
e1fd952465
chore: bump dioxus-bootstrap-css to 0.1.8
Some checks failed
Build / build (pull_request) Failing after 36s
f9765467b1
Convert raw HTML div/table/button elements to proper dioxus-bootstrap-css
components (Card, Table, Button, Row, Col) for pixel-perfect Bootstrap 5.3.
refactor: convert raw button elements to Button component
Some checks failed
Build / build (pull_request) Failing after 32s
10bd283918
Convert remaining button { class: "btn..." } to Button { color, outline, size }
using dioxus-bootstrap-css components.
fix: remove unsupported title prop from Button
Some checks failed
Build / build (pull_request) Failing after 36s
f999777012
chore: bump dioxus-bootstrap-css to 0.1.9
Some checks failed
Build / build (pull_request) Failing after 33s
635c708078
chore: bump dioxus-bootstrap-css to 0.2.0 (extends GlobalAttributes)
Some checks failed
Build / build (pull_request) Failing after 43s
3a25875ac4
chore: bump dioxus-bootstrap-css to 0.2.1
Some checks failed
Build / build (pull_request) Failing after 36s
e1ca88008e
refactor: convert raw Bootstrap HTML to dioxus-bootstrap-css components
Some checks failed
Build / build (pull_request) Failing after 40s
e7ffb06302
refactor: convert toast to dioxus-bootstrap-css Toast/ToastContainer (0.2.5)
Some checks failed
Build / build (pull_request) Failing after 39s
f8b9e49f8d
Some checks failed
Build / build (pull_request) Failing after 39s
This pull request has changes conflicting with the target branch.
  • Cargo.lock
  • Cargo.toml
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_voice!7
No description provided.