onyx-tasks/apps/tauri
Claude d01bd9d280
fix(settings): stop clobbering WebDAV edits and save without a successful test
Two coupled issues in workspace settings:

1. The credentials-loading effect re-ran whenever ws.webdav_url changed,
   so any config mutation (e.g. changing sync interval) would trigger a
   re-load of the stored username/password, overwriting whatever the
   user was typing into those fields. Gate with a one-shot credsLoaded
   flag.

2. Save would persist whatever was in the URL input even if the user
   had never tested it — a typo'd host silently pointed the workspace
   at a dead server. Now saveWebdav auto-runs the connection test and
   bails if it fails; any edit to the three inputs clears the "ok"
   status via markDirty() so the next Save is forced to re-verify.

Also replaces the ASCII "Failed -- Retry" with an em dash.
2026-04-17 16:22:31 +00:00
..
src fix(settings): stop clobbering WebDAV edits and save without a successful test 2026-04-17 16:22:31 +00:00
src-tauri fix(tauri): cascade delete must handle the full subtree, not just direct children 2026-04-17 16:19:46 +00:00
tauri-plugin-credentials Add tauri-plugin-credentials for cross-platform credential storage 2026-04-05 17:29:51 -07:00
.gitignore tauri and flutter guis 2026-03-17 09:38:53 -07:00
index.html Add safe area insets for mobile status bar and navigation 2026-04-05 17:29:54 -07:00
package-lock.json Add Vitest suite covering the smoke-test fixes 2026-04-17 14:33:12 +00:00
package.json Add Vitest suite covering the smoke-test fixes 2026-04-17 14:33:12 +00:00
svelte.config.js tauri and flutter guis 2026-03-17 09:38:53 -07:00
tsconfig.json tauri and flutter guis 2026-03-17 09:38:53 -07:00
vite.config.ts Add Vitest suite covering the smoke-test fixes 2026-04-17 14:33:12 +00:00