Commit Graph

5705 Commits

Author SHA1 Message Date
Bertie690
72e9c153d0 fixed doc 2025-09-07 13:48:41 -04:00
Bertie690
8bbe706f3f Added toggle to optionally ignore phase blacklist 2025-09-07 13:46:35 -04:00
Bertie690
5164c65cdb Merge remote-tracking branch 'upstream/beta' into phase-interceptor 2025-09-07 13:27:27 -04:00
Sirz Benjie
e222731623
Center text in README.md 2025-09-07 09:43:01 -05:00
Bertie690
9815c5eebf
[Test] Revamped MockConsoleLog with color support (#6218)
* Added mock console and fixed up many many things

* Cleaned up handling of colors and such

* Added minor comment

* Fix Focus Punch test

* Fix typo

* Remove redundant comment

* Update vitest.setup.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Added color map inside new folder

* Made constants not object bc i was told to

* Update src/constants/colors.ts

* Removed all moves init check

* Removed import

* Fixed up some stuff + added aquamarine color to settings helper

* Added logging for test end

* Removed intentionally failing test

* Fixed console log to use inheritance to not override vitest's wrapping

* Added a custom Vitest reporter to not log the test name every 2 lines

* Moved coloration to a hook to prevent misplacing things

* Fixed import issue by copypasting vitest soure

* Removed intentionally failing test

look i need to check that `test:silent` works on github ok

* Added REUSE annotations to copied parts of source

* Fixed import issue

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-07 09:18:47 -05:00
HeeMyung Kim
444080bb78
[UI] Add cyclic navigation in settings menu for LEFT/RIGHT buttons (#6404)
* feat: add cyclic navigation to settings menu

* review > refactor: use Phaser.Math.Wrap instead the ternary operator
2025-09-06 18:16:43 -05:00
Bertie690
b5124ae3ce
[Misc/Docs] Fix Typedoc workflow to not break the "go to main" link (#6502)
* Fixed missing `img src=`
2025-09-06 17:43:26 -05:00
Sirz Benjie
f29bfa31cd
[GitHub] [Docs] Use rsync in workflow run 2025-09-06 11:16:31 -05:00
Sirz Benjie
550f3b896e
[GitHub] [Docs] Copy entirety of docs folder 2025-09-06 10:58:03 -05:00
Bertie690
21aa40e46a
[GitHub] [Docs] Update github-pages.yml to add the files into the right subdirectory (#6500) 2025-09-06 10:39:09 -05:00
Bertie690
d18f77bea9
[Misc] [Docs] Update README.md svg to actually go to discord (#6501) 2025-09-06 10:25:09 -05:00
Lugiad
39760a8514
[UI/UX] [Localization] Battle & Party UI translation (#6482) 2025-09-06 02:08:33 -07:00
Anthony
ad61a28e88
[Bug] Moody Can't Lower Stats at +6 (#6481) 2025-09-06 06:46:13 +00:00
HeeMyung Kim
ddc04a7a87
[Bug] [UI/UX] Fix random button activation bug (#6464) 2025-09-06 06:40:38 +00:00
Xavion3
3765f843db
[Refactor] Remove randSeedWeightedItem utils function. (#6492)
Remove randSeedWeightedItem utils function.
2025-09-06 06:12:32 +00:00
Sirz Benjie
4b86dffcf9
[GitHub] [Bug] Add nullish operator to dryRun check (#6496) 2025-09-05 22:38:16 -05:00
Bertie690
2d037fca96
[Dev] Fix typedoc.config.js (#6495) 2025-09-05 22:27:21 -05:00
Bertie690
e94417940f
[Dev] Fix extra dot in github-pages.yml (#6494) 2025-09-05 22:14:38 -05:00
Bertie690
9ddd6fe026
[Dev] Fix GH pages workflow to push docs correctly (#6493) 2025-09-05 21:54:48 -05:00
Bertie690
d630c106e0
[Test] Improved typing on BattlerTagData and ArenaTagData; improved test matchers (#6338)
* Improved typing on `BattlerTagData` and `ArenaTagData`
* Added dragon cheer/focus energy tests
* Cleaned up descs
2025-09-05 21:50:37 -05:00
Bertie690
02bfaf9ad3
[Test] Added/cleaned up tests for Pastel/Sweet Veil (#6374)
* [Test] Added/cleaned up tests for Pastel/Sweet Veil

* Fixed extra import + tests

* Fixed type import

* Update move.ts

* reverted abstract constructor stuff
2025-09-05 21:42:44 -05:00
NightKev
db8458fdb7
[GitHub] Fix Typedoc workflow (#6490)
* [GitHub] Fix Typedoc workflow

* Remove `--allow-empty`
2025-09-05 21:23:32 -05:00
Bertie690
850fa6f6de
[Dev] Added Typedoc plugins + README badges (#6400)
* Add copyright in footer

* Customized typedoc configuration + added coverage SVG

* Finally figured out how to slap the SVG onto the docs' readme per branch

* Fixed up config, made final tweaks to SVG length and renamed script

* Added missing closing bracket to type config declaration

* Fixed title + added GitHub navigation link

* Fixed name typo

* Update README.md

* Moved badges on same line
2025-09-05 11:34:22 -07:00
Bertie690
d5e6670456
[Refactor] Remove null from PhaseManager.currentPhase signature
https://github.com/pagefaultgames/pokerogue/pull/6243

* Added `toBeAtPhase` + removed `null` from phase manager current phase signature

* Removed bangs from various calls to phase manager

* Update phase-manager.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* ran biome

* Fix missing bang

* Simplify TSDoc

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-09-05 09:28:35 -07:00
Wlowscha
fce317a87a
[Documentation][Move] Add edge case to helping hand (#6340) 2025-09-05 09:21:28 -07:00
Fabi
e477c505bc
[UI/UX] Show correct able text when transferring all items (#6444)
* Check if items are able to transfer for `ALL` option

* show amount of transferable items in `ALL` option

* Show number of transferable items in the 'ALL' option

* Apply suggestions
2025-09-04 09:03:55 +00:00
Bertie690
669ed76daf
[Misc] Cleaned up implementation of ChargeMove mixin (#6466)
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-09-04 11:01:24 +02:00
Bertie690
14beb32285
Merge branch 'beta' into phase-interceptor 2025-09-03 21:07:36 -04:00
Bertie690
9f185cd8a8 fixed the bug, ruined my sanity 2025-09-03 21:03:11 -04:00
Bertie690
54836ccd4a Marked starter select test as TODO to avoid corruption 2025-09-03 20:54:45 -04:00
Bertie690
272760dcd9 Tried reverting my revert 2025-09-03 20:49:00 -04:00
Bertie690
72e3f06709 un reverted more 2025-09-03 20:42:28 -04:00
Bertie690
6132726342 un-reverted stuff 2025-09-03 20:29:40 -04:00
Wlowscha
1a06010820
[UI/UX][Refactor] Remove redundant references to globalScene.uiTheme (#6472)
Removed most references to globalScene.uiTheme
2025-09-03 19:17:19 +02:00
NightKev
317e45ec75
[Dev] Simplify isLocal and add start:prod/start:beta (#6470)
- The constant `isLocal` now checks to see if `import.meta.env.MODE`
is `"development"` (which it is when running via `pnpm start:dev`)
instead of checking what URL is being used to access the client
(e.g. `"localhost"` or an IP address)

- Remove `start` from `package.json` and replace it with
`start:prod` (which runs `vite --mode production`) and
`start:beta` (which runs `vite --mode beta`)

`start:prod` -> `isBeta` and `isLocal` are both `false`
`start:beta` -> `isBeta` is `true` and `isLocal` is `false`
`start:dev` -> `isBeta` is `false` and `isLocal` is `true`

- Remove obsolete/unused `localServerUrl` and `apiUrl` constants
2025-09-02 19:49:45 -07:00
Lugiad
34430b4057
[UI/UX] [Localization] Summary UI translation (#6433)
* Summary UI Transaltion

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Summary UI Translation

* Remove unnecessary loading of en images when lang is not en

Consolidate duplicate code

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-09-02 03:25:41 +00:00
Sirz Benjie
fc85a168f5
Merge pull request #6469 from pagefaultgames/hotfix-1.10.6
Hotfix 1.10.6 to beta
2025-09-01 19:08:09 -05:00
Sirz Benjie
9f19c6bea2
Merge pull request #6467 from Xavion3/sound-error-improvement
Sound error handling improvement
2025-09-01 17:24:33 -05:00
Xavion3
bc0e2662fa Clean up bangs 2025-09-02 06:53:57 +10:00
Xavion3
eb8c0c0243 Add comment explaining bang 2025-09-02 06:53:55 +10:00
Xavion3
bd7de61a56 Improve error handling when playing unloaded sounds 2025-09-02 06:53:55 +10:00
NightKev
446908ae13
[Misc] Add " (Beta)" to site title and version display on beta (#6418) 2025-09-01 07:02:40 -07:00
Bertie690
17c28c4024
[Bug] Fix monotype challenge using unlocalized type names (#6438) 2025-09-01 05:57:46 -07:00
Sirz Benjie
45a162059c
Merge pull request #6463 from Xavion3/remove-e4-tera-recharge
[Balance] Make e4 not automatically recharge tera
2025-08-31 18:59:19 -05:00
Xavion3
64ad2ee9c2 Make e4 not automatically recharge tera 2025-09-01 08:12:04 +10:00
AJ Fontaine
231cfd040c
[Balance] TM tier changes 1.10.6 (#6461)
* TM tier changes 1.10.6
2025-08-31 13:47:53 -04:00
Sirz Benjie
8a69c628d1
Merge pull request #6459 from fabske0/fix-enemy-level-position
[Bug] [UI] Fix enemy level position
2025-08-31 10:28:25 -05:00
damocleas
9a00bc2f10
Merge branch 'hotfix-1.10.6' into fix-enemy-level-position 2025-08-31 11:23:38 -04:00
fabske0
2a5e66d85f update pos 2025-08-31 17:17:25 +02:00
Lugiad
e0a752aa70
[UI/UX] [Localization] Korean and Chinese Visual Fixes (#6452) 2025-08-31 13:55:50 +00:00