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 out of sync details to default settings button #7188

Merged
merged 7 commits into from
Oct 25, 2024

Conversation

maryhipp
Copy link
Collaborator

Summary

If a model does not have default settings, disable button with tooltip detailing where to find them.

Screenshot 2024-10-24 at 3 00 46 PM

If a model does have default settings and all generation settings are in sync, disable button with tooltip telling them that

Screenshot 2024-10-24 at 3 02 29 PM

If a model does have default settings and any generation settings are out of sync, make it orange with tooltip listing which settings are out of sync

Screenshot 2024-10-24 at 2 59 57 PM

Related Issues / Discussions

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@maryhipp maryhipp changed the title feat(ui): add out of sync details tp default settings button feat(ui): add out of sync details to default settings button Oct 24, 2024
@github-actions github-actions bot added the frontend PRs that change frontend files label Oct 24, 2024
Mary Hipp and others added 7 commits October 25, 2024 15:07
Using `&&` will result in false negatives for settings where a falsy value might be valid. For example, any setting for which 0 is a valid number. To be on the safe side, just use an explicit null check on all values.
A blue button is begging to be clicked, but clicking it will do nothing. Instead, we should communicate that no action is needed by disabling the button when the default settings are already in use.
@psychedelicious psychedelicious force-pushed the maryhipp/warn-out-of-sync-default-settings branch from 77f5e1e to eeb064b Compare October 25, 2024 05:08
@psychedelicious psychedelicious enabled auto-merge (rebase) October 25, 2024 05:08
@psychedelicious psychedelicious merged commit fe97c0d into main Oct 25, 2024
14 checks passed
@psychedelicious psychedelicious deleted the maryhipp/warn-out-of-sync-default-settings branch October 25, 2024 05:10
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants