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

[$1000] Welcome message modal doest not have back button #19903

Closed
1 of 6 tasks
kavimuru opened this issue May 31, 2023 · 31 comments
Closed
1 of 6 tasks

[$1000] Welcome message modal doest not have back button #19903

kavimuru opened this issue May 31, 2023 · 31 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented May 31, 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.Go to the chat
2.Send a message to user
3.Click on "Reply in thread"
4.Click on thread header > Settings > Welcome message

Expected Result:

Welcome message modal/popup should have back button

Actual Result:

Welcome message modal doest not have back button

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

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

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

Version Number: 1.3.21-2
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
Notes/Photos/Videos: Any additional supporting documentation

20230529010305.mp4
az_recorder_20230531_142218.1.mp4

Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685304337659739

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dabd1979b66a6a86
  • Upwork Job ID: 1664671847386869760
  • Last Price Increase: 2023-06-02
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 31, 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

@Prince-Mendiratta
Copy link
Contributor

Proposal

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

In this issue, we can notice that on the Set a welcome message page, the back button is not present in the header.

What is the root cause of that problem?

To display the back button, we use the shouldShowBackButton prop in HeaderWithCloseButton. In the ReportWelcomeMessagePage, this prop is not used, causing the back button to not show up.

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

To fix this issue, we need to pass the prop shouldShowBackButton to the HeaderWithCloseButton in ReportWelcomeMessagePage.

What alternative solutions did you explore? (Optional)

None

@ahmedGaber93
Copy link
Contributor

Proposal

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

Welcome message modal doest not have back button.

What is the root cause of that problem?

The HeaderWithCloseButton in ReportWelcomeMessagePage.js doesn't have prop shouldShowBackButton to show the back button.

<HeaderWithCloseButton
title={props.translate('welcomeMessagePage.welcomeMessage')}
onBackButtonPress={() => Navigation.goBack()}
onCloseButtonPress={() => Navigation.dismissModal()}
/>

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

add prop shouldShowBackButton to HeaderWithCloseButton here

What alternative solutions did you explore? (Optional)

@GItGudRatio
Copy link
Contributor

Is this up for grabs?

@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

📣 @GItGudRatio! 📣
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 May 31, 2023

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

@dukenv0307
Copy link
Contributor

Proposal

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

Welcome message modal doest not have back button

What is the root cause of that problem?

<HeaderWithCloseButton
title={props.translate('welcomeMessagePage.welcomeMessage')}
onBackButtonPress={() => Navigation.goBack()}
onCloseButtonPress={() => Navigation.dismissModal()}
/>

in ReportWelcomeMessagePage we don't add shouldShowBackButton props to display Back button

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

Adding shouldShowBackButton props in ReportWelcomeMessagePage

<HeaderWithCloseButton
                    title={props.translate('welcomeMessagePage.welcomeMessage')}
                    onBackButtonPress={() => Navigation.goBack()}
                    onCloseButtonPress={() => Navigation.dismissModal()}
                    shouldShowBackButton
  />

Result

Screenshot 2023-05-29 at 11 36 56

@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@adelekennedy
Copy link

can reproduce! this is a clear bug

@adelekennedy adelekennedy added the External Added to denote the issue can be worked on by a contributor label Jun 2, 2023
@melvin-bot melvin-bot bot changed the title Welcome message modal doest not have back button [$1000] Welcome message modal doest not have back button Jun 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01dabd1979b66a6a86

@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

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

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

melvin-bot bot commented Jun 2, 2023

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

@parasharrajat
Copy link
Member

@Prince-Mendiratta 's proposal looks good to me.

cc: @roryabraham

🎀 👀 🎀 C+ reviewed

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

melvin-bot bot commented Jun 7, 2023

📣 @Prince-Mendiratta You have been assigned to this job by @roryabraham!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@roryabraham
Copy link
Contributor

Thanks @Prince-Mendiratta @parasharrajat 🙇🏼

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 8, 2023
@Prince-Mendiratta
Copy link
Contributor

Prince-Mendiratta commented Jun 8, 2023

@roryabraham @parasharrajat This PR was just merged yesterday, which ended up fixing this issue. How should we proceed now?

@parasharrajat
Copy link
Member

I see. @adelekennedy What is the next step here? There is no PR required now.

@roryabraham
Copy link
Contributor

I think we should pay out @Prince-Mendiratta for their time and then close this out since it's not going to be needed anymore.

@melvin-bot
Copy link

melvin-bot bot commented Jun 15, 2023

@parasharrajat, @roryabraham, @Prince-Mendiratta, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick!

@adelekennedy
Copy link

@Prince-Mendiratta just sent you an offer on Upwork!

@ayazhussain79
Copy link
Contributor

@adelekennedy am i eligible for reporting bonus?

@roryabraham
Copy link
Contributor

@ayazhussain79 Sorry, the reporting bonus is only paid out when an issue is fixed, and this isn't fixed quite yet.

@parasharrajat
Copy link
Member

@JmillsExpensify
Copy link

JmillsExpensify commented Jul 27, 2023

@adelekennedy Can you please summarize the appropriate individual payments for all parties involved in this issue? This is holding up @parasharrajat NewDot payments. More information on this compliance process in Slack.

@adelekennedy
Copy link

Here is the payment summary:

External issue reporter: @ayazhussain79 $250
Contributor that fixed the issue: @Prince-Mendiratta $1000
Contributor+ that helped on the issue and/or PR: @parasharrajat $1000
Upwork Job: https://www.upwork.com/jobs/~01dabd1979b66a6a86

Extra Notes regarding payment:
done! @JmillsExpensify

@ayazhussain79
Copy link
Contributor

@adelekennedy offer accepted, Thank you

@parasharrajat
Copy link
Member

parasharrajat commented Jul 28, 2023

Quoting a comment @adelekennedy from #19903 (comment) for visibility.

Sorry, the reporting bonus is only paid out when an issue is fixed, and this isn't fixed quite yet.

@ayazhussain79
Copy link
Contributor

what if a PR fixed this issue after i reported so why reporter is not eligible for reporting bonus

@JmillsExpensify
Copy link

Reviewed details for @parasharrajat. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.

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

No branches or pull requests

10 participants