Commit Graph

32 Commits

Author SHA1 Message Date
Kris Johnson
1bcffe4b75
Fix typo 2026-01-08 15:34:41 -07:00
André Bastos Dias
cedd472222
[Client] Implement Mega Stones as {key: value} pairs (#2590)
* [Client] Implement Mega Stones as pairs {key: value}

* Simplify conditions

* Fix

* Update play.pokemonshowdown.com/js/client-teambuilder.js

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-01-08 15:04:54 -07:00
HiZo
d5c279549b
Bio Mech Mons: Add teambuilder support (#2585) 2026-01-01 02:09:02 -07:00
Kris Johnson
a1f3f059d1 Add teambuilder support for Legends Z-A OU 2025-10-20 23:05:31 -06:00
ShivaD173
288a072f8f
Do not set Gimmighoul-Roaming Atk IVs to 0 by default (#2490)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
2025-09-06 15:25:10 -05:00
Mia
b1dcb90a8c Increase max box size to 50
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
For parity with the teams database's max team size.
2025-08-08 22:00:50 -05:00
André Bastos Dias
917855a0ec
Add Home sprites (#2430)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-22 17:41:30 -07:00
Daniel Chen
16c7bab0b2
Preact Teambuilder: Improve link importing (#2425)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
* Make link import change team title & format
* Also adds a placeholder msg to the team textbox.

---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-18 11:48:12 -07:00
André Bastos Dias
73ea84c0d0
Don't force Tera types because of Hackmons (#2324)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-13 14:45:16 -07:00
Guangcong Luo
ab44f2de45 Fix dragging teams from teambuilder to computer
Apparently this was broken in the loginserver refactor because we all
forgot it existed...
2025-04-20 12:10:38 +00:00
Marty-D
dd5f8eb9c9
Teambuilder: Fix bugs in form selection
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
2025-03-15 19:02:15 -04:00
FeluciaPS
d895158d06
Teambuilder: Fix error on set import for formats without dex sets (#2332)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Currently throws a console error when you click "Import/Export" on a pokemon set when building a team for a format that doesn't have sets on the smogdex (Example: Gen 4 1v1). Notably this prevents box sets from showing up for those formats
2025-03-05 17:05:35 -08:00
Guangcong Luo
a10821ab8b
Update to ESLint 9 (#2326)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
This finally removes the tslint dependency and switches to eslint.

There are a lot of other changes here, too, to bring the codebase up to
server standards. TSLint never had much in the way of indentation
enforcement.

Not very happy about eslint splitting itself up over 6 dependencies,
or its documentation over three websites, nor how poorly documented the
new flat config is, but I mean, eslint's gonna eslint. Customizing
would be even harder if we tried to use Biome or something. They mostly
seem to go full Prettier.

Also here are some changes to our style rules. In particular:

- Curly brackets (for objects etc) now have spaces inside them. Sorry
  for the huge change. ESLint doesn't support our old style, and most
  projects use Prettier style, so we might as well match them in this way.
  See https://github.com/eslint-stylistic/eslint-stylistic/issues/415

- String + number concatenation is no longer allowed (except in ES3
  code). We otherwise now consistently use template strings for this.
2025-02-25 20:05:32 -08:00
demir
9a83838622
Fixed missing HTML sanitization (again) (#2284) 2024-09-30 03:44:54 -07:00
PartMan
2b095bd32a
fix: Pass this context correctly to updateTeamList (#2277) 2024-09-03 13:02:37 -05:00
PartMan
ef737c3be1
Teambuilder: Debounce searching teams (#2270)
Only debounce for 500+ teams
2024-08-29 09:53:32 -07:00
Kris Johnson
14c98adc6f Add support for Pokemoves 2024-08-01 01:32:00 -06:00
Leonard Craft III
6d1b654727 Teambuilder: Don't recommend 0 Atk IVs with Tera Blast 2024-07-15 21:04:58 -05:00
HoeenHero
e30e541384
Fix client sending the wrong team to the server in some cases (#2206) 2024-07-11 21:58:36 -05:00
Marty-D
7779bce672
Teambuilder: Update Smogdex links 2024-06-20 21:34:32 -04:00
tofa
4d4816c7d7
Teambuilder: Generate user samples from boxes (#2226) 2024-04-10 05:20:15 -07:00
Karthik
877bda4378
Teambuilder: Add EV optimization checker (#2240)
---------

Co-authored-by: pyuk-bot <msaimrkon@gmail.com>
2024-04-05 23:33:26 -05:00
Karthik
b01c15080f
Let's Go: Support itemless megas (#2233) 2024-03-24 22:56:23 -04:00
Mia
6796b18acd Modify CSS for accessibility 2024-02-28 21:19:48 -06:00
Mia
68a5ce5250 Teambuilder: Cache failures for formats without resources 2024-02-28 20:37:11 -06:00
Mia
c382954e0c Teambuilder: Don't try to load resources when they're already cached 2024-02-28 20:22:31 -06:00
Mia
a22fca71a0 Teambuilder: Fix target on Smogon links 2024-02-28 20:11:46 -06:00
Mia
1d84f93313 Teambuilder: Provide Smogon Dex resources when building teams 2024-02-28 20:04:10 -06:00
Hisuian Zoroark
7df39b817b
Teambuilder: Fix IV values for certain Indigo Disk Pokemon (#2214) 2024-01-13 18:31:21 -06:00
Hisuian Zoroark
1fadd5d587
Don't allow | in folder names (#2213) 2024-01-13 18:28:20 -06:00
Christopher Monsanto
4203473192 Teambuilder: Don't throw error if stats field is missing 2023-12-02 15:26:28 -05:00
Guangcong Luo
5d41f3ec93
Reorganize directories (#2187)
Files meant to be served have been moved into
`play.pokemonshowdown.com/` and `pokemonshowdown.com/`.

We now have three directories for the three subdomains handled by this
repo:

- `pokemonshowdown.com/`
- `play.pokemonshowdown.com/`
- `replay.pokemonshowdown.com/`

Naming them after the subdomains will make it much easier to tell where
the files for each go.

The diff is probably useless; it'll be easier if you just look at the
new tree:
https://github.com/smogon/pokemon-showdown-client/tree/reorganize
2023-11-16 03:39:29 -08:00