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): Remove ticks and display min-max labels in EuiDualRange slider #369

Conversation

deadlycoconuts
Copy link
Contributor

Context

Similar to caraml-dev/merlin#546 whereby the min-max replica slider bar has been slightly modified by removing the ticks to better accommodate larger ranges (e.g. 100 replicas), this PR makes similar changes to the Turing UI in order to keep the design of the resource request components similar in both Turing and Merlin.

New design of the resource requests component

Screenshot 2024-03-04 at 2 13 24 PM
Notice how the min and max values are now displayed as labels at the ends of the slider bar.

Changes

  • ui/src/router/components/form/components/ResourcesPanel.js - Removal of ticks and addition of min-max labels

@deadlycoconuts deadlycoconuts added the enhancement New feature or request label Mar 4, 2024
@deadlycoconuts deadlycoconuts self-assigned this Mar 4, 2024
Copy link
Contributor

@leonlnj leonlnj left a comment

Choose a reason for hiding this comment

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

thanks, lgtm

@deadlycoconuts deadlycoconuts merged commit 80ea310 into caraml-dev:main Mar 4, 2024
12 checks passed
@deadlycoconuts deadlycoconuts deleted the remove_ticks_in_replica_count_slider branch May 7, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants