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

[HOLD for payment 2023-09-20] [$500] IOU - "/edit/subdirectory" from the amount page shows blank RHP #26014

Closed
1 of 6 tasks
lanitochka17 opened this issue Aug 26, 2023 · 67 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Aug 26, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open any chat
  2. Open any request money room ( request one if there is no previous requests )
  3. Open the Money request room
  4. Open the details room of one request
  5. Click on the amount to open the amount page
  6. Now go and modify the url to end with "/edit/subdirectory", you can add any subdirectory you want except "amount"

Expected Result:

  1. Redirect the user to the previous room. ( this is what happened when you try to open the "/edit/amount" from a deleted request room )
  2. Display the "Hmm... it's not here" page

Actual Result:

A blank RHP is opened

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • Windows / Chrome
  • MacOS / Desktop

Version Number: 1.3.57-5

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Screencast.from.18-08-23.02_51_16.1.webm
Recording.2992.mp4

Expensify/Expensify Issue URL:

Issue reported by: @Ahmed-Abdella

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692317384241769

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01480fed14ee7c9bd7
  • Upwork Job ID: 1696159404102758400
  • Last Price Increase: 2023-08-28
  • Automatic offers:
    • dukenv0307 | Contributor | 26400484
    • Ahmed-Abdella | Reporter | 26400485
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 26, 2023
@dukenv0307
Copy link
Contributor

Proposal

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

"/edit/subdirectory" from the amount page shows blank RHP

What is the root cause of that problem?

We return null here if the fieldToEdit is invalid field

return null;

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

We should return not found page here

return <FullPageNotFoundView shouldShow/>;

return null;

or we can update the useEffect here if the field is invalid

Navigation.dismissModal();

What alternative solutions did you explore? (Optional)

@melvin-bot
Copy link

melvin-bot bot commented Aug 26, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 26, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@maddylewis maddylewis added the External Added to denote the issue can be worked on by a contributor label Aug 28, 2023
@melvin-bot melvin-bot bot changed the title IOU - "/edit/subdirectory" from the amount page shows blank RHP [$1000] IOU - "/edit/subdirectory" from the amount page shows blank RHP Aug 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01480fed14ee7c9bd7

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

melvin-bot bot commented Aug 28, 2023

Current assignee @maddylewis is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

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

@mountiny mountiny changed the title [$1000] IOU - "/edit/subdirectory" from the amount page shows blank RHP [$500] IOU - "/edit/subdirectory" from the amount page shows blank RHP Aug 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

Upwork job price has been updated to $500

@mountiny
Copy link
Contributor

Making this $500 as its edge case normal user wont run into

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

📣 @LuckyBoy1004! 📣
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. 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.
  2. 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.
  3. 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>

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

5 similar comments
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

⚠️ Missing/invalid email or upwork profile link. Please make sure you add both your Expensify email and Upwork profile link in the format specified.

@davewish
Copy link

Proposal

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

"/edit/subdirectory" from the amount page shows blank RHP

What is the root cause of that problem?

when editField becomes invalid or does not exist EDIT_REQUEST_FIELD field , null is returned

return null;

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

When editField. is invalid , we should return
return <NotFoundPage/>;

What alternative solutions did you explore? (Optional)

We should return return <FullPageNotFoundView shouldShow/>;

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

📣 @davewish! 📣
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. 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.
  2. 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.
  3. 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>

@davewish
Copy link

Contributor details
Your Expensify account email: dvwish9214@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01e47e5f2122786310

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

1 similar comment
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@melvin-bot melvin-bot bot added the Overdue label Aug 29, 2023
@maddylewis
Copy link
Contributor

bumping @thesahindia - lmk if you have the bandwidth for this one. otherwise, i can reach out to another C+ to get the proposals reviewed. thanks!

@dukenv0307
Copy link
Contributor

@maddylewis Can you take a look at @bondydaa 's comment here #26014 (comment). This issue should have the bonus.

@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Sep 22, 2023

@maddylewis It is actually 250$ for reporting bonus? It is reported and assigned before changing the bonus rate and the offer sent on upwork is 250$? It was assigned with 500$ fixing offer just because it was an edge case.

@maddylewis
Copy link
Contributor

paid

@melvin-bot melvin-bot bot added the Overdue label Sep 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2023

@bondydaa, @maddylewis, @thesahindia, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@maddylewis
Copy link
Contributor

@Ahmed-Abdella - sorry, im not following. why would you be paid $500 as a reporting bonus?

@melvin-bot melvin-bot bot removed the Overdue label Sep 26, 2023
@Ahmed-Abdella
Copy link
Contributor

@maddylewis this didn't happen it is just 250$

Screenshot from 2023-09-26 17-39-37

@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Sep 26, 2023

@maddylewis Are we okay?
if you talk about this comment #26014 (comment).
I was talking about the FIXING bounty not reporting bonus. I believe there may be a misunderstanding, or perhaps my English skills are not adequate.

@melvin-bot melvin-bot bot added the Overdue label Sep 29, 2023
@maddylewis
Copy link
Contributor

im still not following -- you are listed as the reporter of the bug on this issue. you are not assigned as the Contributor or the C+.

@bondydaa am i missing something?
image
image
image

@melvin-bot melvin-bot bot removed the Overdue label Sep 29, 2023
@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Sep 29, 2023

@maddylewis we are OK. I am just the reporter. You didn't miss anything. I was not talking about myself when I mentioned the fixing payment.

@Ahmed-Abdella
Copy link
Contributor

Ahmed-Abdella commented Sep 29, 2023

Payments

This payments checks before editing was 50 for reporting bonus at first I just wanted to clarify that it should be 250 in those checks. That is all I wanted to clarify with my comments nothing more. We are completely fine now. Sorry for the confusion.

@melvin-bot melvin-bot bot added the Overdue label Oct 2, 2023
@maddylewis
Copy link
Contributor

@Ahmed-Abdella - okay i gotcha!

yep, after August 30, the reporting bonus is $50. But, bc you reported this on August 26, you qualified for the old reporting bonus amount ($250).

@melvin-bot melvin-bot bot removed the Overdue label Oct 2, 2023
@maddylewis
Copy link
Contributor

@thesahindia - will you run through this checklist when you have a chance? #26014 (comment)

@thesahindia
Copy link
Member

It was an edge case so we just need to add a test case.

Steps -

  1. Create a money request
  2. Go to detail of the request
  3. Click on amount to open edit page
  4. Edit URL with invalid field edit
  5. Verify that page not found appears

@thesahindia
Copy link
Member

Payments

@maddylewis, please update the payment summary to include the bonus so that it doesn't create any confusion.

@maddylewis
Copy link
Contributor

@thesahindia - update which payment summary? and include what bonus?

@thesahindia
Copy link
Member

I was talking about this comment. It says $1000 but it should be $1500 as per #26014 (comment). The comment needs to be updated so that it doesn't create any confusion when I request money on new dot.

@maddylewis
Copy link
Contributor

oh oh you're talking about this comment where bondy clarified that this is actually eligible for the bonus - #26014 (comment)

got it 👍

@maddylewis
Copy link
Contributor

@dukenv0307 - do i owe you $500 bonus?

@Ahmed-Abdella

This comment was marked as off-topic.

@thesahindia
Copy link
Member

Oh yeah that is correct! I got confused by the previous payment summary.

@maddylewis
Copy link
Contributor

@maddylewis
Copy link
Contributor

ok sent @dukenv0307 $250 bonus ($750 total). closing!

@JmillsExpensify
Copy link

$750 payment approved for @thesahindia based on this comment.

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

10 participants