Commit Graph

35 Commits

Author SHA1 Message Date
Guangcong Luo
ae69319e63 Preact minor updates batch 25
- Fix various reconnect bugs
- Move table styling to battle-log
- Fix highlighting bugs
- Bump cookie expiration another month

Trivial
- Fix rounding in build time
- Fix left border in vertical tabs dark mode
- Improve README wording
2025-06-02 15:20:48 +00:00
Guangcong Luo
d1359c3c04 Preact minor updates batch 24
- 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
2025-05-26 05:50:16 +00:00
Guangcong Luo
e5c25bbb97 Preact minor updates batch 17
Teambuilder
- Show "EVs" when a set has no EVs, so it's clear what the Stats button
  is for
- Fix dragging slider clearing Nature
- Fix teams not being clickable on iOS
- Minor layout tweaks
- Use four moves on compat mode exports, too

Minor
- Add a "PSIcon" component
- Update README
- Fix Team Preview in doubles/etc
- Fix move choice preview
- Fix `/avatar`
- Fix display of formats with custom rules in the format dropdown
- Support "Register" button from winning a battle
- Support "More" button from `/rank`
- Fix target choosing in multi battles
- Fix switching in more slots than unfainted pokemon (in doubles+)
- Add `/senddirect` command to bypass client command parser
- Fix notifications for mini-rooms (they should highlight the mainmenu
  tab)
- Set tooltip long-tap delay to 1 second, to make it harder to
  accidentally long-tap

Trivial
- move FormatResource stuff out of teamdropdown
- refactor battle-choices a little
- make team tabs less tall in teambuilder wizard individual set view
- support `/choose default` or `/choose auto`
2025-05-06 15:59:06 +00:00
Guangcong Luo
bee9e8e629 Preact minor updates batch 15
Minor
- Fix `/help` for server commands
- Fix multiline DMs
- Redesign collapsed userlists
- Refactor topbar to use display:table and inline-blocks, instead of
  floats and manual margin calculations
  - I nearly used flexbox, but fake tables work just as well so I
    figure why not. The old client actually manually calculates margin
    to do the thing where the right tabbar expands to the right and
    then to the left and it's nice to not to need that anymore.
- Document `.gray` in STYLING
- Convert all buttons that make sense as links to <a class="button">
  - That would be all the main menu links, plus the
    usercount/battlecount in Rooms.
- Fix dismissing popups in iOS Safari
- Add an icon for being disconnected

Trivial
- Fix stars in the old client format dropdown
- Use "Cmd" instead of "Ctrl" on Macs in the chat formatting panel
- Fix some code style in panel-popups
- Update supported browser list in README
- Add Preact keys where they make sense
  - For the most part I think requiring keys is too strict. I still
    think they're unnecessary or actively detrimental for any list
    that isn't long/complex and also rearranged ever.
