Skip to content

Phase 3a: Create Tauri viewer sidecar binary - #35

Merged
zackees merged 1 commit into
mainfrom
rust/phase-3a-tauri
Apr 12, 2026
Merged

zackees merged 1 commit into
mainfrom
rust/phase-3a-tauri

Conversation

@zackees

@zackees zackees commented Apr 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Add crates/fastled-tauri to the Cargo workspace as a new independent crate
  • Implement fastled-viewer binary using Tauri v2 that opens a native WebView2 window
  • Window is created programmatically via tauri::WebviewWindowBuilder; no default windows declared in config
  • Accepts --frontend-dir, --title, --width, --height CLI args via clap
  • Includes minimal placeholder frontend/index.html ("Waiting for compiled output...")
  • Includes minimal Windows icon (icons/icon.ico) required by tauri-build

Test plan

  • _cargo build --workspace compiles cleanly
  • _cargo test --workspace — all tests pass (44 Rust + 121 Python)
  • _cargo clippy --workspace --all-targets -- -D warnings — no warnings
  • _cargo fmt --all --check — clean
  • bash lint — passes (ruff, black, isort, pyright all clean)
  • bash test — 121 Python tests pass
  • Run target/x86_64-pc-windows-msvc/debug/fastled-viewer.exe — opens a native WebView2 window

Closes #23

Add crates/fastled-tauri with a fastled-viewer binary that opens a native
WebView2 window via Tauri v2. Accepts --frontend-dir, --title, --width,
--height CLI args. Window is created programmatically (no default windows
in tauri.conf.json). Includes minimal frontier placeholder and Windows
icon. Resolves #23.
@zackees
zackees merged commit a20eb50 into main Apr 12, 2026
0 of 9 checks passed
@zackees
zackees deleted the rust/phase-3a-tauri branch November 5, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 3a: Create Tauri viewer sidecar binary

1 participant