-
Notifications
You must be signed in to change notification settings - Fork 18
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
363: Selects the next non-hidden category to display when the currently-displayed category is hidden #533
Conversation
…splayed category is hidden
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some automated test cases for this new logic to PresetsViewModelTest
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As huddled on, please add some test cases to PresetsViewModelTest
. Once we have those, decide if you think the UI automation is still valuable, considering that it can be more costly to run and maintain.
category | ||
) | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heck yea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THESE 👏 ARE 👏 SO 👏 GOOD
category = it | ||
} | ||
} | ||
job.cancel() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just brought in Turbine to make this less obnoxious, could be fun to refactor this later and see how much nicer turbine makes things
Description:
When a user hides the currently-displayed category, looks for and select the next non-hidden category. Displays the Category label and Phrases of the newly-selected, non-hidden category.
Defaults to looking for the next non-hidden category to the "right".
Addresses #363