-
Notifications
You must be signed in to change notification settings - Fork 1
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
[CM-1253] Add dim effect to buttons #7
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UPDATE] change opacity for disable button, updated images, updated test cases
948c765
to
576828d
Compare
mpospese
reviewed
Mar 21, 2023
mpospese
reviewed
Mar 21, 2023
WestonHanners
approved these changes
Mar 21, 2023
mpospese
approved these changes
Mar 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction
Buttons should be disable once reach to max or min value.
Purpose
Increment and decrement buttons should be disable when the current value is equal to maximum or minimum value respectively.
Scope
Disable functionality for increment and decrement button.
📱 Screenshots
Disable increment button. Max value is set to 10.
![Disable increment](https://user-images.githubusercontent.com/111066844/226526780-6290aa9b-f55d-4c45-94e5-4b1a8b2279c4.png)
Disable decrement button. Min value is set to 0.
![Disable decrement](https://user-images.githubusercontent.com/111066844/226526858-1d9365fe-3549-4766-b2cb-52aaa3eef35e.png)
📈 Coverage
Code
Code coverage is ~97.5%.
![Code coverage](https://user-images.githubusercontent.com/111066844/226527239-7567415c-fa7c-413c-9b47-3633d887245b.png)
Documentation
100% documentation of public APIs.
![Jazzy report](https://user-images.githubusercontent.com/111066844/226527277-90221db5-35d2-4ae0-9237-1d5adde8d9b5.png)