-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] [$500][not here] Prevent "Hmm... It's not here" when logging in by immediately navigating to a report user has access to #55721
Comments
Job added to Upwork: https://www.upwork.com/jobs/~021882791476183455793 |
Current assignee @muttmuure is eligible for the NewFeature assigner, not assigning anyone new. |
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to Design team member for new feature review - @shawnborton ( |
Contributor details |
📣 @OmarKoueifi! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The issue arises when a user navigates to a report they do not have access to (e.g., due to permission issues or the report being restricted). Instead of a smooth fallback mechanism, the user currently sees a message that says: "Hmm... it's not here. You don't have access to this chat". What is the root cause of that problem?The root cause lies in the What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Prevent the "Hmm... It's not here" message during login by promptly navigating the user to a report they can access What is the root cause of that problem?New requirement What changes do you think we should make in order to solve the problem?Introduce a new prop, redirectLastAccessedReport, in the FullPageNotFoundView component. This prop will handle redirection to the most recently accessed report when enabled. add following code at
And when calling FullPageNotFoundView, pass redirectLastAccessedReport as true for redirection where required Examples: App/src/pages/home/ReportScreen.tsx Line 793 in b59f23b
2-
3-
4-
5- Line 196 in 5ec2edd
6- App/src/pages/ErrorPage/NotFoundPage.tsx Line 26 in 5ec2edd
Extend to Other Components What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Automated Test Scenarios Validate that upon login: Note: I have tested the following links, and they are functioning correctly after the changes. Videos: Before: 55721-Before-1.mp4After: 55721-After-1.mp4 |
@rushatgabhane looks like you've got a few proposals to review :D |
Prevent It's not here message when logging in #55721
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-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 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
This is a new feature. Test Access When Logged Out and Switching Accounts
Expected Result: The app should redirect to your most recently accessed report (or the Concierge report) rather than displaying "Hmm... it's not here". Test Access When Already Signed In (Unauthorized Report)
Expected Result: The app should display "Hmm... it's not here" to indicate access is not permitted. Test Access When Already Signed In (Authorized Report)
Expected Result: The report opens normally without any redirection or error messages. |
Heading out on leave - adding auto-assigner |
Triggered auto assignment to @dylanexpensify ( |
Payment summary: Contributor: @OmarKoueifi $250 via Upwork Please apply/request! |
$500 approved for @rushatgabhane |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: ?
Slack conversation #quality:
Action Performed:
Expected Result:
I'd expect your most recently accessed report, or maybe even Concierge report, would be open instead of being greeted with "Hmm... it's not here"
Actual Result:
See that after you log in, you immediately are greeted with "Hmm... it's not here"
- Example logs from my expensifail account
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: