You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-11-14] [$250] Search - Search icon is not responsive after tapping on room mention in Chat and exit chat #50317
Version Number: 9.0.45-2 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers):applausetester+pso@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Launch New Expensify app.
Go to workspace chat.
Send a message containing #admins room mention.
Go to Search > Chat.
Tap on the #admins mention.
Swipe to the right to close the chat.
Tap on the Search icon.
Expected Result:
User should be able to navigate to Search after swiping to right to close the room chat when it is opened from Search.
Actual Result:
Search icon is not responsive after tapping on room mention in Chat and closing the chat.
@alexpensify 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
Please re-state the problem that we are trying to solve in this issue.
Search icon is not responsive after tapping on room mention in Chat and exit chat
What is the root cause of that problem?
The first issue is that when we navigate back by swiping, we are returned to the Home screen instead of the Search screen. The second issue is that clicking on #admin or any room name on wide screens should open the report in the RHP, rather than navigating to it directly. It's because we navigate to ROUTES.REPORT_WITH_ID instead of ROUTES.SEARCH_REPORT
What changes do you think we should make in order to solve the problem?
When a room mention is clicked from the search pane to address both issues, we should open the report in the RHP instead of navigating directly to it. We can do something like this
Activity
melvin-bot commentedon Oct 6, 2024
Triggered auto assignment to @alexpensify (
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.IuliiaHerets commentedon Oct 6, 2024
We think that this bug might be related to #wave-control
IuliiaHerets commentedon Oct 6, 2024
@alexpensify 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
Nodebrute commentedon Oct 6, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Search icon is not responsive after tapping on room mention in Chat and exit chat
What is the root cause of that problem?
The first issue is that when we navigate back by swiping, we are returned to the Home screen instead of the Search screen. The second issue is that clicking on #admin or any room name on wide screens should open the report in the RHP, rather than navigating to it directly. It's because we navigate to
ROUTES.REPORT_WITH_IDinstead ofROUTES.SEARCH_REPORTApp/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx
Line 76 in 6d8e739
What changes do you think we should make in order to solve the problem?
When a room mention is clicked from the search pane to address both issues, we should open the report in the RHP instead of navigating directly to it. We can do something like this
In the above code we are checking with
getTopmostCentralPaneRoute === searchpanelif yes then we will navigate toROUTES.SEARCHNote
This is just pseudo-code, and we can refine it further in the PR
Result ios
Screen.Recording.2024-10-07.at.2.10.18.AM.mov
Result (wide screen)
Screen.Recording.2024-10-07.at.2.10.37.AM.mov
What alternative solutions did you explore? (Optional)
Another alternative solution would be to use
getUrlWithBackToParamApp/src/ROUTES.ts
Lines 266 to 269 in 6d8e739
and pass the active route here as backTo param
App/src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx
Line 76 in 6d8e739
Other minor details can be addressed in the PR.
alexpensify commentedon Oct 7, 2024
Adding this one to my test list and will get to it later this week.
melvin-bot commentedon Oct 11, 2024
@alexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
alexpensify commentedon Oct 11, 2024
Still on my testing list
alexpensify commentedon Oct 15, 2024
No update
56 remaining items
melvin-bot commentedon Nov 18, 2024
@AndrewGable, @alexpensify, @rayane-djouah, @Nodebrute Whoops! This issue is 2 days overdue. Let's get this updated quick!
alexpensify commentedon Nov 19, 2024
Thanks! I'll work on the QA test prep later this week.
alexpensify commentedon Nov 22, 2024
Other GHs have been a priority; I'll work on the regression test soon.
melvin-bot commentedon Nov 25, 2024
@AndrewGable, @alexpensify, @rayane-djouah, @Nodebrute Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
alexpensify commentedon Nov 25, 2024
With the slower week, I'll be working on the last step soon.
alexpensify commentedon Dec 3, 2024
Closing - all set here