Skip to content

Conversation

@brunobergher
Copy link
Collaborator

@brunobergher brunobergher commented Sep 11, 2025

Description

Makes the auto-approve less prominent, less noisy and a bit more scalable, in an effort to make the overall UI cleaner.
Changes in functionality:

  • Global checkbox is gone
  • But there are new All/None buttons which handle most of what that aimed to solve

The buttons may still be a bit too loud, but I'll consider that later.

Test Procedure

  1. Open the extension
  2. Click on the auto-approve dropdown in the bottom
  3. Try different states

Screenshots / Videos


Important

Replaces AutoApproveMenu with a more subtle AutoApproveDropdown in the chat UI, enhancing functionality and updating translations across multiple languages.

  • UI Changes:
    • Replaces AutoApproveMenu with AutoApproveDropdown in ChatTextArea.tsx and ChatView.tsx.
    • Removes AutoApproveMenu.tsx and its test AutoApproveMenu.spec.tsx.
    • Updates ApiConfigSelector.tsx to adjust styling for the new dropdown.
  • Functionality:
    • Adds AutoApproveDropdown component with select all/none functionality in AutoApproveDropdown.tsx.
    • Removes global checkbox, adds "All/None" buttons for selection.
  • Translations:
    • Updates translation files for auto-approve related strings in multiple languages including ca, de, en, es, fr, hi, id, it, ja, ko, nl, pl, pt-BR, ru, tr, vi, zh-CN, zh-TW.
  • Misc:
    • Adjusts layout in ChatTextArea.tsx for better integration of the new dropdown.

This description was created by Ellipsis for e8d1585. You can customize this summary. It will automatically update as commits are pushed.

brunobergher and others added 15 commits September 8, 2025 14:22
…#7783)

Fixes #7703 - CodeBlock language dropdown and copy button were appearing above popovers due to z-index: 100. Reduced to z-index: 40 to maintain proper layering hierarchy while keeping buttons functional.
…or chat messages (#7790)

* feat: add click-to-edit, ESC-to-cancel, and fix padding consistency

- Enable click-to-edit for past messages by making message text clickable
- Add ESC key handler to cancel edit mode in ChatTextArea
- Fix padding consistency between past and queued message editors
- Adjust right padding for edit mode to accommodate cancel button

Fixes #7788

* fix: adjust padding and layout for ChatTextArea in edit mode

* refactor: replace hardcoded pr-[72px] with standard Tailwind pr-20 class

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Bruno Bergher <[email protected]>
Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
feat: add taskSyncEnabled to userSettingsConfigSchema

Co-authored-by: Roo Code <[email protected]>
chore: bump version to v1.75.0
Copy link

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I've reviewed the changes and found that this successfully makes the auto-approve UI more subtle and scalable. The removal of the global checkbox in favor of All/None buttons is a good UX improvement.

Suggestions for Improvement:

  1. Translation consistency: The pt-BR locale uses "YOLO" for triggerLabelAll while all other locales use proper translations. While it adds personality, it might be worth keeping translations consistent for a professional UI.

  2. Accessibility enhancement: Consider adding aria-describedby attributes to the All/None buttons (around lines 262-299) to better communicate their purpose to screen reader users.

  3. Code duplication: The All/None button styles (lines 266-276 and 285-295) are identical. Consider extracting them into a shared constant or utility class to reduce duplication.

  4. Test coverage: Consider adding unit tests for the new AutoApproveDropdown component to verify toggle behavior, All/None button functionality, and proper state management.

Overall, this is a clean implementation that achieves the goal of making the UI cleaner and more scalable. Great work!

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 11, 2025
@brunobergher brunobergher marked this pull request as ready for review September 11, 2025 12:05
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. UI/UX UI/UX related or focused labels Sep 11, 2025
"disabledAriaLabel": "Aprovação automática desativada - selecione as opções primeiro"
"disabledAriaLabel": "Aprovação automática desativada - selecione as opções primeiro",
"triggerLabel_zero": "Nenhuma aprovação automática",
"triggerLabel_one": "1 aprovado automaticamente",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical note: There appears to be a gender inconsistency here. Given that other strings use the feminine form (e.g., "Nenhuma aprovação automática"), consider using "1 aprovada automaticamente" instead of "1 aprovado automaticamente".

Suggested change
"triggerLabel_one": "1 aprovado automaticamente",
"triggerLabel_one": "1 aprovada automaticamente",

"disabledAriaLabel": "Aprovação automática desativada - selecione as opções primeiro",
"triggerLabel_zero": "Nenhuma aprovação automática",
"triggerLabel_one": "1 aprovado automaticamente",
"triggerLabel_other": "{{count}} aprovados automaticamente",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical note: For consistency with the feminine form used elsewhere, consider changing "{{count}} aprovados automaticamente" to "{{count}} aprovadas automaticamente".

Suggested change
"triggerLabel_other": "{{count}} aprovados automaticamente",
"triggerLabel_other": "{{count}} aprovadas automaticamente",

This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX.

"selectOptionsFirst": "請至少選擇以下一個選項以啟用自動批准",
"toggleAriaLabel": "切換自動批准",
"disabledAriaLabel": "自動批准已禁用 - 請先選擇選項",
"triggerLabel_zero": "無自動核准",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical consistency: In the autoApprove section, the title and several labels use ‘自動批准’ while the trigger labels (triggerLabel_zero, triggerLabel_one, etc.) still use ‘自動核准’. It would be more consistent to update these trigger labels to '自動批准' unless there’s an intentional difference.

Suggested change
"triggerLabel_zero": "無自動核准",
"triggerLabel_zero": "無自動批准",

This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX.

@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer PR - Needs Review size:XL This PR changes 500-999 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

9 participants