Skip to content

feat(webview): bounded window configuration for FastLED viewer adoption #193

Closed

Description

@zackees

Refs #155. Coordinated with FastLED/cli#242. Current FastLED tauri_viewer.rs passes product title and logical width/height to WebviewWindowBuilder; kernel NativeWebviewBackend hardcodes a proof title and default dimensions. Add facade-owned validated WebviewWindowOptions, with bounded UTF-8 title and nonzero bounded logical dimensions, and an open method composing existing media permissions. Validate before native effects; preserve current open methods and isolated no-IPC/no-script route. Reuse the canonical backend/runtime/resource hub, no backend reexports or extra event loop.

Acceptance: RED-to-GREEN public options tests, exact native builder wiring, default feature isolation, Linux tests/Clippy, Windows/macOS compile checks, native lifecycle smoke. This removes one proven GUI adoption gap, not the entire app Tauri edge. Remaining GUI gaps: pre-page product scripts (test token, log forwarding, capture schedule), reload behavior, Windows zoom policy, lifecycle parity. Do not remove existing app viewer until those behaviors have integration coverage.

Activity

  1. zackees commented on Sep 16, 2026

    @zackees
    CollaboratorAuthor

    Complete and adopted; closing with the evidence rather than leaving it open.

    kernal-api — tests/webview_window_options.rs. Verified present on main rather than inferred from the commit message alone.

    FastLED — the FastLED viewer lane this issue names.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions