-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-12-20] [$250] Web - Workspace - Central pane gets blank after resizing and clicking back icon #53395
Comments
Triggered auto assignment to @mallenexpensify ( |
Triggered auto assignment to @puneetlath ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@mallenexpensify 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. |
Re-sizing doesn't feel like a primary flow that is blocker-worthy to me. Going to demote. |
Job added to Upwork: https://www.upwork.com/jobs/~021863651912898483255 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Edited by proposal-police: This proposal was edited at 2024-12-02 18:44:37 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The central pane is blank. The same happens with other workspace options e.g. Members, Categories What is the root cause of that problem?when we resize on a screen that have a small screen width, when going from the list workspace to the detail workspace, the route will be What changes do you think we should make in order to solve the problem?We can add a In case What alternative solutions did you explore? (Optional) |
@ntdiary , 👀 on @nkdengineer 's proposal above plz. I was able to reproduce, will add to #quality as low. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Central pane gets blank after resizing and clicking back icon What is the root cause of that problem?When we resize to a mobile screen and click the back arrow button, it navigates from Screen.Recording.2024-12-03.at.12.15.48.movWhen we then resize to a desktop screen, we remain on What changes do you think we should make in order to solve the problem?To resolve this issue, when we resize to a desktop screen, we must update the screen from We able use that logic to apply for this solution some thing like that: App/src/libs/Navigation/AppNavigator/createCustomFullScreenNavigator/CustomFullScreenRouter.tsx Lines 54 to 55 in 3ee8c25
//src/pages/workspace/WorkspaceInitialPage.tsx#L159
const isNarrowLayout = getIsNarrowLayout();
useEffect(() => {
if (isNarrowLayout || activeRoute !== SCREENS.WORKSPACE.INITIAL) {
return;
}
Navigation.navigate(ROUTES.WORKSPACE_PROFILE.getRoute(policyID));
// or
// Navigation.navigate(ROUTES.WORKSPACE_INITIAL.getRoute(policyID));
}, [activeRoute, isNarrowLayout, policyID]); Note: isNarrowLayout can be used for something like this We must check that POCScreen.Recording.2024-12-03.at.12.26.01.movWhat alternative solutions did you explore? (Optional) |
under review. :) |
For some reason after #49937 this function is no longer getting called on resize App/src/libs/Navigation/AppNavigator/createCustomFullScreenNavigator/CustomFullScreenRouter.tsx Lines 88 to 92 in b067baa
It should be triggered by this line
|
Can be related to #53445 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.75-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-12-20. 🎊 For reference, here are some details about the assignees on this issue:
|
@ntdiary @mallenexpensify @ntdiary The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@mallenexpensify)
|
Contributor+: @ntdiary owed $250 via NewDot
Not creating a test case. Thx! |
$250 approved for @ntdiary |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.69-4
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
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): N/A
Issue reported by: Applause Internal Team
Action Performed:
and log in
Expected Result:
Workspace profile is displayed in the central pane
Actual Result:
The central pane is blank. The same happens with other workspace options e.g. Members, Categories
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: