-
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
[$250] Web - LHN - LHN shows empty without any placeholder #54569
Comments
Triggered auto assignment to @bfitzexpensify ( |
Edited by proposal-police: This proposal was edited at 2025-01-08 12:42:29 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
so the empty state view can be displayed in all devices, not only small screens.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
Result |
We initially implemented logic to add Concierge to the LHN when the report list was empty in PR #19945, which aligns with the expected behavior in this issue. However, that logic was removed in PR #37361, where we shifted to displaying an empty state view when no reports were available in the LHN. While this works as intended for smaller screens, we didn't implement it in wide screen. Would you like to display the empty state view on wide screens as well, or should we still keep the expected behavior outlined in the OP? |
Job added to Upwork: https://www.upwork.com/jobs/~021873766942117852803 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
Let's go with the former for consistency |
@allroundexperts, @bfitzexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triggered auto assignment to @shawnborton ( |
Best to get some Design eyes on this. Summary from this comment - #54569 (comment):
|
Before we dive too far into this, do we all generally agree that even making this scenario happen is a pretty extreme edge case as it requires two separate tabs to be open and it requires you to navigate to an invalid route? That being said, I don't think I would spend too much time on this, I think for wide screens I would just select the Concierge chat or last chat that was accessed in this particular case. cc @Expensify/design for thoughts. |
Very much agree. Given we also pin chats by default it feels like a very very uncommon use case. |
No. We didn't need this step to reproduce the bug. Just need to follow these steps:
Additionally, we already have an empty state view for smaller screens. Applying it to wide screens would only require a few lines of code (2–3 lines). |
That being said, we need to find a way to actually get the Search icon into that mock above. It should probably be in the top right on desktop like it is on a view that actually has a chat. |
@shawnborton, @allroundexperts, @bfitzexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Ok yeah I'm down with that. Agree with everything Shawn said. For the it's not here screen, do they really not have access to it or is it just a bad path? Do we know? Should we consider updating that text to something like this?
Or something? 🤷♂️ |
I think that's a nice suggestion. |
I like that suggestion a lot too. Also agree with you Shawn that I don't think it's that bad with two "empty states" cause it's a reflection of focus mode and an error. |
Could someone update the original post to include the expected UI based on the lengthy discussion? I believe this would be beneficial for ensuring clarity and alignment among all contributors, making it easier to reference and implement the agreed-upon solution. |
@shawnborton @allroundexperts @bfitzexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
I updated the original post with the expected screenshot and some other notes. Let's start getting proposals for this cc @bfitzexpensify @allroundexperts. |
Proposal updated
|
@shawnborton I think your text on the error page is a little darker than text-supporting? But it's noted correctly and everything else looks great. |
Oopsies, fixed! |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@truph01 can you expand on how you plan on adding the search icon to the Not Found page? Also it should be in the top right.
This section isn't completed |
With the not here page in the ReportScreen, I use:
The result and the detailed code changes are included in my proposal
I believe this is a UI-related issue, so testing may not be necessary. |
Thanks, can you update your proposal with those details? Please include explanations like that for your changes in your proposals. Do not just link to a branch.
The UI can be tested. Let's add a unit test to verify the the |
@arosiclair I updated my proposal. |
@arosiclair Are unit tests considered part of the automated tests? I was under the impression that automated tests are done using a UI tool like Selenium. |
Thanks 👍
"Automated tests" are referring to unit tests with Jest. We don't use any tools like Selenium. The new guidelines are here. |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Asked about the translation here https://expensify.slack.com/archives/C01GTK53T8Q/p1736783498851599?thread_ts=1736760094.984179&cid=C01GTK53T8Q |
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: v9.0.78-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Expected Result:
If LHN is empty, we should show the same empty state we use on mobile. It should look like this:
Note that we also want to slightly update the text below the "Hmm... it's not here" text to use our textSupporting color, with a small copy update as well. We also need to make sure there is a search icon in the top right that launches the search router.
Actual Result:
There's no placeholder and it shows empty screen.
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: