Commit 55251f7
XS⚠️ ◾ feat: Add context descriptions and source badges to prompt selection screen (#773)
* Initial plan
* feat: add context descriptions to prompt selection screen
- Improve PromptSelectionDialog confirm view title and description to
explain what prompts are and what happens when confirmed
- Improve PromptSelectionDialog select view title and description to
clarify prompt purpose and local vs portal distinction
- Replace plain-text source indicators with Badge components for
clearer visual communication in both dialog views
- Update CustomPromptManager description to explain the active prompt
role and that it can be overridden at runtime
Co-authored-by: tomek-i <3699937+tomek-i@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Thomas Iwainski <Tomek.iwainski@gmail.com>
* Update PromptSelectionDialog.tsx
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tomek-i <3699937+tomek-i@users.noreply.github.com>
Co-authored-by: Thomas Iwainski <Tomek.iwainski@gmail.com>
Co-authored-by: Tom Iwainski <tomiwainski@ssw.com.au>1 parent 2645c36 commit 55251f7
File tree
2 files changed
+30
-21
lines changed- src/ui/src/components
- settings/custom-prompt
- workflow
2 files changed
+30
-21
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
Lines changed: 28 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
135 | 136 | | |
136 | | - | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | | - | |
| 199 | + | |
198 | 200 | | |
199 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
200 | 207 | | |
201 | 208 | | |
202 | 209 | | |
| |||
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
237 | 245 | | |
238 | | - | |
239 | | - | |
240 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
241 | 249 | | |
242 | | - | |
243 | | - | |
| 250 | + | |
| 251 | + | |
244 | 252 | | |
245 | 253 | | |
246 | 254 | | |
| |||
0 commit comments