Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): add button to go to model manager next to all model combobox #7904

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

psychedelicious
Copy link
Collaborator

Summary

  • Add a button to go to the model manager next to every model combobox.
  • Add onClickGoToModelManager prop to override what the button does. If this is provided, the button will render, even if the model manager is set as a disabled tab (the tab will not render).
  • Abstract out the workflow editor's model input field component. Previously every model field copied the same combobox components and there were subtle inconsistencies across them - now they are all identical (and have the model manager button).

Well, it turns out that is a crapload of added buttons. Too many? Maybe. Demo:

Screen.Recording.2025-04-09.at.4.33.00.pm.mov

Related Issues / Discussions

Offline discussion

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Apr 9, 2025
…ionality

If provided, `<NavigateToModelManagerButton />` will render, even if `disabledTabs` includes "models". If provided, `<NavigateToModelManagerButton />` will run the callback instead of switching tabs within the studio.

The button's tooltip is now just "Manage Models" and its icon is the same as the model manager tab's icon ([CUBE!](https://www.youtube.com/watch?v=4aGDCE6Nrz0)).
…undefined`

This fixes an issue where the refiner combobox doesn't clear itself visually when clicking the little X icon to clear the selection.
@psychedelicious psychedelicious force-pushed the psyche/feat/ui/go-to-mm-buttons-everywhere branch from 15b2cf7 to 09021df Compare April 14, 2025 10:07
@github-actions github-actions bot added the frontend-deps PRs that change frontend dependencies label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files frontend-deps PRs that change frontend dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant