Repository navigation
Commit ad680f5
committed
Rename clear checks command to clear context and add clear context action to prompt attachments when files are selected
- rename 'clear checks' to 'clear context' (with translations)
- below the prompt field, we place 'agentic search' - it's good. But it should only appear when the context is empty (no files are selected). Otherwise show option: 'Clear Context'.
- while some files are selected, 'agentic serach' should be available to click from prompt field's 'more' dropdown
- fix missing props in stories
- show 'search sparkle' icon before label
- place the icon with label in a single div, set gap to 2px
- in dropdown, remove ellipsis truncations (simplifying css)
├── apps
│ └── editor
│ ├── package.json
│ ├── package.nls.bg.json
│ ├── package.nls.cs.json
│ ├── package.nls.de.json
│ ├── package.nls.es.json
│ ├── package.nls.fr.json
│ ├── package.nls.hu.json
│ ├── package.nls.it.json
│ ├── package.nls.ja.json
│ ├── package.nls.json
│ ├── package.nls.ko.json
│ ├── package.nls.pl.json
│ ├── package.nls.pt-br.json
│ ├── package.nls.ru.json
│ ├── package.nls.tr.json
│ ├── package.nls.zh-cn.json
│ ├── package.nls.zh-tw.json
│ └── src
│ ├── context
│ │ └── context-initialization.ts
│ ├── features
│ │ └── agentic-search
│ │ ├── agentic-search.ts
│ │ └── index.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ └── handle-agentic-search.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Main
│ │ │ ├── Main.tsx
│ │ │ └── MainView
│ │ │ ├── MainView.tsx
│ │ │ └── components
│ │ │ └── PromptAttachments
│ │ │ └── PromptAttachments.tsx
│ │ ├── Prompt.tsx
│ │ ├── hooks
│ │ │ ├── use-editor-sync.ts
│ │ │ └── use-prompt
│ │ │ └── use-prompt.ts
│ │ └── i18n
│ │ └── translations
│ │ ├── prompt-field.ts
│ │ └── selected-files.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
├── common
│ ├── DropdownMenu
│ │ ├── DropdownMenu.module.scss
│ │ └── DropdownMenu.tsx
│ └── prompts
│ └── PromptField
│ ├── PromptField.stories.tsx
│ ├── PromptField.tsx
│ ├── components
│ │ └── Footer
│ │ └── Footer.tsx
│ └── hooks
│ └── use-dropdown.ts
└── prompt-view
└── StatusBar
└── StatusBar.tsx1 parent 5422e68 commit ad680f5
28 files changed
Lines changed: 180 additions & 58 deletions
File tree
- apps/editor
- src
- context
- views/prompt/frontend
- Main
- MainView
- components/PromptAttachments
- i18n/translations
- packages/ui/src/components/editor/common
- DropdownMenu
- prompts/PromptField
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
| 180 | + | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
| 683 | + | |
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments