Freezard / hs-collection-tracker

Tracks your Hearthstone card collection.
https://hs-collection-tracker.glitch.me/
17 stars 6 forks source link

"Standard" filter on Tracker tab #50

Closed Leonix closed 8 years ago

Leonix commented 8 years ago

This adds a "Standard" filter button on Tracker tab. Partially addresses #47. Preview here: http://leonix.github.io/hs-collection-tracker/

I managed to implement this without much pain. I did not add any pseudo-sets. In fact, no global vars are affected. Filtering is done on-the-fly using existing data structures.

Same approach didn't work for Progress tab, though. No idea how to handle that.

I'm not sure if this PL should be merged as is. That's up to Freezard. I use it myself and find it better than nothing. It's posted here in hope that it may be somehow useful for real actual filter implementation in future.

Freezard commented 8 years ago

I will merge it but right now there's no standard so it would be kinda weird without WotOG. Also I would like to add a drop-down button in the filter bar which contains all the non-standard sets, to save space for other stuff like a search function. But for now I can add standard to progress and your filter button and then update.

Anyway thanks for the code, currently working on converting the site to Node js so that I can add saving to database and exporting collections to the public and such, will see how that goes.