Repository navigation
Commit 0380866
committed
Focus and select chat input when navigating from home to main view
- when opening main view (web, api , cli), should select text in the prompt field
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ ├── generate-commit-message-commands
│ │ │ ├── actions
│ │ │ │ └── run-generate-action.ts
│ │ │ └── utils
│ │ │ └── get-commit-message-config.ts
│ │ └── reference-in-prompt-command.ts
│ ├── utils
│ │ ├── get-api-configuration.ts
│ │ └── show-configurations-quick-pick.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-at-sign-quick-pick.ts
│ │ │ ├── handle-autofill.ts
│ │ │ ├── handle-focus-on-file-in-preview.ts
│ │ │ ├── handle-hash-sign-quick-pick
│ │ │ │ └── handle-hash-sign-quick-pick.ts
│ │ │ ├── handle-make-api-call.ts
│ │ │ ├── handle-save-completed-tasks.ts
│ │ │ └── handle-template-quick-pick.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── App.tsx
│ │ ├── Main
│ │ │ ├── Main.tsx
│ │ │ └── MainView
│ │ │ └── MainView.tsx
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ └── use-prompt
│ │ └── use-prompt.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
├── common
│ └── prompts
│ └── PromptField
│ ├── PromptField.tsx
│ ├── hooks
│ │ ├── use-ghost-text.ts
│ │ └── use-handlers
│ │ └── use-handlers.ts
│ └── index.ts
└── prompt-view
├── ResponsePreview
│ ├── ResponsePreview.stories.tsx
│ └── ResponsePreview.tsx
└── Tasks
├── Tasks.tsx
└── hooks
└── use-auto-focus-new-task.ts1 parent f5b79a0 commit 0380866
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
409 | | - | |
| 410 | + | |
410 | 411 | | |
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
415 | | - | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
421 | | - | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| |||
0 commit comments