Roo-Code/webview-ui
Chris Hasson 76cd5f1aec feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631)
* feat(settings): Introduce the "auto-approve request count" feature from Cline

This is the first minor UI feature I've added, so please let me know if I'm missing anything! (translations, organization, etc!)

Please see commits for details

introduce allowedMaxRequests to globalSettingsSchema
update ExtensionState and its context with allowedMaxRequests
implement UI for setting max requests in AutoApproveMenu component
prompt user when auto-approval limit is reached with i18n support
increment consecutiveAutoApprovedRequestsCount and reset upon user approval
add translations for auto-approved request limit reached prompt in multiple languages
add new UI for "auto_approval_max_req_reached" in ChatRowContent
display prompt with title, description, and button for user action

🔧 chore(gitignore): add .idea to .gitignore to exclude IDE-specific files
- remove .idea/workspace.xml to clean up repository

* 🔧 chore(gitignore): add IDE configuration files to ignore list

- add .idea directory to ignore JetBrains IDE configurations

* 🌐 i18n(chat): add translation keys for api request limit

- introduce translation keys for "title" and "unlimited" in multiple languages
- update description for api request limit in various languages

* 🌐 i18n(chat): migrate auto-approved request limit translations

- move translations from common.json to chat.json across locales
- update component to use Trans for dynamic text rendering

* Update the UI for setting max requests

* Hide the auto-approve limit warning once clicked

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-05-24 13:39:32 -06:00
..
.storybook Additional @shadcn/ui components 2025-02-14 23:41:39 -08:00
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-24 13:39:32 -06:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src feat(settings): Add allowedMaxRequests feature inspired by Cline (#3631) 2025-05-24 13:39:32 -06:00
.eslintrc.json fix: command validation failing on shell array indexing (#3530) 2025-05-24 13:39:24 -06:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
.npmrc Improved logic for auto-approving chained commands 2024-12-26 22:45:09 -08:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-24 13:39:26 -06:00
jest.config.cjs Fix linter warning + run prettier on everything (#3581) 2025-05-24 13:39:26 -06:00
package-lock.json feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-24 13:39:32 -06:00
package.json feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-24 13:39:32 -06:00
tsconfig.json build: enable source maps for improved debugging (#3596) 2025-05-24 13:39:27 -06:00
vite.config.ts feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-24 13:39:32 -06:00