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-11-05 02:45:36 +08:00
2026-11-05 14:14:47 +08:00
2026-10-29 11:58:19 +08:00
2026-10-29 11:58:19 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 09:39:32 +08:00
2026-10-25 21:24:00 +08:00
2026-10-22 18:55:10 +08:00
2026-10-23 22:18:50 +08:00
2026-11-05 21:03:28 +08:00
2026-11-05 21:03:28 +08:00
2026-11-05 21:03:28 +08:00
2026-11-05 21:03:28 +08:00
2026-10-31 20:58:45 +08:00
2026-11-05 15:18:42 +08:00
2026-11-05 15:18:42 +08:00
2026-10-22 18:55:10 +08:00
2026-10-27 08:56:13 +08:00
2026-10-31 20:24:31 +08:00
2026-10-31 20:24:31 +08:00
2026-10-31 20:24:31 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-11-05 14:21:50 +08:00
2026-11-05 23:09:55 +08:00
2026-10-25 21:24:00 +08:00
2026-11-05 02:45:36 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-03 22:20:58 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:05:16 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-05 00:16:32 +08:00
2026-11-05 02:45:36 +08:00
2026-11-05 02:45:36 +08:00
2026-11-04 14:22:38 +08:00
2026-11-04 14:22:38 +08:00
2026-10-28 09:07:50 +08:00
2026-11-04 01:31:10 +08:00
2026-11-04 01:31:10 +08:00
2026-10-23 21:23:06 +08:00
2026-11-05 00:16:32 +08:00
2026-10-31 21:43:20 +08:00
2026-10-25 09:34:02 +08:00
2026-11-01 16:05:16 +08:00
2026-11-01 16:05:16 +08:00
2026-10-31 00:55:29 +08:00
2026-10-31 00:55:29 +08:00
2026-11-05 15:57:04 +08:00
2026-11-03 22:50:13 +08:00
2026-10-27 08:56:13 +08:00
2026-10-27 08:56:13 +08:00
2026-11-02 23:41:21 +08:00
2026-11-04 23:10:23 +08:00
2026-11-05 00:55:03 +08:00
2026-11-05 00:55:03 +08:00
2026-10-22 18:55:10 +08:00
2026-10-29 23:21:56 +08:00
2026-10-22 18:55:10 +08:00
2026-10-23 22:18:50 +08:00
2026-11-04 00:41:57 +08:00
2026-11-04 01:31:10 +08:00
2026-11-04 00:41:57 +08:00
2026-11-05 00:55:03 +08:00
2026-11-03 15:22:26 +08:00
2026-11-03 15:22:26 +08:00
2026-11-03 15:22:26 +08:00
2026-11-05 14:58:12 +08:00
2026-11-04 01:31:10 +08:00
2026-10-31 23:44:34 +08:00
2026-11-05 14:58:12 +08:00
2026-10-31 12:43:42 +08:00
2026-10-31 01:28:41 +08:00
2026-11-05 23:09:55 +08:00
2026-10-30 19:44:28 +08:00
2026-10-30 19:44:28 +08:00