- ESLint: Set no-shadow to warn
2025-04-25 11:38:45 +00:00
Guangcong Luo
9040d41fb3 Improve testclient-key retrieval
Chrome makes it much harder to grab keys now. I've set up a way to
make it easy (since we're going to be doing it once a week).

Chrome did make it hard on purpose, so I'm a little paranoid, but
I think probably these warnings will be enough. If we develop a
phishing problem I'll revisit this.
2025-04-13 08:12:44 +00:00
Guangcong Luo
2ce8d639b8
Update required Node version 2021-06-06 07:38:17 -07:00
PartMan
040576be23
Fix typo in README (#1768)
Remove codeblock highlight from the word 'file'
2021-04-30 00:46:32 -07:00
Guangcong Luo
fe0c919709 Add browser support section of README
(This is being moved from the server README where it doesn't really
belong.)
2020-10-29 13:17:34 +00:00
Guangcong Luo
71495d7faf Improve testclient key documentation 2020-03-19 21:28:18 -07:00
Kirk Scheibelhut
6b3820f523
Backport the Preact testclient's login method (#1471) 2020-03-07 20:45:25 -08:00
Guangcong Luo
3cd987b7dc
Update licensing information 2019-06-13 11:46:30 +09:00
Kirk Scheibelhut
74941fde52 Update README testclient instructions (#1249) 2019-03-12 13:11:50 -07:00
Guangcong Luo
1a3e03bff6 Bump Node version requirement to 10
Apparently assert.strict doesn't exist on Node 8.
2018-10-16 03:52:16 -05:00
Guangcong Luo
9bf108dad8
Clarify README Warning 2018-09-02 01:12:40 -05:00
Guangcong Luo
26bd0e6b05 Document new build process 2018-05-17 11:52:32 -05:00
Guangcong Luo
82e7a917ab Move session library inside repository
For too long, ntbb-session and ntbb-database have been maintained
outside of this repo, but no longer! All these files are now part of the
repository, making it significantly more self-contained.

If I had to say why it took this long, I think it was mostly inertia. It
was easier leaving them where they were than having to audit them for
private keys in the wrong places, etc.

I'm starting to think of PS more as sim first, website secondary than
the other way around, now. Especially now that we don't have a forum,
the website itself isn't really important... Maybe one day I'll get rid
of the landing page and make the sim itself the first thing you see when
you hit pokemonshowdown.com... but today is not that day!

The repo is still not "batteries-included" since I am not going to teach
anyone how to set up PHP and MySQL or even get the config files working.
But for anyone who wanted their own client, well, it gets a lot easier
to do now.
2016-10-20 13:16:06 -04:00
panpawn
98c76d37d2 README: Add Dex to Navigation section (#769) 2016-10-02 22:19:24 -07:00
Guangcong Luo
1cb32b2153 README: Improve links and intro
A slight reword of the intro, and a navigation bar above the intro to
quickly jump to the server repo or PS main.
2014-06-19 01:41:27 -05:00
Cathy J. Fitzpatrick
1414eaa994 Support the ladder room in testclient.html 2013-05-25 00:41:27 -06:00
Cathy J. Fitzpatrick
8b95302e97 Update information on what testclient.html supports 2013-05-25 00:29:22 -06:00
Cathy J. Fitzpatrick
842b9411cc Spell Pokémon with an acute e in README.md 2013-04-27 02:09:35 -06:00
Cathy J. Fitzpatrick
5261dc9478 Revert "testclient.html is no longer necessary"
This reverts commit d22a87872c.
2013-04-18 04:20:49 -06:00
Cathy J. Fitzpatrick
d22a87872c testclient.html is no longer necessary 2013-04-17 17:31:38 -06:00
Cathy J. Fitzpatrick
6ed5c51aeb Add query string syntax to testclient.html 2013-02-20 03:55:26 -07:00
Cathy J. Fitzpatrick
58600066de Revise list of what works in the testclient 2013-02-08 05:32:21 -07:00
Cathy J. Fitzpatrick
d14bfd7aa2 Revise README.md for new testclient.html 2013-02-08 04:20:16 -07:00
Cathy J. Fitzpatrick
44b5f3cde0 Really fix link 2013-02-03 04:34:58 -07:00
Cathy J. Fitzpatrick
a01337d134 Fix link in README.md 2013-02-03 04:32:18 -07:00
Cathy J. Fitzpatrick
07fd44afb7 Update link in URI 2013-02-02 19:43:34 -07:00
Cathy J. Fitzpatrick
676df137c5 Update link in README.md 2013-01-30 07:06:34 -07:00
Guangcong Luo
d9c2d8c757 Clarify what's usable with testclient.html 2013-01-23 18:18:25 -08:00
Guangcong Luo
8c80a318ac Rephrase README a bit 2013-01-23 17:45:26 -08:00
Guangcong Luo
e4bde150e0 Add support for a test client 2013-01-23 17:45:03 -08:00
Guangcong Luo
b16c1527da Populate with current state of client 2013-01-23 16:39:14 -08:00
Guangcong Luo
1f699b56c9 Initial commit 2013-01-23 16:09:53 -08:00