Repository navigation
Commit 76983aa
committed
Add support for default API and web configurations for commit message generation
- user should be able to select default chatbot/model for commit message (like they do for other api tools like 'code at cursor'
- change order move system instructions above 'defaults'
└── apps
└── editor
└── src
├── commands
│ ├── code-at-cursor-command
│ │ └── utils
│ │ ├── get-code-at-cursor-config.ts
│ │ └── perform-code-at-cursor.ts
│ └── generate-commit-message-commands
│ ├── actions
│ │ └── run-generate-action.ts
│ └── utils
│ ├── generate-commit-message-with-api.ts
│ └── get-commit-message-config.ts
├── services
│ └── providers-manager.ts
├── utils
│ ├── cli-configuration-format-converters.ts
│ └── get-api-configuration.ts
└── views
├── settings
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-get-api-configurations.ts
│ │ │ ├── handle-get-cli-configurations.ts
│ │ │ ├── handle-select-default-api-configuration.ts
│ │ │ ├── handle-select-default-cli-configuration.ts
│ │ │ ├── handle-set-default-api-configuration.ts
│ │ │ ├── handle-set-default-cli-configuration.ts
│ │ │ └── index.ts
│ │ └── settings-view-provider.ts
│ ├── frontend
│ │ ├── App.tsx
│ │ ├── Home
│ │ │ ├── Home.tsx
│ │ │ ├── hooks
│ │ │ │ └── use-scroll-to.ts
│ │ │ ├── index.ts
│ │ │ └── sections
│ │ │ ├── ApiSection.tsx
│ │ │ ├── CliSection.tsx
│ │ │ ├── GeneralSection.tsx
│ │ │ └── WebSection.tsx
│ │ ├── Settings.tsx
│ │ ├── forms
│ │ │ ├── EditProviderForm
│ │ │ │ ├── EditProviderForm.module.scss
│ │ │ │ ├── EditProviderForm.tsx
│ │ │ │ └── index.ts
│ │ │ └── EditTemplateForm
│ │ │ ├── EditTemplateForm.module.scss
│ │ │ ├── EditTemplateForm.tsx
│ │ │ └── index.ts
│ │ ├── hooks
│ │ │ ├── use-api-configuration-editing.ts
│ │ │ ├── use-cli-configuration-editing.ts
│ │ │ ├── use-provider-editing.ts
│ │ │ ├── use-settings.ts
│ │ │ └── use-web-configuration-editing.ts
│ │ ├── i18n
│ │ │ ├── translations
│ │ │ │ ├── actions.ts
│ │ │ │ ├── api.ts
│ │ │ │ ├── cli.ts
│ │ │ │ ├── common.ts
│ │ │ │ ├── edit-provider-form.ts
│ │ │ │ ├── edit-template-form.ts
│ │ │ │ ├── general.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── sections.ts
│ │ │ │ └── web.ts
│ │ │ └── use-translation.tsx
│ │ └── utils
│ │ └── post-message.ts
│ └── types
│ └── messages.ts
└── shared
├── actions
│ └── api
│ └── update
│ └── update.ts
└── types
└── api-features.ts1 parent fac57d1 commit 76983aa
10 files changed
Lines changed: 115 additions & 41 deletions
File tree
- apps/editor/src
- commands/generate-commit-message-commands
- actions
- utils
- services
- views
- settings
- backend/message-handlers
- frontend
- Home
- sections
- i18n/translations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
410 | 416 | | |
411 | 417 | | |
412 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| 195 | + | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
345 | 348 | | |
346 | 349 | | |
347 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
348 | 369 | | |
349 | 370 | | |
350 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
92 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
303 | 339 | | |
304 | 340 | | |
305 | 341 | | |
| |||
369 | 405 | | |
370 | 406 | | |
371 | 407 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
388 | 418 | | |
389 | | - | |
390 | | - | |
| 419 | + | |
| 420 | + | |
391 | 421 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
| 422 | + | |
408 | 423 | | |
409 | 424 | | |
410 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
457 | 475 | | |
458 | 476 | | |
459 | 477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
0 commit comments