-
Notifications
You must be signed in to change notification settings - Fork 13k
fix: less strict slash command registration condition #36855
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
Conversation
🦋 Changeset detectedLatest commit: f4dfac1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Looks like this PR is ready to merge! 🎉 |
c1a1ddc to
168aa7b
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #36855 +/- ##
===========================================
+ Coverage 66.17% 66.24% +0.06%
===========================================
Files 3339 3340 +1
Lines 113419 113575 +156
Branches 21146 21157 +11
===========================================
+ Hits 75059 75240 +181
+ Misses 35676 35650 -26
- Partials 2684 2685 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
761f228 to
a3d96c0
Compare
152a02e to
7f1e1f4
Compare
7f1e1f4 to
6004f51
Compare
6004f51 to
f4dfac1
Compare
|
/patch |
|
Pull request #37028 added to Project: "Patch 7.10.1" |
Proposed changes (including videos or screenshots)
This PR modifies the app slash command registration method to improve the lifecycle management of slash commands during app initialization, disabling, and purging operations.
Changes Overview
useAppSlashCommands.ts)• Removed command/disabled from the event listener array - this prevents unnecessary command cleanup when apps are disabled, allowing commands to remain available during temporary app states
AppManager.ts)• Moved command registration from app enabling to app initialization phase
• Modified app disabling process to preserve slash commands (keepSlashcommands: true)
• Only remove commands upon uninstalling
Issue(s)
Steps to test or reproduce
Further comments
ARCH-1787