Web UI: replace native prompt() for create/rename with an in-app dialog #69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dogfood finding (Nikola, 2026-07-30): creating a folder and renaming a file open the browser's native
prompt()— a dropdown sheet at the top of the window. It looks foreign, is unstyled, can't validate, and on some browsers is suppressed entirely.Replace with a branded
<dialog>matching the existing share/settings dialogs: label, prefilled input, Cancel/Confirm, Enter/Escape handling, inline validation (empty name,/, leading dot, name-taken) instead of a failed request. Same dialog serves New folder, Rename, and Move (Move keeps its full-path semantics).Shipped in PR #72, released as v0.3.18, live on the
.249dogfood.Verified on main:
namedlgdialog markup +askName()helper are present, and there are no remainingprompt()call sites — New folder, Rename, and Move all use the in-app dialog with basename preselection, Enter/Escape, and inline validation (empty,/, name already taken). i18n in all four languages.(Missed the auto-close because PR #72 named the issues in its title rather than a
Closes #69line.)