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

perf: show whether plugin toggle is enable or disable #2189

Merged
merged 11 commits into from
Mar 24, 2025

Conversation

KirisameVanilla
Copy link
Contributor

when /xltoggleplugin xxx
if xxx is unloaded then shows 'enabling' and 'successfully enable'
if xxx is loaded then shows 'disabling' and 'successfully disable'

@KirisameVanilla KirisameVanilla requested a review from a team as a code owner March 6, 2025 18:14
Copy link
Member

@KazWolfe KazWolfe left a comment

Choose a reason for hiding this comment

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

Hello and thank you for your pull request! As is, this PR won't actually alter the behavior indicated, given you're changing translation keys. See the inline PR comments for more details.

If you have any questions, please feel free to let us know and we'll do our best to help out.

@KirisameVanilla
Copy link
Contributor Author

KirisameVanilla commented Mar 7, 2025

Hello and thank you for your pull request! As is, this PR won't actually alter the behavior indicated, given you're changing translation keys. See the inline PR comments for more details.

If you have any questions, please feel free to let us know and we'll do our best to help out.

Hello! I was thinking about changing case: toggle part to nested like below

HandlePluginOperation(workingPluginId, isDisabling? PluginCommandOperation.Disable : PluginCommandOperation.Enable)

Is that feasible? It seems feasible as I just tested on my Game :)

@KirisameVanilla
Copy link
Contributor Author

let me commit that first. if it is not feasible then i revert it

@KirisameVanilla KirisameVanilla requested a review from KazWolfe March 8, 2025 05:40
nathanctech and others added 6 commits March 13, 2025 22:01
* Drop special formatting, allowing annotations to work properly.

* Suppress duplicate warnings, adding a prefix to prevent annotation

* Tweak message, don't rebuild on test

* Move testing into same job step

* Only run PR build on newly opened PRs

* flip build order, derp

* Test suppressing summary for annotations...

* Get the build order right, testing without conditionals...

* Run tests after compile, suppress warnings from test

* Reverted previous change to `main.yml`.

* Drop special formatting, allowing annotations to work properly.

* Suppress duplicate warnings, adding a prefix to prevent annotation

* Tweak message, don't rebuild on test

* Move testing into same job step

* Only run PR build on newly opened PRs

* flip build order, derp

* Test suppressing summary for annotations...

* Get the build order right, testing without conditionals...

* Run tests after compile, suppress warnings from test

* Reverted previous change to `main.yml`.

* Drop special formatting, allowing annotations to work properly.

* Suppress duplicate warnings, adding a prefix to prevent annotation

* Tweak message, don't rebuild on test

* Move testing into same job step

* Only run PR build on newly opened PRs

* flip build order, derp

* Test suppressing summary for annotations...

* Get the build order right, testing without conditionals...

* Run tests after compile, suppress warnings from test

* Reverted previous change to `main.yml`.

* Add conditional for CI builds, add --skip-tests to make up for the combined build/test step.

* Behavior change, now requires arg `ci` to be passed to trigger tests. Tests can also be manually triggered with `test`.
- Use a Weak Concurrent Collection to track scoped hooks
- Make `Hook`s remove themselves from the Tracked Hook list.
Copy link
Member

@KazWolfe KazWolfe left a comment

Choose a reason for hiding this comment

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

See inline comment, just a single change I think.

If you can, can you also rebase this PR against the api12 branch for inclusion in the Patch 7.2 release?

Thanks!

@KirisameVanilla KirisameVanilla changed the base branch from master to api12 March 24, 2025 03:17
@KirisameVanilla
Copy link
Contributor Author

See inline comment, just a single change I think.

If you can, can you also rebase this PR against the api12 branch for inclusion in the Patch 7.2 release?

Thanks!

Gotcha :)

@KazWolfe
Copy link
Member

Alright, looks good! I'll try to clean up the actual commit history for you.

I assume these changes passed local test for you?

@KirisameVanilla
Copy link
Contributor Author

Alright, looks good! I'll try to clean up the actual commit history for you.

I assume these changes passed local test for you?

For the commit history, maybe just squash. I ve revert some commits in main branch in order to let the pr only contains my change.

For locally testing, i only tested the way of nested call. Ill test it very quickly. plz gimme a few miniutes.

@KirisameVanilla
Copy link
Contributor Author

Alright, looks good! I'll try to clean up the actual commit history for you.
I assume these changes passed local test for you?

For the commit history, maybe just squash. I ve revert some commits in main branch in order to let the pr only contains my change.

For locally testing, i only tested the way of nested call. Ill test it very quickly. plz gimme a few miniutes.

Tested. Theres no problem.

@KazWolfe
Copy link
Member

image

Verified. Thanks for the contribution! This'll be present in the first release after 7.2!

@KazWolfe KazWolfe merged commit 9815cf1 into goatcorp:api12 Mar 24, 2025
@KirisameVanilla
Copy link
Contributor Author

image

Verified. Thanks for the contribution! This'll be present in the first release after 7.2!

Thank you for your guidance!

@KirisameVanilla KirisameVanilla deleted the perf/toggleMessage branch March 24, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants