cherry-studio/src
GeorgeDong32 f846a27418 feat(settings): add confirmation and validation for WebDAV single-file
Add confirmation dialog when enabling single-file overwrite to ensure the
user understands behavior (fixed filename, overwrites previous backup,
keeps only latest). Initialize related state with safe defaults to avoid
undefined values. Add inline help text recommending use cases.

Introduce filename input handling: trim and validate the entered name,
reject invalid characters, Windows reserved names, and overly long names;
show toast errors for invalid input. Persist validated filename on blur.

Wire up onChange handler for the filename input and disable the field
unless overwrite mode and compatible backup settings are active. These
changes improve UX and prevent accidental data loss or invalid filenames.
2025-10-24 17:47:56 +08:00
..
main feat(AppMenuService): enhance application menu with help section and others (#10934) 2025-10-24 13:57:52 +08:00
preload feat: new build-in OCR provider -> intel OV(NPU) OCR (#10737) 2025-10-17 15:18:00 +08:00
renderer feat(settings): add confirmation and validation for WebDAV single-file 2025-10-24 17:47:56 +08:00