Commit graph

45 commits

Author SHA1 Message Date
Chris Estreich
a414c7d028
Wrangle our settings-related types and add support for settings import / export (#1997)
* Strongly type our settings use composition where possible

* Update src/core/contextProxy.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update src/core/contextProxy.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Add comment, tweak function name

* Add changeset

* Clean up toolGroup types

* Comments tweak

* Remove unused type

* More type safety

* Improve import / export, add translations

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-26 16:29:01 -07:00
jwc11
55bbe88e39
feat: add pinning and sorting for API configurations dropdown (#2001)
* feat: add pinning functionality for API configurations

Added the ability to pin/unpin API configurations, enabling prioritized appearance in dropdown menus.
- modified state management to support storing pinned configurations persistently.
- Updated UI components to display and toggle pin states
- Adjusted backend handling for syncing pinned configuration states across sessions.

* refactor: add support for loading API configurations by ID

- Introduced a new method `loadConfigById` in `ConfigManager` to load API configurations using their unique ID.
- Refactored the dropdown and pin logic to work with ID
- Added tests to verify the new functionality for loading configurations by ID.

* fix: preserve existing API config ID on updates

- Ensure that the existing ID is retained when updating an API config.
- Prevents unintentional ID changes during configuration updates.

* Fix theme issues

---------

Co-authored-by: james <james@systemslogiq.com>
Co-authored-by: cte <cestreich@gmail.com>
2025-03-26 11:29:24 -07:00
Matt Rubens
1fb34b81fa
Show requesty key balance on the settings screen (#1995) 2025-03-26 11:25:24 -04:00
Matt Rubens
0fd0800ba9
Show openrouter key balance on the settings page (#1990) 2025-03-25 22:41:21 -04:00
Chad Gauthier
418694befa
Update UX for text area (#1953)
* update ux for text area

* fix z-index

* fix tests

* Update .changeset/bright-trains-crash.md

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* extract off drop method per code review bot

* address bot comment

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-24 17:46:34 -04:00
KJ7LNW
92dee31634
fix: make dropdown menu background fully opaque (#1907) 2025-03-22 16:01:27 -07:00
Matt Rubens
95ba760daf
Non-thinking sonnet has 8192 max tokens (#1860) 2025-03-21 00:24:57 -04:00
Chris Estreich
891a55d5f0
Theme tweaks (#1816) 2025-03-19 11:51:25 -07:00
Chris Estreich
0e036fbd9f
Clean up SelectDropdown component (#1796)
* Clean up SelectDropdown component

* Fix tests
2025-03-18 23:03:09 -07:00
Chris Estreich
fbb5cfcd11
More theme fixes for select, dropdown & command (#1789)
* More theme fixes

* Fix typo

* Add changeset

* Fix button variant

* More fixes

* More tweaks

* More tweaks

* Fix test

* Fix tsc errors
2025-03-18 22:07:19 -07:00
Chris Estreich
f4abdf4b95
Use the Slider component everywhere (#1786)
* Use the Slider component everywhere

* onValueCommit -> onValueChange

* More cleanup

* Fix tests

* Add missing translations

* Update webview-ui/src/components/settings/ContextManagementSettings.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* SelectDropdown fixes

* Fix tests

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-18 15:27:28 -07:00
Chris Estreich
8b368e92c9
Simplify model picker, use default @shadcn/ui components (#1782)
* Simplify model picker, use default @shadcn/ui components

* Fix tests
2025-03-18 11:55:27 -07:00
Chris Estreich
923d4a56f9
Port all Dropdown components to Select in ApiOptions (#1780)
* Port all `Dropdown` components to `Select` in `ApiOptions`

* Fix tests
2025-03-18 10:15:36 -07:00
Chris Estreich
fef4a1c8ed
Fix selection highlight color on VSCode dropdowns (#1776) 2025-03-18 09:44:19 -07:00
Chris Estreich
4d1b9d2ff6
Allow webviews to make OpenRouter API calls (#1778)
* Allow webviews to make OpenRouter API calls

* Update package-lock.json
2025-03-18 09:23:09 -07:00
Chris Estreich
eb74f02094
Choose specific provider when using OpenRouter (#1753)
* Choose specific provider when using OpenRouter

* Add translations
2025-03-17 15:40:27 -07:00
Matt Rubens
00bf91470b Add i18n 2025-03-12 11:23:06 -04:00
cannuri
8c21f0ece3 refactor alert dialog styles, use vscode theme 2025-03-11 03:59:46 +01:00
cte
9fdc546f01 Fix portal stuff 2025-03-09 21:49:29 -07:00
cte
9f40c4d57a App tab layout fixes 2025-03-09 15:07:59 -07:00
cte
ebacc14b48 Fix settings dropdown issues 2025-03-07 21:36:03 -08:00
Matt Rubens
74d52aafcb Fix issues with select dropdown 2025-03-04 17:35:43 -05:00
Matt Rubens
9c3e477bf2 PR cleanup 2025-03-03 23:08:34 -05:00
Matt Rubens
c84b639872 Custom dropdowns for mode/api profile 2025-03-03 17:52:53 -05:00
cte
41e75bc989 Model picker fixes 2025-02-25 23:02:43 -08:00
Chris Estreich
3860abf855
Merge pull request #1122 from System233/patch-model-picker
fix: ModelID cannot be saved and refactor ModelPicker
2025-02-25 19:18:36 -08:00
Chris Estreich
392a237985 Support Claude 3.7 Sonnet "Thinking" in OpenRouter 2025-02-25 12:58:03 -08:00
System233
d5b796263d Add a combobox component with auto-complete functionality 2025-02-26 02:44:57 +08:00
cte
09902904f3 Persist anthropicThinking 2025-02-24 22:08:14 -08:00
System233
eeb1e45907 Improve UI experience 2025-02-20 11:28:25 +08:00
System233
1fcdd33339 Add confirmation dialog for discarding changes. 2025-02-20 10:28:28 +08:00
cte
81565ec072 Use Virtuoso 2025-02-15 10:46:26 -08:00
cte
4898b4bb9e More cleanup 2025-02-15 02:41:15 -08:00
cte
347c69ebe6 Add GitHub-flavored Markdown support 2025-02-15 02:39:59 -08:00
cte
45bf2a0230 Composable, reusable chat interface with Markdown support + VSCode theme syntax highlighting 2025-02-15 02:11:22 -08:00
cte
17b9c4f968 Additional @shadcn/ui components 2025-02-14 23:41:39 -08:00
cte
0b8fd14d26 Honor the VSCode theme for dialog backgrounds 2025-02-11 13:04:25 -08:00
Roo Code
0daab656f1 Add tooltips on checkpoint actions 2025-02-08 14:27:09 -08:00
cte
1a527fca12 Checkpoint UI tweaks 2025-02-07 23:54:21 -08:00
Roo Code
0bc9e17c1a Better model picker 2025-02-07 12:25:52 -08:00
Roo Code
4a1f5b96bc Add @shadcn/ui components required for the combobox 2025-02-06 15:06:16 -08:00
cte
11fc6da392 VSCode styling for shadcn/ui + expose container prop in dropdown portals 2025-02-04 08:27:05 -08:00
cte
41f25f0996 Button tweaks 2025-02-03 12:16:35 -08:00
cte
a7101a9b94 Add shadcn/ui dropdown menu component 2025-02-03 11:48:20 -08:00
cte
4cf455ed39 Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00