Update comments

08/22/17: Type Filtering

I've added filtering by type to the Favorite Pokémon Picker, by popular demand. In the process, I also made several other refinements:

  • It's now easily possible for casual users to finish sorting every single Pokémon in the available list (since with the generation and type filters you can end up with quite a short list), so I actually made the interface account for that, explain that you've finished and let you reset, instead of everything just locking up suddenly.
  • Somewhat similarly, I made it so that in those (previously rare) situations where you would previously have been given one single Pokémon which you had to pick (at which point it would automatically go into your Found Favorites), it'll automatically figure it out and just add that Pokémon to your list too. This is functionally identical, just less confusing interface-wise.
  • You can now uncheck every generation/type, and it will just show a notice explaining that no Pokémon fit your criteria. Previously, it somewhat clumsily just didn't let you uncheck the last box.
  • Alongside all this, I also significantly refactored some of the code in order to make it a bit more robust and easier to add more options in the future.

As with any significant code restructuring, it's possible there are bugs; I've tested it a fair bit, but as always, if you spot any odd behaviour, please let me know.

Comment on this - View comments

Post comment

Rude, offensive or otherwise inappropriate messages, including drama, controversy or other topics that might make others uncomfortable, will be deleted on sight. Repeat troublemakers will be banned altogether. Please keep any websites entered into the website field reasonably family-friendly. You can use BBCode (forum code) to format your messages.

  • [b]Bold[/b]
  • [i]Italic[/i]
  • [u]Underlined[/u]
  • [s]Strikethrough[/s]
  • [url=http://www.dragonflycave.com]Link[/url]
  • [spoiler]Spoiler[/spoiler]
168 Fun fact: The above sprite has a 1/8192 chance of being shiny. Feel free to brag if you get one.

Comments

No comments on this update as of yet. Post one?

Page last modified April 17 2018 at 22:56 GMT