Skip to content

[$250] Expense - Expense report stays "pinned" to LHN after it is exported to CSV #47160

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

Closed
6 tasks done
IuliiaHerets opened this issue Aug 9, 2024 · 29 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Reviewing Has a PR in review

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Aug 9, 2024

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: v9.0.18-7
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Submit an expense and pay it.
  4. Go to Search > Shared.
  5. Select the paid expense in Step 3.
  6. Click on the dropdown > Download.
  7. Return to Inbox.
  8. Open any report other than the paid expense report in Step 3.

Expected Result:

The expense report will not remain in LHN when another report is opened.

Actual Result:

Expense report stays "pinned" to LHN after it is exported to CSV.
It remains in LHN even when another report is opened.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6566540_1723198262652.20240809_180517.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017f803bf9c62b72a5
  • Upwork Job ID: 1823174429757887078
  • Last Price Increase: 2024-08-20
  • Automatic offers:
    • rayane-djouah | Reviewer | 103650314
Issue OwnerCurrent Issue Owner: @rayane-djouah
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 9, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

Triggered auto assignment to @VictoriaExpensify (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
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@IuliiaHerets
Copy link
Author

@VictoriaExpensify 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

@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

@VictoriaExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@VictoriaExpensify
Copy link
Contributor

Agree this is an issue we should fix!

@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@VictoriaExpensify VictoriaExpensify added the External Added to denote the issue can be worked on by a contributor label Aug 13, 2024
@melvin-bot melvin-bot bot changed the title Expense - Expense report stays "pinned" to LHN after it is exported to CSV [$250] Expense - Expense report stays "pinned" to LHN after it is exported to CSV Aug 13, 2024
Copy link

melvin-bot bot commented Aug 13, 2024

Job added to Upwork: https://www.upwork.com/jobs/~017f803bf9c62b72a5

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 13, 2024
Copy link

melvin-bot bot commented Aug 13, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah (External)

@rayane-d
Copy link
Contributor

Waiting on proposals

@burczu
Copy link
Contributor

burczu commented Aug 20, 2024

Hi, I’m Bartek from Callstack and I would like to work on this issue.

@melvin-bot melvin-bot bot added the Overdue label Aug 20, 2024
@rayane-d
Copy link
Contributor

@VictoriaExpensify - Let's assign @burczu ^^ Thanks

@melvin-bot melvin-bot bot removed the Overdue label Aug 20, 2024
Copy link

melvin-bot bot commented Aug 20, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@burczu
Copy link
Contributor

burczu commented Aug 23, 2024

Hmm... frankly I'm not able to reproduce the issue:

Screen.Recording.2024-08-23.at.08.15.45.mov

But, there is a distinction comparing to steps to reproduce posten in this issue - I can't see the "Shared" option in the search panel. Is it something I can turn on in the Workspace settings or smth?

@melvin-bot melvin-bot bot added the Overdue label Aug 23, 2024
@rayane-d
Copy link
Contributor

@burczu - I think "Outstanding" / "Approved" statuses are the new equivalent to "Shared" status

@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2024
@rayane-d
Copy link
Contributor

The PR introducing the new status bar was reverted. you can merge main to get the older options

@burczu
Copy link
Contributor

burczu commented Aug 23, 2024

@rayane-djouah Synced with latest main and indeed the "Shared" status shows up now, thanks. Moreover the bug occurs in this case... so I'll try to find solution now.

@VictoriaExpensify Could you please assign me?

@rayane-d
Copy link
Contributor

@VictoriaExpensify is OOO, I will ask in Slack for someone else

Copy link

melvin-bot bot commented Aug 23, 2024

📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Aug 23, 2024

@burczu @VictoriaExpensify @rayane-djouah 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!

Copy link

melvin-bot bot commented Aug 26, 2024

@burczu, @VictoriaExpensify, @rayane-djouah Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Aug 26, 2024
@rayane-d
Copy link
Contributor

@burczu is working on this one

@melvin-bot melvin-bot bot removed the Overdue label Aug 26, 2024
@burczu
Copy link
Contributor

burczu commented Aug 28, 2024

I've done my research and I suspect this issue comes from the backend side.

Before we export the expense report as CSV, the notificationPreference of it is set to "hidden". After we download the report in the Search -> Shared panel, the backend pushes the changes to the report and the notificationPreference is changed to "always" along with additional comment added to the report: "exported this report to CSV" (I've checked and it seems no Onyx action is called on the frontend side that may change these values) - that's the reason it stays "pinned" from now on. Please take a look at the video below:

Screen.Recording.2024-08-28.at.09.16.50.mov

@trjExpensify
Copy link
Contributor

I'm a bit confused by the issue, I don't think it's overly clear from the OP what priorityMode is being used, nor does this screenshot make it seem as though the report is pinned or the user is in #focus mode.

Image

@melvin-bot melvin-bot bot added the Overdue label Aug 30, 2024
@trjExpensify
Copy link
Contributor

CC'ing a few peeps for vis and context on these features: @deetergp @rlinoz @JmillsExpensify

@rayane-d
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2024
Copy link

melvin-bot bot commented Sep 2, 2024

@burczu, @VictoriaExpensify, @rayane-djouah Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2024
@rayane-d
Copy link
Contributor

rayane-d commented Sep 2, 2024

I'm unassigning myself as this needs to be fixed internally on the backend. Please let me know if you need anything from me

@melvin-bot melvin-bot bot removed the Overdue label Sep 2, 2024
@rayane-d rayane-d removed their assignment Sep 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 5, 2024
@VictoriaExpensify
Copy link
Contributor

Oof yeah, I think this needs some further triaging, actually. I'm going to have another play around between the Focus and Most Recent modes and get more clarity on the issue

@melvin-bot melvin-bot bot removed the Overdue label Sep 6, 2024
@VictoriaExpensify VictoriaExpensify removed the External Added to denote the issue can be worked on by a contributor label Sep 6, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 9, 2024
@rlinoz
Copy link
Contributor

rlinoz commented Sep 9, 2024

I think the wording is a bit confusing since the report is not pinned, but adding the action is making you "join" the report as @burczu stated here:

the backend pushes the changes to the report and the notificationPreference is changed to "always" along with additional comment added to the report: "exported this report to CSV"

I can take this one!

@rlinoz rlinoz self-assigned this Sep 9, 2024
@melvin-bot melvin-bot bot removed the Overdue label Sep 9, 2024
@rlinoz rlinoz added the Reviewing Has a PR in review label Sep 10, 2024
@rlinoz
Copy link
Contributor

rlinoz commented Sep 11, 2024

PR is deployed and this should now be fixed.

@rlinoz rlinoz closed this as completed Sep 11, 2024
@github-project-automation github-project-automation bot moved this from Polish to Done in [#whatsnext] #wave-collect Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Reviewing Has a PR in review
Projects
No open projects
Status: Done
Development

No branches or pull requests

6 participants