Repository navigation
Commit f85958c
committed
Persist and reuse last accepted commit message via workspace state instead of clipboard
- in 'enter manually', place last accepted commit message (sometimes users work on the same feature and simply commit reworks)
└── apps
└── editor
├── package.json
└── src
├── commands
│ ├── generate-commit-message-commands
│ │ ├── actions
│ │ │ ├── get-prompt-data.ts
│ │ │ └── run-generate-action.ts
│ │ ├── generate-commit-message-commands.ts
│ │ ├── index.ts
│ │ └── utils
│ │ ├── build-commit-message-prompt.ts
│ │ ├── generate-commit-message-with-api.ts
│ │ ├── get-commit-message-config.ts
│ │ └── strip-wrapping-quotes.ts
│ └── index.ts
├── constants
│ └── state-keys.ts
├── i18n
│ └── translations
│ └── commands
│ └── generate-commit-message-command.ts
└── utils
└── git-repository-utils.ts1 parent 23eb51d commit f85958c
2 files changed
Lines changed: 18 additions & 3 deletions
File tree
- apps/editor/src
- commands/generate-commit-message-commands/actions
- constants
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
527 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
528 | 532 | | |
529 | 533 | | |
530 | 534 | | |
| |||
970 | 974 | | |
971 | 975 | | |
972 | 976 | | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
973 | 981 | | |
974 | 982 | | |
975 | 983 | | |
| |||
994 | 1002 | | |
995 | 1003 | | |
996 | 1004 | | |
997 | | - | |
| 1005 | + | |
998 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
999 | 1012 | | |
1000 | 1013 | | |
1001 | 1014 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
0 commit comments