Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta Merge 27/07 #3141

Merged
merged 175 commits into from
Jul 27, 2024
Merged

Beta Merge 27/07 #3141

merged 175 commits into from
Jul 27, 2024

Conversation

f-fsantos
Copy link
Contributor

What are the changes?

Why am I doing these changes?

What did change?

Screenshots/Videos

How to test the changes?

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • Have I considered writing automated tests for the issue?
  • Have I tested the changes (manually)?
    • Are all unit tests still passing? (npm run test)
  • Are the changes visual?
    • Have I provided screenshots/videos of the changes?

f-fsantos and others added 30 commits June 19, 2024 17:31
feat: Add link to Discord in menu UI

feat: Add Discord and Google login functionality

Add container around discord and google icons

refactor: Update environment variable names for Discord and Google client IDs

feat: Add "Or use" translation for login options in multiple languages

feat: Update menu UI translations for multiple languages

Code review fixes

refactor: Update Discord and Google client IDs in environment variables
this also reduces output noise in tests
* Localization(pt): translated bgm-name.ts

* fix
[QoL] Add Discord and Google Login
[Feature][ENV] make i18n debugging an optional env setting
* Update TMs for more Indigo Disk changes

* Fix typo, more Stored Power
* Refactor challenges and add fresh start

* Add achievement for fresh start challenge
* Fix random damage roll to be 85-100% instead of 85-99%

* Update battle.test.ts to reflect the fix
* [Help] [Move/Bug] Patches Psychic Terrain applicability edge cases

Was cancelling moves even if targeted mons weren't on the terrain.

