shrianshChari
bda9877190
Add teambuilder support for UUBL tiers ( #2336 )
...
Node.js CI / build (22.x) (push) Has been cancelled
* Add support for Gen 3 UUBL (and every other UUBL tier)
* Satisfy linter
2025-03-19 13:23:16 -06:00
shrianshChari
211fef6352
Make Regulation G formats into Official ladder formats and available on the ladder page ( #2334 )
...
* Make Reg G formats Official ladder formats
* Make Reg G formats accessible from ladders page
* Add BSS Reg G to ladder page
2025-03-19 13:22:32 -06:00
FeluciaPS
3395c2ac7a
Add horizontal scroll bars to wide infoboxes on small screens ( #2212 )
Node.js CI / build (22.x) (push) Waiting to run
2025-03-19 04:08:38 -07:00
Guangcong Luo
5bfa08b1bd
Battles: Support overriding line sections
...
Node.js CI / build (22.x) (push) Has been cancelled
Really this should probably be handled with `|` rather than with
a complicated system for guessing where to break messages... but
it's easier not to change these old systems.
2025-03-16 08:36:19 +00:00
Marty-D
dd5f8eb9c9
Teambuilder: Fix bugs in form selection
Node.js CI / build (22.x) (push) Waiting to run
2025-03-15 19:02:15 -04:00
HiZo
4865bd3c02
Simulate Gen 1 Fight Button for Wrap ( #2327 )
...
Node.js CI / build (22.x) (push) Has been cancelled
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-03-11 20:59:02 -07:00
WifiLatency
a06294436c
Remove broadcast restriction on avatar ( #2335 )
...
Node.js CI / build (22.x) (push) Waiting to run
Co-authored-by: WifiLatency <michaelweger5053@gmail.com>
2025-03-10 22:24:39 -07:00
FeluciaPS
d895158d06
Teambuilder: Fix error on set import for formats without dex sets ( #2332 )
...
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
Leonard Craft III
db2b94054d
Move room owners above admins once again ( #2331 )
Node.js CI / build (22.x) (push) Has been cancelled
2025-03-02 03:26:25 -08:00
HiZo
011f69cf24
Teambuilder: Fix Typo ( #2330 )
Node.js CI / build (22.x) (push) Has been cancelled
2025-02-27 00:03:04 -06:00
HiZo
a6cc8451bb
Teambuilder: Fix bug with duplicated item entries ( #2329 )
...
* Ok i am bad so here is me doing it properly this time
* rename variable
* Update battle-dex-search.ts
* help
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-26 23:43:54 -06:00
HiZo
6657e68f16
Fix crash with tooltips, potientially causing unclickable moves ( #2328 )
2025-02-26 19:07:00 -07:00
Guangcong Luo
2eff024323
Properly fix Spikes disappearing on replay
...
Node.js CI / build (22.x) (push) Waiting to run
Fixes #2269
2025-02-26 23:09:38 +00:00
Mia
5411a975a1
Add NPA background to repo
2025-02-26 22:15:21 +00:00
Guangcong Luo
4f66f64876
Update credits
2025-02-26 22:13:11 +00:00
Guangcong Luo
a4fdc9347a
Remove extraneous console.log
2025-02-26 22:05:48 +00:00
Guangcong Luo
a4b38ff3ee
Fix <username> in custom HTML
...
If you were wondering, the recent ESLint 9 upgrade changed
- from `<strong style="undefined;color:#307c6b">`
- to `<strong style=";color:#307c6b">`
and it turns out that the former passes Caja's CSS sanitization
and the latter doesn't.
2025-02-26 22:01:57 +00:00
Guangcong Luo
5633336ae3
Revert "Fix side condition visual glitch in replays ( #2269 )"
...
This reverts commit a711bf74f8 .
Was accidentally merged
2025-02-26 21:13:34 +00:00
Mia
22cf001423
Fix psicon replacement tag in news editor
2025-02-26 21:03:48 +00:00
Mia
37dd69b214
Add NPA mode
2025-02-26 21:03:40 +00:00
Sean Yeh
a711bf74f8
Fix side condition visual glitch in replays ( #2269 )
...
This commit resets the side conditions when restarting a replay.
Without this fix, side conditions (such as Spikes) that were previously
drawn no longer show up after a restart.
2025-02-26 13:59:38 -07:00
pyuk-bot
ec92955748
Teambuilder: Update popular items for gen 9 & add doubles support ( #2321 )
...
* Teambuilder: Customize Metronome Battle's popular items
* Teambuilder: Update popular items for gen 9 & add doubles support
* Fixes
* Update play.pokemonshowdown.com/src/battle-dex-search.ts
* Apply suggestions from code review
* Update play.pokemonshowdown.com/src/battle-dex-search.ts
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-26 13:40:49 -07:00
Kris Johnson
73823ab203
Fix missed instances of Snowscape rename
2025-02-26 13:32:03 -07:00
pyuk-bot
70def01938
Tooltips: Handle implications of Symbiosis activation ( #2320 )
2025-02-26 13:26:40 -07:00
André Bastos Dias
f15ceb0a96
Fix the Abilities column for mods ( #2322 )
...
* Fix Abilities column for mods
* Fix mod check
2025-02-26 13:22:12 -07:00
Guangcong Luo
a10821ab8b
Update to ESLint 9 ( #2326 )
...
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
Guangcong Luo
3d4de88706
Correct Snowscape weather name
Node.js CI / build (14.x) (push) Has been cancelled
2025-02-19 16:36:54 -08:00
Guangcong Luo
3f23c5a738
Refactor TypeScript files to modules
...
Due to the specific way we implement everything, none of these files
are actually modules. But thanks to `babel-plugin-remove-import-export`,
there's no reason why the code can't be written as modules.
I wouldn't say I like modules, but it's what's popular and it's what
people are used to and it's what tooling is built around.
2025-02-19 14:46:12 -08:00
Guangcong Luo
51657d5008
Increase TypeScript strictness
...
(Now with `noImplicitOverride`)
2025-02-19 00:47:33 -08:00
Guangcong Luo
a40b4b37c8
Preact: Fix bugs with dragging tabs
Node.js CI / build (14.x) (push) Has been cancelled
2025-02-18 19:19:28 -08:00
Marty
38d29ff660
Update Pokemon icons sheet
Node.js CI / build (14.x) (push) Has been cancelled
2025-02-11 20:48:03 -05:00
Kris Johnson
dd3dc08a6d
Battle Animations: Fix nature check because natures don't have a get function for some reason
Node.js CI / build (14.x) (push) Has been cancelled
2025-01-11 12:53:45 -07:00
Kris Johnson
fac8296675
Battle Animations: Add support for natures as effect tags
2025-01-11 12:40:32 -07:00
bingingem
ec3e54241c
Staff FAQ: Fix missed Global Admin symbol updates ( #2310 )
Node.js CI / build (14.x) (push) Has been cancelled
2024-12-20 07:39:26 -06:00
Guangcong Luo
f4baa24125
Fix <psicon> in Replays
...
Node.js CI / build (14.x) (push) Has been cancelled
Apparently Caja CSS isn't loaded in Replays? Bypassed that dependency
for <psicon>.
2024-12-04 04:52:12 +00:00
Marty
565a057a5d
Update Pokemon icons sheet
Node.js CI / build (14.x) (push) Has been cancelled
2024-12-01 21:48:12 -05:00
CarlosGuzman01
72055f2d6e
Update credits link for artist Yilx ( #2307 )
Node.js CI / build (14.x) (push) Has been cancelled
2024-11-29 17:08:18 -06:00
CarlosGuzman01
3e855da7ae
Update credits link for artist Seiryuuden ( #2306 )
2024-11-29 16:05:16 -06:00
Alex "Mathy
a77ed2a881
Support blank target in -item message ( #2302 )
...
Node.js CI / build (14.x) (push) Has been cancelled
* Support blank target in -item message
* TS fix
* TS fix again
2024-11-27 13:08:49 -07:00
Alex "Mathy
d43e960729
Fix Morpeko forme locking ( #2303 )
2024-11-27 13:05:56 -07:00
Kris Johnson
e4e95124f2
News: Add support for minisprites ( #2300 )
...
Node.js CI / build (14.x) (push) Waiting to run
* News: Add support for minisprites
* SANITIZE THE HTML.
2024-11-26 13:37:35 -06:00
Kris Johnson
72d1216e19
Triples: Make Shift button an actual button
Node.js CI / build (14.x) (push) Has been cancelled
2024-11-23 22:12:49 -07:00
HiZo
e4c54acc92
Display exact HP when using Exact HP Mod ( #2280 )
...
Node.js CI / build (14.x) (push) Has been cancelled
* Display information current and max HP when using Exact HP Mod
* why doesnt lint catch this smh
2024-11-18 16:10:40 -07:00
Sean
c32f5e261e
ADV: Update move viability categories ( #2288 )
...
Node.js CI / build (14.x) (push) Has been cancelled
* gen 3 useful + useless moves update
* moveIsNotUseless: disambiguate OR operation
2024-11-12 18:31:15 -07:00
shrianshChari
5706935740
Modify animation for Stone Axe ( #2299 )
2024-11-12 18:30:17 -07:00
Christopher Monsanto
6e29f5df66
Chat: different wording for suspect test eligible
Node.js CI / build (14.x) (push) Waiting to run
2024-11-12 09:25:06 -05:00
shrianshChari
9a9728b139
Modify animation for Spirit Break ( #2298 )
Node.js CI / build (14.x) (push) Has been cancelled
2024-11-08 10:43:11 -07:00
Alex "Mathy
1ff6525035
Account for Morpeko form permanence ( #2297 )
...
Node.js CI / build (14.x) (push) Has been cancelled
* Account for Morpeko form permanence
* Update play.pokemonshowdown.com/src/battle.ts
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-11-06 22:45:34 -07:00
Kris Johnson
878464aec7
/rank: Fix colspan spacing
Node.js CI / build (14.x) (push) Waiting to run
2024-11-05 16:16:40 -07:00
shrianshChari
acd0d999bb
Add animation for Mighty Cleave ( #2295 )
...
Node.js CI / build (14.x) (push) Waiting to run
* Mighty Cleave animation first draft
* Give the slash a big streak
2024-11-04 22:47:07 -07:00