Commit 8e396b9
committed
fix: add visual indicators for custom mode sources (#6502)
- Add (G)/(P) indicators in mode dropdown for custom modes
- Add (Global)/(Project) text in selected mode button
- Built-in modes show no indicators
- Add helper functions getModeSource() and getSourceDisplayText()
- Use text-vscode-descriptionForeground for subtle styling
- Add comprehensive tests for source indicator functionality
- Add translation keys to all 18 supported languages1 parent 3803c29 commit 8e396b9
File tree
20 files changed
+273
-40
lines changed- src/i18n/locales
- ca
- de
- en
- es
- fr
- hi
- id
- it
- ja
- ko
- nl
- pl
- pt-BR
- ru
- tr
- vi
- zh-CN
- zh-TW
- webview-ui/src/components/chat
- __tests__
20 files changed
+273
-40
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments