-
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
[CP Staging] Remove policyIDs route param when workspace is deleted #47269
Conversation
@alitoshmatov 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] |
Reviewer Checklist
Screenshots/VideosAndroid: Nativehttps://github.com/user-attachments/assets/f4911258-12cc-4771-89bf-e6df7877b547Android: mWeb ChromeScreen.Recording.2024-08-13.at.4.39.01.AM.moviOS: NativeScreen.Recording.2024-08-13.at.4.46.12.AM.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-08-13.at.4.04.46.AM.movMacOS: DesktopScreen.Recording.2024-08-13.at.4.10.45.AM.mov |
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.
While my iOS build is constantly failing (trying to rebuild) but still this PR doesn't touch a native file and the changes look good on Android so this looks LGTM
@aldo-expensify 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] |
iOS did built successfully, updated the video 🥳 |
const {q, ...rest} = currentSearchParams; | ||
Navigation.navigate(ROUTES.SEARCH_CENTRAL_PANE.getRoute({query: q, ...rest})); | ||
const policy = PolicyUtils.getPolicy(currentSearchParams?.policyIDs); | ||
Navigation.navigate(ROUTES.SEARCH_CENTRAL_PANE.getRoute({query: q, ...rest, policyIDs: policy ? currentSearchParams?.policyIDs : undefined})); |
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.
NAB: I think it would have been a bit cleaner/consistent if you had done:
++ const {q, policyIDs, ...rest} = currentSearchParams;
-- const {q, ...rest} = currentSearchParams;
This will need to be CP'd, right? |
Yup, I will request the CP now |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] Remove policyIDs route param when workspace is deleted (cherry picked from commit 4b30725) (CP triggered by Beamanator)
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.19-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@marcochavezf @aldo-expensify @allgandalf anyone free to test this on staging? 🙏 |
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
Note: This PR probably hasn't introduced the recession. The regression has been introduced at an earlier point, and the CI system will report any PR that follows this faulty PR as a regression. |
Makes sense to me, removing the deploy blocker from this PR 👍 |
FYI I believe this was deployed to prod yesterday, from this checklist - #47219 |
cc @nkdengineer
Details
Check if the workspace still exists before creating a route with the non-existent policyID
Fixed Issues
$ #47263
PROPOSAL: #47263 (comment)
Tests
Offline tests
N/A
QA Steps
Same as test steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-08-12.at.4.19.09.p.m.mov
MacOS: Desktop