- Don't cut off joinLeave batch for uhtml changes
- Don't autoclose expired rooms
- Fix crash when importing/exporting certain teams
- Fix room focus when closing popups
- Don't highlight for `/uhtml` and `/uhtmlchange`
- Correctly detect Doubles formats
- Add better notes about what is useful vs not
- Leaf Blade: gen 3 -> all gens
(pretty sure this was just a mistake)
- Barrier: gen 1 -> useful in all gens
(outclasses Iron Defense, outclassed by Acid Armor)
- Thunder, Toxic: gen 2+ -> all gens
- Quick Attack: gen 1 -> useful in all gens
- Vacuum Wave: useful
- Mirror Coat: match Counter
- Decorate, Snarl: useful in Doubles
- BP 60 moves: useful with Technician
- Hidden Powers: fix bug
(unless otherwise specified, reasoning is: we do not judge metagames)
Many of these were suggested in the thread:
https://www.smogon.com/forums/threads/move-category-suggestions.3671530/
* Add animation for Hard Press
* Satisfy linter
* Balls fall into place, add time before balls drop and attacker charges
* Reduce delay between balls falling and defender being crushed
- Rename to "Client rewrite" in UI
- As we gear up for release, I don't want people to call it Preact
too much, because that's the name of the UI library we use whose
reputation shouldn't be affected by this too much.
- Give DM windows flex height
- Fix reconnect flow
Trivial
- Fix mistake in join/leave batching
Scrollable width is now set on `<html>` (and is inherited by `<body>`).
It's my hope that this fixes some scroll snap bugs on mobile.
We're also now looking at pointer events to decide whether to autofocus
text boxes.
Fixes#2419
- Refactor PS.send
- No longer wants the leading `|` (omitting it is a common bug),
making it work more like `room.send`.
- Intercept links to teams and replays
- Support replay fallback if battle room not found
- New CopyableURLBox (for replays and teams)
Teambuilder
- Select species/ability/item/move text when clicking into them
- (Regression from the upload button leak fix)
- Don't let nicknames stop us from detecting teams unchanged since
upload
- "Compare" button for comparing local vs uploaded team
- "Revert" button for reverting to uploaded team
- View team page
- Hide extraneous buttons from gen 1-2
- Improve right-click and left-click behavior on import/export screen
Trivial
- `readonly` -> `readOnly` on TeamEditor, to match JSX
- Refactor `connected`
- Fix "Dynamax Level 10" appearing on imported teams
Previously, compound words (for dex searching) were hardcoded into
`build-indexes`. This moves them to server's data/aliases, where it
should be easier for people to see when they're updating aliases.
* Make link import change team title & format
* Also adds a placeholder msg to the team textbox.
---------
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
- Tab complete can now complete offline users
- This actually improves performance, too, because the userlist is
now cached instead of needing to be re-sorted every update.
Battles
- Add `aria-disabled` to "disabled" buttons
- Make disabled buttons look more disabled
Teambuilder
- Textbox mode: Fix inner focus location when adding first pokemon
- Fix species display in certain cases
- Consistently use Dex.resourcePrefix for icons for testclient support
- Fix Rooms state when pressing Enter after searching
- Fix (workaround, but still) opening popups on testclient
- Fix team menu in challenge/search
- Change "Preact Alpha" to "Preact Beta"
- Support side servers
Teambuilder
- Fix Upload button and teambuilding links leaking through focus editor
- Use `inputmode="numeric"` for better number keyboard in phones
- You can't type `+` or `-` on EVs on phones, but oh well, the Nature
dropdown is good enough. I think it's worth it for easier EV inputs.
Trivial
- Align main menu battle search labels to the left
- Fix flicker when searching Rooms
- Hide "Open battles in right panel" option when it doesn't do anything
- Get rid of PSTeambuilder.*packTeam/export* in favor of Teams
Battles
- Fix render issues on mobile layout
- Fix join/leave batching
- Support disabled buttons
Teambuilder
- Redesign upload UI to be clearer
- Support scrolling tab bar for Boxes in focus editor
- Don't overwrite local team with remote team
- Improve Defensive Coverage ability support
- Support importing from pokepaste (fixes#2422)