-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: Search term is lost #32542
Fix: Search term is lost #32542
Conversation
@aimane-chnaif Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Can we avoid this? This doesn't happen on Members page because it's cleared on cleanup function so inconsistent. Someone will report this as regression Screen.Recording.2023-12-06.at.3.36.41.PM.mov |
@aimane-chnaif You mean if a user from any screen (not the workspace member page) goes to the workspace invite page, the input will be cleaned, right? |
right |
ccdedbf
to
7142a45
Compare
@aimane-chnaif Updated to fix this one #32542 (comment). But after merging the latest main, cannot reproduce it in dev environment because I encounter another bug when pressing on message link |
yes, it's known. I can test manually |
@@ -123,6 +124,8 @@ const modalScreenListeners = { | |||
Modal.setModalVisibility(true); | |||
}, | |||
beforeRemove: () => { | |||
// Clear search input (WorkspaceMembersPage) when modal is closed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WorkspaceInvitePage is more accurate. WorkspaceMemberPage already clears input on useEffect cleanup
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Ah @rlinoz you don't need to fill reviewer checklist as I did already |
Oh I didn't know that, I thought both of us had to, but thanks! |
This feels so much better than before, thanks! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.9-0 🚀
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.9-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.9-5 🚀
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment for reference
Details
Fixed Issues
$ #22534
PROPOSAL: #22534 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screencast.from.06-12-2023.17.02.01.webm
Android: mWeb Chrome
Screencast.from.06-12-2023.14.18.04.webm
iOS: Native
iOS: mWeb Safari
Screencast.from.06-12-2023.14.18.04.webm
MacOS: Chrome / Safari
Screencast.from.06-12-2023.14.16.40.webm
MacOS: Desktop
Screencast.from.06-12-2023.16.22.03.webm