Commit cf865dd
authored
🤖 fix: remove escape-to-cancel on new workspace page (#955)
The new workspace / new chat screen is not a modal - it's the default
view when no workspace is selected. Having Escape dismiss it was
confusing, especially when using vim mode where Escape is needed for
mode transitions.
## Changes
- Removed `onCancel` prop from `ChatInputCreationVariant`
- Removed Escape key handler for creation variant cancel
- Removed `onCancel` prop passed from App.tsx
_Generated with `mux`_1 parent aed0c79 commit cf865dd
3 files changed
+0
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | 651 | | |
660 | 652 | | |
661 | 653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | 1068 | | |
1076 | 1069 | | |
1077 | 1070 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments