Skip to content

Conversation

@urmauur
Copy link
Member

@urmauur urmauur commented Aug 7, 2025

Describe Your Changes

This pull request simplifies the DropdownControl component by removing the recommended option tooltip and instead displays the recommended backend directly in the provider settings details. The changes improve clarity for users by making the recommended backend more visible and reduce unnecessary UI complexity in the dropdown.

UI simplification and clarity:

  • Removed the tooltip and star icon for recommended options from the DropdownControl dropdown menu, eliminating extra UI elements and related imports. [1] [2]
  • Removed the recommended prop from the DropdownControl component, streamlining its props.

Improved recommended backend visibility:

  • Added a direct visual indicator for the recommended backend in the provider settings detail view, showing the recommended value below the description when applicable.
  • Updated the description rendering in the provider settings detail to support additional UI elements, allowing the recommended backend message to be displayed.

Fixes Issues

Screenshot 2025-08-07 at 19 59 18
  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Important

Simplifies UI by removing recommended option tooltip from dropdown and displaying recommended backend in provider settings.

  • UI Simplification:
    • Removed tooltip and star icon for recommended options in DropdownControl.tsx.
    • Removed recommended prop from DropdownControl.
  • Backend Visibility:
    • Added recommended backend display in provider settings in $providerName.tsx.
    • Updated description rendering to include recommended backend message.
  • Type Updates:
    • Added recommended field to ControllerProps in modelProviders.d.ts.

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

@urmauur urmauur added this to the v0.6.7 milestone Aug 7, 2025
@urmauur urmauur self-assigned this Aug 7, 2025
@urmauur urmauur added this to Jan Aug 7, 2025
@urmauur urmauur modified the milestones: v0.6.7, v0.6.8 Aug 7, 2025
@urmauur urmauur moved this to Needs Review in Jan Aug 7, 2025
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to 5dd42dd in 1 minute and 30 seconds. Click for details.
  • Reviewed 127 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. web-app/src/containers/dynamicControllerSetting/DropdownControl.tsx:1
  • Draft comment:
    Good cleanup: Removed unused tooltip imports and star icon rendering. Ensure that any prop related to 'recommended' is fully deprecated here.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. web-app/src/routes/settings/providers/$providerName.tsx:411
  • Draft comment:
    Inline extraction of the backend name using .split('/').pop() works but may misbehave if the format changes. Consider adding a comment or refactoring for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
3. web-app/src/types/modelProviders.d.ts:4
  • Draft comment:
    Added optional 'recommended' field to ControllerProps. A brief JSDoc note on its expected format would improve clarity.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_RnEYUWAyBGrW8IQD

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@urmauur urmauur merged commit 4d67418 into dev Aug 7, 2025
17 checks passed
@urmauur urmauur deleted the fix/recommended-label branch August 7, 2025 15:14
@github-project-automation github-project-automation bot moved this from Needs Review to QA in Jan Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants