Open lanitochka17 opened 1 month ago
Triggered auto assignment to @muttmuure (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@muttmuure FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
We think that this bug might be related to #wave-control
Edited by proposal-police: This proposal was edited at 2024-09-30 16:24:52 UTC.
iOS Search - Rename page opens twice when renaming search and opening Rename page again
We haven't dismiss modal yet
Add Navigation.dismissModal();
in
https://github.com/Expensify/App/blob/main/src/pages/Search/SavedSearchRenamePage.tsx#L27-L34
N/A
Rename page opens twice when renaming search and opening Rename page again
We are not dismissing the modal while navigating to central pane here https://github.com/Expensify/App/blob/a9224f30ef9643644d20a90bc4488371c5f542ff/src/pages/Search/SavedSearchRenamePage.tsx#L28-L33
We can add Navigation.dismissModal()
here
https://github.com/Expensify/App/blob/a9224f30ef9643644d20a90bc4488371c5f542ff/src/pages/Search/SavedSearchRenamePage.tsx#L28-L33
const applyFiltersAndNavigate = () => {
SearchActions.clearAdvancedFilters();
Navigation.dismissModal();
Navigation.navigate(
ROUTES.SEARCH_CENTRAL_PANE.getRoute({
query: q,
name: newName,
}),
);
};
@user Your proposal will be dismissed because you did not follow the proposal template.
Note for C+ we both posted the proposal in almost the same second and this is @drminh2807's proposal before edits
@muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@muttmuure Still overdue 6 days?! Let's take care of this!
@muttmuure 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
@muttmuure 10 days overdue. I'm getting more depressed than Marvin.
@muttmuure this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
This issue has not been updated in over 14 days. @muttmuure eroding to Weekly issue.
Job added to Upwork: https://www.upwork.com/jobs/~021852037932647375330
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 (External
)
Rename page opens twice. Another one is in the background of the current Rename page
We navigate to the new query search page without dismissing the rename page.
Another problem is the old search page with the old query name still appears if we click on back button twice after renaming a saved search.
Navigation.dismissModal();
UP
to remove the old search page from the navigation stack. We need to introduce a new param isViewingSearch
for the route of SavedSearchRenamePage
the same param for getOverflowMenu
function here and pass this to getRoute
function
Navigation.navigate(ROUTES.SEARCH_SAVED_SEARCH_RENAME.getRoute({name: encodeURIComponent(itemName), jsonQuery: inputQuery, isViewingSearch}));
isViewingSearch
param to getOverflowMenu
function here menuItems={SearchUIUtils.getOverflowMenu(
item.title ?? '',
Number(item.hash ?? ''),
item.query ?? '',
showDeleteModal,
true,
closeMenu,
currentSavedSearch?.hash === item.hash,
)}
UP
if isViewingSearch
param is trueNavigation.navigate(
ROUTES.SEARCH_CENTRAL_PANE.getRoute({
query: q,
name: newName?.trim(),
}),
isViewingSearch === 'true' ? CONST.NAVIGATION.TYPE.UP : undefined
);
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @dukenv0307 π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @Nodebrute π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.41-3 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
Rename page will open once
Actual Result:
Rename page opens twice. Another one is in the background of the current Rename page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/22d7969e-157b-401a-af1a-4d8b5495ac08
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dukenv0307