mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-26 01:57:21 -05:00
|
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Minor
- Unhide right panel when choosing "Two panels" layout option
- Refactor focusing
- Correctly focus next room when closing currently active room
- Correctly focus room when joining new room
- Use strict mode on all compiled files
- Fix router when started on `/` (it previously required starting on a
non-empty room ID, which wasn't noticeable back when the URL needed
to be `/preactalpha`)
- Update teambuilder sidebar CSS, to make it easier to add regular text
- This is mainly for the "Tournaments" button in the main menu,
which shares the CSS
- Fix new tournament elim tree text in Safari
- Update new tournament elim tree highlighted links to reliably
link every still-playing game
- Remove latest gen from format name displays everywhere
- Previously, they would only be removed from the format dropdown,
but now they're also gone from the Ladder tab, battle tabs, and
`/rank`
- Support async d3 loading
- This allows chatrooms to be loaded way before all our dependencies
are fully downloaded
- Remove "[Gen 9]" from format names everywhere (previously it was only
removed from the format dropdown)
- Also add "[Gen 6]" to unlabeled formats in `/rank` (Gen 6 was the
last time we didn't have format generation as part of format names)
Trivial
- Stricter JSX linting
- (unfortunately, most of the JSX style enforcement I actually want
isn't possible in @stylistic)
- Make room.subscribeTo's second parameter optional
- Rearrange and comment loading order
- Rename hiddenInit -> focusNextUpdate (clarity)
- Rename PSMain -> PSView (clarity)
- Fix button spacing in Change Password
- Add `touch-action: manipulation` to <a> tags
- Refactor `nodeSize` in elim tour trees
|
||
|---|---|---|
| .. | ||
| src | ||
| theme | ||
| .htaccess | ||
| 404.html | ||
| apple-touch-icon.png | ||
| check-login.php | ||
| dirindex | ||
| download.html | ||
| favicon.ico | ||
| index.template.php | ||
| README.md | ||
| replay-manage.php | ||
| replay.log.php | ||
| replays.lib.php | ||
| testclient.html | ||
PS replays database
This is the code powering https://replay.pokemonshowdown.com/
JSON API
The replays database has a JSON API, documented at:
https://github.com/smogon/pokemon-showdown-client/blob/master/WEB-API.md
Testing local changes
We now have a testclient.html for testing local changes.
npm install<- you only have to do this the first time./build- open
testclient.htmlin a browser.
And then repeat every time you make changes.
Features requiring login (private replay search, auto-self) won't work, but everything else should.