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

Enhancements to load time filtering and favorites #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yinzara
Copy link

@yinzara yinzara commented Dec 29, 2013

Features added:

  1. "Favorite" filter button
  2. Load time detection of filters

Since quickfilter doesn't work when only showing favorites, it made
sense to have an easy way to do that.

I shrunk the current breed filter buttons slightly to fit an extra
button at the end.  It uses the "Star" favorites icon and reads your
current "favorites filter" state when loaded.
Since filtering state is saved between reloads, it makes sense to set
the filters status according to the current filters state.

This fix reads the state of the filter at load time and sets the buttons
accordingly.  If all pet types are currently not filtered (i.e. all pet
types are showing) we update the ui to not show any filter.
Since many times favorites are used to store pets the user would like to
level, I've enhanced the new "Favorites" button to swap your sort order
when you right click it (as well as swap your favorites).  This allows
you to quickly see your low level favorite pets or high level favorite
pets quickly.
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.

1 participant