Commit Graph

6458 Commits

Author SHA1 Message Date
Marty-D
17bfa618f3
Mark CAP 36 alternate form as Illegal 2025-07-13 12:15:55 -04:00
Spammernoob69
7c9b69dc6f
Update spritesheet and move animations for CAP 36 (#2472) 2025-07-13 08:30:04 -04:00
shrianshChari
e39c96e370
Add Revival Blessing animation (#2460)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
2025-07-11 01:38:22 -06:00
skymin3
80f297ebc2
Move Animations: Rage Fist (#2455)
* Move Animations: Rage Fist

Work In Progress: awaiting critique by Dhelmise/Kalaloki

* Reverting Fist Test

I opened the PR with the code that was used to test something on Fist, which wasn't accurate to the video. Reverted the code back to hot it's intended.

* Make Anger symbol more visible
2025-07-11 01:37:37 -06:00
Kris Johnson
8387410adc Remove illegal Pokemon from Draft teambuilder
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
2025-07-06 11:46:02 -06:00
André Bastos Dias
0f9534d45e
Fix HP bar colours (#2463)
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
2025-06-25 14:15:17 -07:00
Guangcong Luo
87a8997278 Fix new side server URL scheme
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
Mostly, this adds backwards compatibility with the
`localhost-[port].psim.us` URLs, which never stopped working.
2025-06-21 13:03:55 +00:00
Dieter Reinert
4b5830ff39
Preact: Support cosmetic formes (#2461)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-06-19 11:49:12 -07:00
Guangcong Luo
20369ee707 Preact: Rename uploaded replay roomid
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
2025-06-15 18:23:51 +00:00
Guangcong Luo
df301b5929 Improve support for unregistered servers
Client-side of e7b2be606a

Unregistered server URLs are now pretty different (see the source
of the link). Part of this is because of some weird change to the
web server config, part of this is because HTTPS wildcard certs don't
work infinitely deep, part of this is because Chrome now insists
on forcing HTTPS in a variety of scenarios...

Anyway, I'd love to keep supporting the old syntax but it's not
workable, and I'm really happy to have a new one that is.
2025-06-15 18:23:41 +00:00
skymin3
bcfcae167c
Add Lunar Blessing animation (#2456)
* Move Animations: Lunar Blessing

Work in progress: still undergoing general review

* eslint fix trailing space

* Tb0lt Lunar Blessing suggestions

* eslint fix trailing space
2025-06-13 14:42:26 -06:00
shrianshChari
56d43bc377
Add Upper Hand animation (#2458)
* Draft 1

* Hand does not expand in animation

* Satisfy linter
2025-06-13 14:41:06 -06:00
Dieter Reinert
a6b02147fa
Preact: Support auto-rejoin for battle rooms (#2457)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-06-10 06:15:06 -07:00
Guangcong Luo
883e2043af Preact: Refactor uploads to use handleDrop
All the old client's supported drag/drop types are supported now.
2025-06-10 07:10:15 +00:00
Kris Johnson
d2403c09e8
Users: Memorialize Morpeko 2025-06-09 19:58:44 -06:00
Guangcong Luo
775743cd33 Preact minor updates batch 26
- Don't cut off joinLeave batch for uhtml changes
- Don't autoclose expired rooms
- Fix crash when importing/exporting certain teams
- Fix room focus when closing popups
- Don't highlight for `/uhtml` and `/uhtmlchange`
2025-06-07 17:25:35 +00:00
Guangcong Luo
a7466affc0 Teambuilder: Update move usefulness
- Correctly detect Doubles formats
- Add better notes about what is useful vs not

- Leaf Blade: gen 3 -> all gens
  (pretty sure this was just a mistake)
- Barrier: gen 1 -> useful in all gens
  (outclasses Iron Defense, outclassed by Acid Armor)
- Thunder, Toxic: gen 2+ -> all gens
- Quick Attack: gen 1 -> useful in all gens
- Vacuum Wave: useful
- Mirror Coat: match Counter
- Decorate, Snarl: useful in Doubles
- BP 60 moves: useful with Technician
- Hidden Powers: fix bug

(unless otherwise specified, reasoning is: we do not judge metagames)

Many of these were suggested in the thread:

https://www.smogon.com/forums/threads/move-category-suggestions.3671530/
2025-06-07 17:25:35 +00:00
shrianshChari
85788f55c5
Add animation for Hard Press (#2450)
* Add animation for Hard Press

* Satisfy linter

* Balls fall into place, add time before balls drop and attacker charges

* Reduce delay between balls falling and defender being crushed
2025-06-07 10:36:36 -06:00
skymin3
3357c6c857
Add Take Heart animation (#2452) 2025-06-07 10:36:08 -06:00
skymin3
732980bcae
Remove Flying Gem from Popular Items (#2453)
https://www.smogon.com/forums/threads/gen-5-ou-gems.3706516/
2025-06-06 21:51:06 -07:00
Dieter Reinert
df0188bbfb
Preact: Fix pressing Enter in teambuilder with invalid results (#2451) 2025-06-04 19:54:27 -07:00
Aurastic
3dd9882a9f
Preact: Remove highlight when clicking DM header (#2449) 2025-06-03 15:21:24 -07:00
Kris Johnson
35be5515f9 Remove banned Pokemon from DPP PU teambuilder 2025-06-02 20:25:49 -06:00
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
shrianshChari
c20898479f
Add animation for Dragon Cheer (#2448)
* Add animation for Dragon Cheer

* Satisfy linter

* Make the cheer more purple
2025-06-02 00:55:56 -06:00
Aurastic
3b81b9958e
Preact: Don't notify on raw messages (#2446) 2025-05-29 22:04:28 -07:00
Aurastic
b1fc3b2d9e
Preact: Support desktop notifications (#2441)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-28 01:44:01 -07:00
Kris Johnson
2a195dac3b
Update credits 2025-05-28 02:38:16 -06:00
Aurastic
7b796aee23
Preact: Fix autoreconnect (#2445)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-27 16:32:51 -07:00
pyuk-bot
e7c36480ba
Preact: Minor autoreconnect fixes (#2444) 2025-05-27 03:17:08 -07:00
Distrib
482bee7d2a
Preact: Improve room leave handling (#2442) 2025-05-26 17:01:24 -07:00
Kris Johnson
9165bb48d7
Update credits (#2443)
* Update credits

* Add UI to Hecate's specialties

* Add dot Comfey, add Tbolt's name
2025-05-26 17:26:18 -06: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
Aurastic
268d0f72a4
Preact: Support auto-reconnecting through web worker (#2409)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-25 11:53:44 -07:00
Aurastic
1d5e1baa32
Preact: Always notify users for joined tours (#2432) 2025-05-24 16:17:44 -07:00
Guangcong Luo
e2c8eb3db5 Preact minor updates batch 23
- Add panel-example.js
- Fix windowing (perf) when sorting teambuilder results
- Fix some comments
2025-05-24 10:14:24 +00:00
Guangcong Luo
30fa1f243d Preact: Fix confirmleaveroom on overflow tablist
Fixes #2433
2025-05-23 21:01:26 +00:00
bingingem
2747808d6b
Preact: Trim command targets (#2439) 2025-05-23 10:31:27 -07: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
Guangcong Luo
b5865585e4 Preact: Refactor mobile support
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
2025-05-22 23:53:43 +00:00
Kris Johnson
07217f22ba Teambuilder: Fix headers appearing with no Pokemon under them 2025-05-22 13:25:23 -06:00
Kris Johnson
033472e091 Fix old gens NatDex Doubles teambuilder 2025-05-22 13:07:19 -06:00
shrianshChari
29d2a24d37
Preact Teambuilder: Fix the team textbox placeholder on Firefox (#2438) 2025-05-21 20:04:57 -07:00
Guangcong Luo
00abcf7c6b Preact minor updates batch 22
- 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
2025-05-21 03:14:29 +00:00
Guangcong Luo
e4c192317f Support CompoundWordNames
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.
2025-05-21 02:44:51 +00:00
André Bastos Dias
0d10f6180a
Skip animation during fainted forme regression (#2434) 2025-05-20 17:07:47 -07:00
Guangcong Luo
fc6d963912 Strongly type Config
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
(Also remove a bunch of global types)
2025-05-19 13:40:12 -07:00
Aurastic
de13c8c5d4
Preact: Fix tab complete in battles (#2431)
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-19 00:54:35 -07:00
pyuk-bot
fbd905acb9
Tooltips: Add a locking animation (#2411) 2025-05-18 21:46:46 -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