Make DevTools a toggle in Settings > Developer tab
Some checks failed
Release / Bump version and tag (push) Successful in 7s
Release / Build App (macOS) (push) Successful in 1m17s
Release / Build App (Windows) (push) Successful in 3m29s
Release / Build App (Linux) (push) Has been cancelled

- DevTools off by default (no more auto-open on launch)
- New "Developer" tab in Settings with a checkbox to toggle devtools
- Toggle takes effect immediately (opens/closes inspector)
- Setting persists: devtools restored on next launch if enabled
- toggle_devtools Tauri command wraps window.open/close_devtools

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-22 10:55:48 -07:00
parent 33443c8b00
commit 7f1fa1904c
5 changed files with 42 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ export interface AppSettings {
skip_diarization: boolean;
hf_token: string;
num_speakers: number | null;
devtools_enabled: boolean;
}
const defaults: AppSettings = {
@@ -37,6 +38,7 @@ const defaults: AppSettings = {
skip_diarization: false,
hf_token: '',
num_speakers: null,
devtools_enabled: false,
};
export const settings = writable<AppSettings>({ ...defaults });