- 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)
Battles
- Fix move types in battle controls
- Warn about Gen 1 Substitute self-KOs in tooltips
- Hide controls until animations are finished
Teambuilder
- Implement uploading teams
- Fix adding pokemon in teambuilder text mode
- Uploaded team management
- Automatic Atk/Spe IVs
- IV spread chooser also has an auto button
Trivial
- Constrain teambuilder width better
- support Boxes
- add visible indicator for uploaded teams
- also add share URL
- Validate button
- new shiny icon
- readonly mode
- fix crash when deleting last time
- redesign Details panel
- show Hidden Power type in Details box when relevant
- Undo Delete button in inner focus
- support Add Folder and Add Format Folder buttons
- add hover effects
- last time, hover effects had to be removed because of HTML5 drag
bugs. hopefully this time goes better.
- redesign the clutter at the end of the team
- Team drag and drop
- use buttons rather than divs
- testing on Firefox and Chrome did not reveal any bugs so hopefully
that's just fixed now.