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: NumberControl stories #21

Closed
wants to merge 46 commits into from

Conversation

NathanFarmer
Copy link
Contributor

Add Storybook stories for NumberControl

@NathanFarmer NathanFarmer self-assigned this Mar 4, 2024
@NathanFarmer NathanFarmer changed the base branch from main to f/FE-48/number-renderer March 4, 2024 18:05
@NathanFarmer NathanFarmer marked this pull request as ready for review March 5, 2024 16:39
@NathanFarmer NathanFarmer changed the base branch from f/FE-48/number-renderer to f/FE-48/number-renderer-tests March 5, 2024 16:55
@NathanFarmer NathanFarmer marked this pull request as draft March 5, 2024 17:02
@NathanFarmer NathanFarmer marked this pull request as ready for review March 5, 2024 18:51
@NathanFarmer NathanFarmer marked this pull request as draft March 5, 2024 18:52
@NathanFarmer NathanFarmer marked this pull request as ready for review March 5, 2024 19:42
Base automatically changed from f/FE-48/number-renderer-tests to main March 6, 2024 14:11
if (isPercentage) {
return `${decimalToPercentage(value || initialValue)}%`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Found a bug where falsy zero caused the initialValue to show in the slider tooltip when you slid over zero.

@NathanFarmer
Copy link
Contributor Author

Due to refactoring, I am moving these stories into another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant