Skip to content
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

[$500] mWeb - Amount only is seen on header in IOU details page if navigated through deep link #34346

Closed
1 of 6 tasks
kbecciv opened this issue Jan 11, 2024 · 121 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Jan 11, 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: v1.4.24-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Create a new account, lets call it Account A
  2. Create another new account, account B
  3. Send an IOU from account A to account B and go to IOU details page and copy the URL
  4. Sign in with account B
  5. Navigate to the copied URL on step 3
  6. Observe the IOU header in the IOU details page

Expected Result:

There should be "From ... " under the header

Actual Result:

  1. Only the amount is visible
  2. Getting Not Found View
  3. After reload, the [Deleted message] title can be briefly seen
  4. Money request info is missing and had to reload another time to get the correct view

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6338722_1704969427565.Screen_Recording_20240110_223735_Chrome.mp4
Screen.Recording.2024-02-18.at.2.01.32.PM.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013f1ca3c28189a2c4
  • Upwork Job ID: 1745430304265371648
  • Last Price Increase: 2024-01-18
  • Automatic offers:
    • s77rt | Reviewer | 0
    • shahinyan11 | Contributor | 0
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 11, 2024
@melvin-bot melvin-bot bot changed the title mWeb - Amount only is seen on header in IOU details page if navigated through deep link [$500] mWeb - Amount only is seen on header in IOU details page if navigated through deep link Jan 11, 2024
Copy link

melvin-bot bot commented Jan 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~013f1ca3c28189a2c4

Copy link

melvin-bot bot commented Jan 11, 2024

Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

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

melvin-bot bot commented Jan 11, 2024

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

@shahinyan11
Copy link

@kbecciv I encountered different behavior when performing the above steps. I see Hmm... it's not here page

@melvin-bot melvin-bot bot added the Overdue label Jan 13, 2024
@abeebridwan
Copy link

Proposal

Please re-state the problem that we are trying to solve in this issue.

The IOU header is incomplete in the IOU details page of Account B when accessed through the IOU details page URL of Account A. Subtitle("From ... ") under the Header is not rendered/missing.
This is noteworthy because an IOU has already been sent from Account A to Account B.

What is the root cause of that problem?

parentReport is not filled with the correct data. parentReport got its data from Onyx that didn't return the correct data when the IOU details page is navigate to with the url. The report in not Onyx.
image

What changes do you think we should make in order to solve the problem?

Since contributors can't work on Onyx without permission--- according to slack comms. Hence, Correct data should be filled/send in Onyx for IOU detail page to access when the request is made. The parentReport should be made available on Onyx...

What alternative solutions did you explore? (Optional)

@s77rt
Copy link
Contributor

s77rt commented Jan 14, 2024

I'm not able to reproduce this one. But I think user B should just wait for the pusher events from the server to get the iou report.

@melvin-bot melvin-bot bot removed the Overdue label Jan 14, 2024
@s77rt
Copy link
Contributor

s77rt commented Jan 14, 2024

@abeebridwan Were you able to reproduce this? If so can you confirm if waiting fixes the issue?

@abeebridwan
Copy link

@s77rt
yes I am able to reproduce ... everytime I tried
will check if waiting fixes it

@abeebridwan
Copy link

@abeebridwan Were you able to reproduce this? If so can you confirm if waiting fixes the issue?

@s77rt even after waiting for 10secs ... still not changes
didn't fix it

@abeebridwan
Copy link

abeebridwan commented Jan 16, 2024

@s77rt
same happening on Desktop chrome ... for both(account A and Account B)
https://www.loom.com/share/f96bb7a1803a46268b7fcb647ef553a0

@s77rt
Copy link
Contributor

s77rt commented Jan 16, 2024

@abeebridwan Would refreshing the page fix the issue? I think we are just missing a case where we should re-render the header component

Copy link

melvin-bot bot commented Jan 18, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Jan 18, 2024
@lschurr
Copy link
Contributor

lschurr commented Jan 18, 2024

Any update on this one @s77rt @abeebridwan?

@melvin-bot melvin-bot bot removed the Overdue label Jan 18, 2024
@s77rt
Copy link
Contributor

s77rt commented Jan 18, 2024

Just retested. I was able to reproduce this. For account B I had to close all the tabs so I don't get any pusher events. If we directly navigate to the chat report, the server won't send us pusher events for the iou report (the parent of that chat report).

This should be internal. cc @lschurr

PS: I think we can also fix this at the frontend level e.g. open iou report if it does not exist but I think it's better to at least check if we can get this fixed with pusher events

Screen.Recording.2024-01-18.at.5.35.53.PM.mov

@s77rt
Copy link
Contributor

s77rt commented Jan 18, 2024

Copy link

melvin-bot bot commented Jan 18, 2024

Triggered auto assignment to @rlinoz, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@abeebridwan
Copy link

abeebridwan commented Jan 21, 2024

Just retested. I was able to reproduce this. For account B I had to close all the tabs so I don't get any pusher events. If we directly navigate to the chat report, the server won't send us pusher events for the iou report (the parent of that chat report).

This should be internal. cc @lschurr

PS: I think we can also fix this at the frontend level e.g. open iou report if it does not exist but I think it's better to at least check if we can get this fixed with pusher events

Screen.Recording.2024-01-18.at.5.35.53.PM.mov

@s77rt I don't there is a pusher event for the parent report... if i am correct.. fixing it in the front-end won't be the optimal way

@melvin-bot melvin-bot bot added the Overdue label Jan 21, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 3, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 11, 2024
@rlinoz
Copy link
Contributor

rlinoz commented Jun 11, 2024

on hold.

@rlinoz rlinoz added the Monthly KSv2 label Jun 11, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 11, 2024
@rlinoz rlinoz removed the Weekly KSv2 label Jun 11, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 15, 2024
@s77rt
Copy link
Contributor

s77rt commented Jul 15, 2024

Same ^

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
@shahinyan11
Copy link

@rlinoz @s77rt Hi there. Do we have any updates? The issue on which we hold was closed

@s77rt
Copy link
Contributor

s77rt commented Jul 24, 2024

@shahinyan11 Can you still reproduce the bug on #34528?

Copy link

melvin-bot bot commented Aug 5, 2024

📣 @ShaheFS! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@shahinyan11
Copy link

@shahinyan11 Can you still reproduce the bug on #34528?

No I could not reproduce

@lschurr
Copy link
Contributor

lschurr commented Aug 5, 2024

Sounds like this is fixed - Is there a PR for this one or it was fixed elsewhere? Are any payments due?

@s77rt
Copy link
Contributor

s77rt commented Aug 5, 2024

@shahinyan11 Can you reproduce the bug reported in this issue? If so can you please update your proposal (if necessary)

@shahinyan11
Copy link

@shahinyan11 Can you reproduce the bug reported in this issue? If so can you please update your proposal (if necessary)

There have been updates and at the moment there is no Request money option. I tested the flow using Submit Expenses and the problem does not exist.

@s77rt
Copy link
Contributor

s77rt commented Aug 16, 2024

Let's close this (no longer reproducible) cc @rlinoz

@rlinoz
Copy link
Contributor

rlinoz commented Aug 16, 2024

Closing, thanks!

@rlinoz rlinoz closed this as completed Aug 16, 2024
@shahinyan11
Copy link

@rlinoz @s77rt Should not I receive any payment for this? I spent time on this issue and opened PR

@rlinoz
Copy link
Contributor

rlinoz commented Aug 19, 2024

Sorry I didn't remember that there was a PR open for this one, you are right.

@rlinoz rlinoz reopened this Aug 19, 2024
@rlinoz rlinoz added Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 and removed Monthly KSv2 labels Aug 19, 2024
@rlinoz rlinoz changed the title [HOLD on #34528][$500] mWeb - Amount only is seen on header in IOU details page if navigated through deep link [$500] mWeb - Amount only is seen on header in IOU details page if navigated through deep link Aug 19, 2024
@rlinoz
Copy link
Contributor

rlinoz commented Aug 19, 2024

Hey @lschurr this is fixed by something else apparently, but we had a PR in this one, so I think we are just waiting payment now to close it.

@lschurr
Copy link
Contributor

lschurr commented Aug 19, 2024

Ok, the original bug was fixed here: #34528
But this PR was opened by @shahinyan11 and reviewed by @s77rt

So we'll pay as normal via Upwork.

@lschurr
Copy link
Contributor

lschurr commented Aug 19, 2024

Payment summary:

@lschurr lschurr closed this as completed Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
No open projects
Archived in project
Development

No branches or pull requests

8 participants