Commit graph

32 commits

Author SHA1 Message Date
Diarmid Mackenzie
43d1ab33da
Fix for focus grabbing when follow-up returns + Unit Test (#2263) 2025-04-03 12:38:17 -04:00
Kyle Hoskins
dc02bb2683
Enable model select when api fails (#2217)
* Enable model switching on API failure

Bug: Cannot change model selection after API error due to UI state #1657
UI Bug: OpenRouter ran out of credits prevents user from switching models #1206

* Remove irrelevant code
2025-04-02 11:36:51 -04:00
Matt Rubens
b0b4240c8b
Revert "feat @-mention window path style & file with space (#1924)" (#2162)
* Revert "feat @-mention window path style & file with space (#1924)"

This reverts commit c62e8f2ee2.

* Add changeset
2025-03-31 15:56:47 -05:00
Sam Hoang Van
c62e8f2ee2
feat @-mention window path style & file with space (#1924)
* feat @-mention window path style & file with space

* Update src/core/mentions/index.ts

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-03-27 00:10:06 -04:00
Matt Rubens
1810efe496
Additional checkbox for auto-approving reads and writes outside of the workspace (#1965) 2025-03-25 01:35:33 -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
aheizi
251b83629a feat: add shortcut to switch modes 2025-03-01 22:58:55 +08:00
Matt Rubens
a4e58700ce Support multiple files in drag-and-drop 2025-02-26 16:04:32 -05:00
Roo Code
4948e52779 Jest fixes for webview-ui 2025-02-05 00:51:59 -08:00
Matt Rubens
70ad037016 Fix tests 2025-02-01 12:21:13 -05:00
Matt Rubens
90ba9e18e1 Remove annoying test 2025-02-01 11:16:38 -05:00
sam hoang
f906755d90 feat: add setting to enable/disable MCP server creation
- Add enableMcpServerCreation setting to control whether MCP server creation is allowed
- Add UI toggle in settings view for this feature
- Update system prompt to conditionally include MCP server creation documentation
- Add tests for new functionality
2025-02-01 09:34:53 +07:00
Matt Rubens
9aeb498f99 Add optional rate limiting between API calls 2025-01-31 16:44:32 -05: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
MFPires
b3be00c050 feat: Add auto-approval for mode switching
Implements automatic approval for mode switching operations when enabled, following
existing auto-approval patterns in the codebase.

Implementation:
- Added `alwaysAllowModeSwitch` to state management
- Updated `isAutoApproved` function in ChatView to handle mode switch requests
- Added mode switch option to AutoApproveMenu with appropriate handler
- Integrated with existing auto-approval flow

Tests:
- Added three test cases in ChatView.auto-approve.test.tsx:
  1. Verifies mode switch auto-approval when enabled
  2. Verifies no auto-approval when mode switch setting is disabled
  3. Verifies no auto-approval when global auto-approval is disabled

The implementation follows existing patterns for other auto-approve features
(read, write, browser, etc.) to maintain consistency in the codebase.
2025-01-28 01:20:19 -03:00
sam hoang
f86e96d157 refactor: separate mode and support prompts
- Rename customPrompts to customModePrompts for mode-specific prompts
- Add new customSupportPrompts type for support action prompts
- Update types to be more specific (CustomModePrompts and CustomSupportPrompts)
- Fix all related tests and component implementations
2025-01-24 01:46:33 +07:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Matt Rubens
72fe12d096 Refactor modes 2025-01-17 10:03:23 -05:00
Matt Rubens
ee344facda Fixes to the auto approve menu 2025-01-16 03:42:38 -05:00
Matt Rubens
b65c8d0ec6 Customize for Roo 2025-01-15 23:48:53 -05:00
Matt Rubens
75e308b033 Add a screen for custom prompts 2025-01-13 22:45:14 -05:00
Matt Rubens
344c796f2e Chat modes 2025-01-12 13:11:52 -05:00
Matt Rubens
d1e305f30c Remove eslint-disable, forbid it in .clinerules 2024-12-28 21:58:16 -08:00
Matt Rubens
111abdbb2c Enhance prompt button for openrouter 2024-12-28 15:44:14 -08:00
Matt Rubens
91399c9f61 Fix bug with auto-approving commands 2024-12-26 21:25:14 -08:00
John Stearns
1e83d1a835
Improved regex for auto-execution of chained commands (#158)
* Improved regex for auto-execution of chained commands
2024-12-17 15:15:28 -08:00
Justin Quan
efdc3a8639 ChatView tests 2024-12-16 00:26:00 -08:00
Matt Rubens
6b8f9f7a45
Expose a list of allowed auto-execute commands (#31) 2024-12-01 15:34:36 -05:00
Matt Rubens
6fed90805a
Add a few more read-only operations (#25) 2024-11-29 12:35:33 -05:00
Matt Rubens
d632e621be
Simplify auto-approving code and make it work better with browser actions (#21) 2024-11-28 13:44:02 -05:00
John Stearns
aecbde845e Improving test coverage 2024-11-05 16:55:57 -08:00
John Stearns
f73ffd9ea7 Adding a terminate task button to quit and restart 2024-11-05 14:40:03 -08:00