This rounds out all the data files the client needs from the server, so
there's now no longer any need to manually copy files from the server
data directory to the client.
Moved the pokemon down and the clear button up so that it better fits with the new folders
Change the clipboard design
Move the title and paste button.
Past gen pokemon/moves/items in the teambuilder now display past gen
stats and descriptions.
This in theory completely finishes up past gen support for the teambuilder.
- Gen 1-2 DVs are now shown properly as a 1-15 range.
- Gen 1-2 no longer display a total EV count.
- Fix an alignment issue with gen 1 calculated stats
This also adds a cached learnset format to teambuilder-tables.js,
which replaces and is slightly smaller than learnsets.js and also
has slightly better performance.
This is a large collection of changes that greatly improve past gen
support in the teambuilder.
- Tier lists are now compiled separately from each gen (build-indexes
is really slow about this, which isn't particularly surprising),
as well as for Doubles.
- Learnsets are now compiled separately from each gen. TODO: make an
optimized learnsets.js with gen 1-2 support for client.
- Types in the pokemon list now account for old gens.
- Abilities no longer display in the pokemon list in gen 1-2
- SpA/SpD are replaced by Spc in the pokemon list in gen 1
Also included: A small optimization to the number of DOM nodes for the
teambuilder display, which should improve performance.
The search.find() and search.all() functions have been merged.
search.find() now finds "all" results, not just the first 20. It's now
also much more thoroughly commented.
In addition to showing all results, this rewrite makes the following
changes:
- Search aliases! Acronyms can be used for anything (so typing in 'ao'
matches "Adamant Orb"), and subwords can be searched (so typing in
'berry' gives a list of all berries). Subwords and acronyms will
always appear below prefix matches.
Note: we have no plans to add back support for arbitrary substring
matching. It's ridiculously esoteric and the acronym support should
be enough.
- Instafilter! If you type enough characters to make it clear what you
want to filter by, the filtered results will appear without you
needing to press Enter or click the filter. This is useful because
filters are no longer at the top of the list and can be annoying to
click.
- Moves are now always above filters when searching moves. Legal moves
are now always above illegal moves.
- On-demand rendering-to-DOM has been tweaked to be faster and more
on-demand.
- Miscellaneous bugfixes to search results.