Commit graph

45 commits

Author SHA1 Message Date
Ross McFarland
260fc30043
feat(settings): Rate-limit setting updated to be per-profile (#2376)
* Rate-limit setting updated to be per-profile

* Correct rateLimitSeconds translations

* Add missing d to rateLimitSecondsMigrate

* Fix fr rate-limit translation
2025-04-07 16:24:38 -04:00
Yu SERIZAWA
d6d5670e38
feat: Add support for .roorules configuration files (#2309)
* feat: Add support for .roorules configuration files

- Add .roorules to the list of supported rule files
- Improve mode-specific rule file handling to prioritize .roorules over .clinerules
- Update file loading logic to track which rule file was successfully loaded
- Add test cases for .roorules functionality

This change maintains backward compatibility with existing .clinerules while
introducing support for the new .roorules format as the preferred configuration
method.

* refactor: simplify rule file loading by removing unused rules

- Removed .cursorrules and .windsurfrules from the list of rule files in loadRuleFiles function.

* refactor: update loadRuleFiles to return single rule file content

- Modified loadRuleFiles function to return content from the first available rule file instead of combining multiple rule files.
- Updated tests to reflect the new behavior of loading only the .roorules file content when available, ensuring clarity in rule file handling.

* fix: update prompts for deprecated rule file references

- Updated prompts in the English locale to reflect the deprecation of .clinerules in favor of .roorules.
- Added notes in the prompts indicating that .clinerules will stop working soon, ensuring users are aware of the upcoming changes.

* Translations

* Update links

* Revert README changes

* Add missing spans around links

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-05 14:55:07 -04:00
Sam Hoang Van
60f9221d69
feat(settings): add searchable dropdown to API config profiles setting page (#2221)
- Replace Select with Command+Popover components in ApiConfigManager
- Add search functionality to filter configuration profiles
- Add clear search button and selected item indicator
- Add internationalization support for all languages
- Match UX pattern from ModelPicker component for consistency
2025-04-05 00:56:54 -04:00
Matt Rubens
4b2a54e364
Allow manually selecting a model in the model picker (#1809) 2025-03-19 10:10:24 -04: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
878b3820d2
Settings tweaks: add terminal & language sections, fix whell scroll in editor tab (#1763) 2025-03-18 00:11:57 -07:00
Seth Miller
f16a49de87
Add text-to-speech functionality (#1412)
* Add text-to-speech functionality

* Add speed config option to text-to-speech

* Fix test case for tts speed slider

* Fix test case for tts speed slider (really)

* Disabled error message logging in tts.ts

* ignore markdown and mermaid diagrams in TTS

* add ttsEnabled and ttsSpeed to GlobalStateKey

* fix failing webview test for save button

* Translations

* Fix tests

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-18 01:47:16 -04: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
db618ce377 Localize the settings tab 2025-03-16 12:46:28 -04:00
Matt Rubens
9bbbaf2288 Add a new setting to control the number of workspace files included in the system prompt 2025-03-14 12:06:56 -04:00
Matt Rubens
a679c95412 Create new context management section in settings 2025-03-14 11:11:24 -04:00
cte
998cd3c32e Fix tests 2025-03-07 21:52:11 -08:00
System233
9ceccdec32 Fix: Custom temperature cannot be unchecked 2025-03-08 06:03:19 +08:00
cte
dd7d9824ba Fix tests 2025-03-05 12:28:17 -08:00
cte
e1ccb70269 Checkpoint storage setting + settings view redesign 2025-03-04 15:18:29 -08:00
Chris Estreich
31d2d17847 Fix maxTokens defaults for Claude 3.7 Sonnet models 2025-02-28 01:15:44 -08:00
cte
8cbce2ded0 Add provider-agnostic modelMaxThinkingTokens setting 2025-02-27 16:06:47 -08:00
Catalin Lupuleti
5eba1d53fb Added tests for Claude Sonnet Thinking 2025-02-27 22:15:17 +00:00
System233
1a3b8700ba Improved error message feedback in settings panel 2025-02-26 06:59:23 +08:00
System233
f065f039be Fixed the issue that Model ID cannot be saved 2025-02-26 06:58:17 +08:00
System233
eeb1e45907 Improve UI experience 2025-02-20 11:28:25 +08:00
System233
2036e84d9d Fix settings panel reset during state update 2025-02-20 10:28:23 +08:00
System233
7316f82838 Fix the DialogContent/DialogTitle error displayed in the console. 2025-02-18 01:14:47 +08:00
System233
c4465dee8a Revert "Make sure to blur fields when user hits Done in settings"
This reverts commit 2caa320fac.
2025-02-17 22:40:16 +08:00
Matt Rubens
f25fb35732 Hide custom temp on welcome view and make submit button more intuitive 2025-02-10 11:58:23 -05:00
Joe Manley
bcd54d5f78 Merge branch 'main' into temperature_control 2025-02-09 21:26:45 -08:00
Matt Rubens
2caa320fac Make sure to blur fields when user hits Done in settings 2025-02-10 00:09:03 -05:00
Matt Rubens
be9a90489a Change input from a slider to a text input 2025-02-09 23:13:37 -05:00
Joe Manley
e3fbfb7186 Add tests 2025-02-07 22:54:18 -08:00
Roo Code
85dacb03a3 Better UX for adding new API config profiles 2025-02-07 16:23:27 -05:00
Roo Code
0bc9e17c1a Better model picker 2025-02-07 12:25:52 -08:00
Roo Code
4948e52779 Jest fixes for webview-ui 2025-02-05 00:51:59 -08:00
sam hoang
12dd54671a refactor: migrate from CRA to Vite and improve testing
Replace Create React App with Vite build system
Add ESLint configuration and improve TypeScript types
Create VSCode UI component mocks for better testing
Update test files with proper async handling
Add Tailwind CSS integration
Fix accessibility by adding ARIA roles
2025-01-29 21:15:28 +07:00
Prathmesh Vhatkar
7e38e50d79
fix: Mock dropdown in tests correctly 2025-01-29 09:14:16 +05:30
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Matt Rubens
11612caac0 Just make a copy when adding a new profile 2025-01-08 00:01:39 -05:00
sam hoang
352f34d8ce feat: config manager using secret store 2025-01-07 20:09:55 -05:00
Matt Rubens
ff062c6e2e Allow selection of multiple browser viewport sizes and adjusting screenshot quality 2024-12-29 16:26:18 -08:00
Justin Quan
267fb441d9 fix all lint warnings 2024-12-16 15:12:49 -08:00
Justin Quan
5e771cf783 add volume slider tests 2024-12-15 23:44:50 -08:00
Matt Rubens
4b74f290d4
Play sound effects for notifications and events (#38)
Co-authored-by: HeavenOSK <heavenosk@gmail.com>
2024-12-01 22:25:10 -05:00
Matt Rubens
6b8f9f7a45
Expose a list of allowed auto-execute commands (#31) 2024-12-01 15:34:36 -05:00
John Stearns
3c8a9c09dd Add options to always approve write and execute operations 2024-11-01 13:38:47 -07:00