* [Bug `]Pokemon.isGrounded` does not exist

Replaced with `Pokemon.isGrounded()`, which does.

* [Bug] Psychic Terrain priority move cancel ignoring ungrounded

* [Bug] Semi-invulnerable should not be grounded
* Prevent sizing error

* Make reboot not necessary for show BGM

* Makes the BGM Bar active by default

  + It had originally been decided that this would not be active by default because it was to be displayed outside the pause menu, but since its behavior has changed between this decision and its integration, the default deactivation is no longer necessary
* Translate forgotten sentences on phases

* Translate to de forgotten sentences on phases

* Translate to es forgotten sentences on phases

* Translate to fr forgotten sentences on phases

* Translate to it forgotten sentences on phases

* Translate to ko forgotten sentences on phases

* Translate to pt br forgotten sentences on phases

* Translate to zh cn forgotten sentences on phases

* Translate to zh tw forgotten sentences on phases

* remove duplicate message

* remove duplicate message

* Update src/locales/pt_BR/battle.ts

Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <[email protected]>

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <[email protected]>

* Update battle.ts [Localization(it)]

* Update src/locales/zh_CN/battle.ts

Co-authored-by: Yonmaru40 <[email protected]>

---------

Co-authored-by: Alexis <[email protected]>
Co-authored-by: 송지원 <[email protected]>
Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>
Co-authored-by: Jannik Tappert <[email protected]>
Co-authored-by: Niccolò <[email protected]>
Co-authored-by: Yonmaru40 <[email protected]>
* Translate pokemon summary

* Translate pokemon summary to fr

* Translate pokemon summary to de

* Translate pokemon summary to es

* Translate pokemon summary to it

* Translate pokemon summary to ko

* Translate pokemon summary to pt br

* Translate pokemon summary to zh cn

* Translate pokemon summary to zh tw

* Fix import

* Update partially for en and ko

* Update interface name for en

* Merge trainerLabel&Text and calculate typeLabel width

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: GoldTra <[email protected]>

* Apply translations key to all languages with interface TranslationEtries

* Update ko/translationKey of status

* Update ko/translationKey of pokemonInfo

* Update de/translationKeys of memostring and metFragment

* Update de/translationKeys of memostring and metFragment 2

* Update src/locales/ko/pokemon-summary.ts

Co-authored-by: Enoch <[email protected]>

* Update src/locales/ko/pokemon-summary.ts

Co-authored-by: returntoice <[email protected]>

* Update src/locales/pt_BR/pokemon-summary.ts

Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>

* Update src/locales/ko/pokemon-summary.ts

* Update src/locales/pt_BR/pokemon-summary.ts

Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>

* Update pokemon-summary.ts [Localization(it)]

* remove unused code

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <[email protected]>

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <[email protected]>

* Update src/locales/zh_CN/pokemon-summary.ts

Co-authored-by: Yonmaru40 <[email protected]>

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: Arxxer <[email protected]>

* Update src/locales/es/pokemon-summary.ts

Co-authored-by: Arxxer <[email protected]>

---------

Co-authored-by: Alexis <[email protected]>
Co-authored-by: Mr.WaterT <[email protected]>
Co-authored-by: Alexis Faizeau <[email protected]>
Co-authored-by: GoldTra <[email protected]>
Co-authored-by: returntoice <[email protected]>
Co-authored-by: José Ricardo Fleury Oliveira <[email protected]>
Co-authored-by: 송지원 <[email protected]>
Co-authored-by: Niccolò <[email protected]>
Co-authored-by: Yonmaru40 <[email protected]>
Co-authored-by: Arxxer <[email protected]>
@flx-sta flx-sta added Localization Provides or updates translation efforts Tests Automated tests related UI/UX User interface/-experience related Game Balance Changes focused on game balance labels Jul 25, 2024
@CodeTappert CodeTappert added Move Affects a move Ability Affects an ability Item Affects an item labels Jul 25, 2024
frutescens and others added 2 commits July 25, 2024 18:40
* Fixed modifiers not displaying on summary screen

* Addressed Typedoc issues

* Documentation added

---------

Co-authored-by: Frutescens <info@laptop>
…e/epic shiny variant and preventing illegal variants from legendary gacha (#2940)

* Changed PokemonSpecies hasVariants function to also include for pokemon with differend forms

* Added check to prevent illegal shiny variants from happening if the egg rolls the gacha legendary and has no variants

* Simplified variant check. Fixed spelling on unit test

* Bugfix for legacy eggs

* Removed formIndex variable

* Changed unit test

* Added new line to unit test function

Co-authored-by: flx-sta <[email protected]>

---------

Co-authored-by: flx-sta <[email protected]>
Copy link
Contributor

@Tempo-anon Tempo-anon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the following two commits into the beta merge?
#3145
#2940

Comment on lines +19 to +25
const SHOP_OVERLAY_OPACITY_OPTIONS: SettingOption[] = new Array(9).fill(null).map((_, i) => {
const value = ((i + 1) * 10).toString();
return {
value,
label: value,
};
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference of instantiating a new array and using Array.from?

@Tempo-anon
Copy link
Contributor

Can you add the following two commits into the beta merge? #3145 #2940

White herb is also breaking intimidate unit test. Here's a fix for that #3151

Tempo-anon
Tempo-anon previously approved these changes Jul 26, 2024
Copy link
Contributor

@Tempo-anon Tempo-anon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait I just realized this is a beta->main merge. I thought you created a new branch so still needed any new changes beta would pick up. Getting rid of my blocking request changes then :pikastare:

Copy link
Contributor

@torranx torranx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple nits added and I don't see any game breaking bugs, except the possible unwanted implications from the changes in pokemon-species.ts. Otherwise, looks good to me.

…all functionality but keeps the isBeta utils function for future stuff (#3153)
@f-fsantos f-fsantos merged commit e98ef1c into main Jul 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ability Affects an ability Enhancement New feature or request Game Balance Changes focused on game balance Help Wanted Extra attention is needed Item Affects an item (Legacy) Bug Legacy Label, don't apply to new issues/PRs Localization Provides or updates translation efforts Move Affects a move Tests Automated tests related UI/UX User interface/-experience related
Projects
None yet
Development

Successfully merging this pull request may close these issues.