Jaw and Claude Opus 5.5
d1acf9f9ac
feat(vcs): replace spaces typed in a branch name with a separator ( #1571 )
...
Ref-name inputs only validated after the fact, so a space typed or pasted into a branch name showed "Branch name contains invalid characters" and disabled Create. Branch-name fields (New Branch, from a revision and in several repositories, Rename Branch, New Worktree, GitHub New Remote Branch) now clean the name while typing: forbidden characters are dropped and whitespace becomes '-', without stacking separators, keeping the caret in place. Shared via src/platform/gitRefName.ts and the useSanitizedField hook in src/ui.
Closes #1553
Co-authored-by: jaw52 <[email protected] >
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-11-05 23:09:55 +08:00
..
2026-10-28 21:49:43 +08:00
2026-10-28 19:32:54 +08:00
2026-11-05 23:09:55 +08:00
2026-10-31 07:50:43 +08:00
2026-10-30 23:48:49 +08:00
2026-10-28 19:35:16 +08:00
2026-11-05 21:23:05 +08:00
2026-10-31 12:43:42 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:21:53 +08:00
2026-10-28 21:49:43 +08:00
2026-11-05 21:23:05 +08:00
2026-11-05 02:05:07 +08:00
2026-11-01 01:43:15 +08:00
2026-11-01 01:43:15 +08:00
2026-11-05 21:42:08 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-10-28 19:35:16 +08:00
2026-11-05 14:50:20 +08:00
2026-10-27 10:39:01 +08:00
2026-11-04 23:11:05 +08:00
2026-11-03 23:41:16 +08:00
2026-10-29 19:59:57 +08:00
2026-10-29 10:25:57 +08:00
2026-11-05 21:43:55 +08:00
2026-11-04 12:40:45 +08:00
2026-10-31 07:50:43 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 15:14:13 +08:00
2026-11-01 01:43:15 +08:00
2026-11-05 02:31:32 +08:00
2026-10-28 19:35:16 +08:00
2026-11-05 12:50:20 +08:00
2026-11-03 23:39:26 +08:00
2026-10-28 19:35:16 +08:00
2026-10-30 15:09:55 +08:00
2026-11-02 12:11:12 +08:00
2026-11-03 10:18:39 +08:00
2026-10-27 10:39:01 +08:00
2026-11-04 02:07:42 +08:00
2026-10-29 01:00:26 +08:00
2026-11-05 02:31:32 +08:00
2026-10-25 09:44:46 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 20:59:28 +08:00
2026-10-28 21:49:43 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 19:20:43 +08:00
2026-11-05 02:31:32 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:39:26 +08:00
2026-11-02 14:58:23 +08:00
2026-11-03 23:26:36 +08:00
2026-11-05 20:59:28 +08:00
2026-10-29 14:45:42 +08:00
2026-10-29 14:30:32 +08:00
2026-10-25 09:44:46 +08:00
2026-11-05 23:09:55 +08:00
2026-11-05 08:57:19 +08:00
2026-10-25 21:24:00 +08:00
2026-11-03 15:56:05 +08:00
2026-10-28 21:49:43 +08:00
2026-11-03 07:52:55 +08:00
2026-10-24 09:11:58 +08:00
2026-11-05 00:07:44 +08:00
2026-11-03 07:52:55 +08:00
2026-11-05 14:48:59 +08:00
2026-11-03 14:40:18 +08:00
2026-10-29 00:18:14 +08:00
2026-10-29 19:43:40 +08:00
2026-11-03 20:33:41 +08:00