fix(stage1): Replace broken window.__TAURI__.dialog with backend select_target_file command (fixes #103) #104

Merged
gronod merged 1 commits from fix/103-stage1-file-browse into development 2026-08-25 19:31:17 +01:00
Owner

Summary of Fixes

  • Stage 1 File Dialog: Replaced undefined frontend window.__TAURI__.dialog with native backend Tauri commands select_target_file and select_directory.
  • Button Enable Logic: Ensured btnGenerate properly checks default or selected working directory and target basename, restoring the enable/disable state machine when entering filenames.
  • Version Bump: Bumped version to 0.3.1 across Cargo.toml, tauri.conf.json, and About modal in index.html.

Fixes #103.

### Summary of Fixes - **Stage 1 File Dialog**: Replaced undefined frontend `window.__TAURI__.dialog` with native backend Tauri commands `select_target_file` and `select_directory`. - **Button Enable Logic**: Ensured `btnGenerate` properly checks default or selected working directory and target basename, restoring the enable/disable state machine when entering filenames. - **Version Bump**: Bumped version to `0.3.1` across `Cargo.toml`, `tauri.conf.json`, and About modal in `index.html`. Fixes #103.
gronod added the Kind/Feature
Priority
High
2
labels 2026-08-25 19:20:56 +01:00
gronod added 1 commit 2026-08-25 19:20:57 +01:00
fix(stage1): replace broken window.__TAURI__.dialog with backend select_target_file command (fixes #103)
Build Windows Packages / Build Windows (pull_request) Successful in 7m57s
Build Linux Packages / Build Linux (pull_request) Successful in 9m28s
1b244d732c
gronod merged commit 6d6e5575b7 into development 2026-08-25 19:31:17 +01:00
Sign in to join this conversation.