-
Notifications
You must be signed in to change notification settings - Fork 11k
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
fix: Multi-step modals closing unexpectedly #33158
Conversation
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 320a8dd The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33158 +/- ##
========================================
Coverage 59.33% 59.33%
========================================
Files 2547 2546 -1
Lines 63258 63247 -11
Branches 14221 14220 -1
========================================
- Hits 37531 37529 -2
+ Misses 23025 23016 -9
Partials 2702 2702
Flags with carried forward coverage won't be shown. Click here to find out more. |
9c825eb
to
930bf9c
Compare
930bf9c
to
f5134f5
Compare
/patch |
after that just run |
/patch |
Pull request #33178 added to Project: "Patch 6.11.2" |
…ove/threadMetrics * 'develop' of github.com:RocketChat/Rocket.Chat: (49 commits) feat: add `sidepanelNavigation` to Feature preview list (#33156) refactor: Realtime Monitoring Counters to TS (#33182) fix: restore tooltips to units Multiselect (#33174) test: Add unit test for RoomMenu options (#32891) chore: remove notifyListener call that was causing startup issues (#33154) fix: Multi-step modals closing unexpectedly (#33158) Revert "refactor: Realtime Monitoring Counters to TS" (#33170) refactor: Realtime Monitoring Counters to TS (#33166) refactor: Uses `source` instead of `room` to render the `OmnichannelRoomIcon` (#33118) refactor: Realtime Monitoring Overviews to TS (#33167) test: Add e2e tests for teams multi-step modals (#33168) feat: add Advanced settings accordion to `EditRoomInfo` (#33114) chore: Revive Livechat Storybook (#33137) refactor: Realtime `Doughnout Charts` to TS (#33092) feat: create contact endpoint (#32693) chore: remove left streaming code (#33039) fix: show only relevant userInfoActions for mentioned non-members (#31525) feat: Setting for enabling files encryption and fix whitelist media types stopping E2EE uploads (#33003) refactor: Replace proxy functions from `LivechatTyped` class with direct calls (#33110) Revert "fix: Inconsistent Markdown Formatting in Custom Status Field" (#33127) ...
Introduced here: #32482
Proposed changes (including videos or screenshots)
With the introduction of the
onClose
call in theuseEffect
cleanup function inGenericModal
, multi-step modals usingGenericModal
started to close unexpectedly. This PR aims to remove the usage of theGenericModal
in favor ofGenericModalSkeleton
to solve this issue and keep the loading consistency.Issue(s)
Steps to test or reproduce
Further comments
CORE-660