Skip to content

[HOLD for payment 2023-04-28] [$500] Add a special gesture on dev to open the test tool menu #16737

Closed

Description

@neil-marcellini

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


Problem

Coming from this review comment, we want to be able to quickly toggle shouldForceOffline from anywhere in the app.

Why is this important?

Currently you have to navigate to /settings/preferences to access the test tool menu, which means that on small screens it's not possible to observe what happens on a page when the app changes offline state.

Solution

Let's create a special gesture that only exists on staging and dev, such as 5 taps, to open the test tool menu in a modal. I already have this PR #15649 up with most of the functionality, however there are two problems that need to be fixed. I don't really have time for this at the moment so I'm making it external. I would still like to review the PR in addition to another internal reviewer who has not committed to the PR.

Problems:

  1. Unable to select text, reported here
  2. Triple clicking the last message selects random text from the page noted here

Additional notes:
I'm not sure why yet, but with the GestureDetector the InitialSettingsPage has user-select: none set on the html element. I tried setting the style on the ScreenWrapper with styles.appContent, but that didn't work either.

Platforms:

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

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

Version Number:
Reproducible in staging?:
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c170ef71cdccddb3
  • Upwork Job ID: 1641383576311578624
  • Last Price Increase: 2023-04-06

Activity

  1. added
    External
    Daily
    NewFeature
    on Mar 30, 2023
  2. MelvinBot commented on Mar 30, 2023

    @MelvinBot
    Contributor

    📣 @mananjadhav You have been assigned to this job by @neil-marcellini!
    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 📖

  3. changed the title [-]Add a special gesture on dev to open the test tool menu[/-] [+][$1000] Add a special gesture on dev to open the test tool menu[/+] on Mar 30, 2023
  4. MelvinBot commented on Mar 30, 2023

    @MelvinBot
    Contributor
  5. MelvinBot commented on Mar 30, 2023

    @MelvinBot
    Contributor
  6. added
    Weekly
    and removed
    Daily
    on Mar 30, 2023
  7. MelvinBot commented on Mar 30, 2023

    @MelvinBot
    Contributor

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

  8. 41 remaining items

  9. MelvinBot commented on Apr 18, 2023

    @MelvinBot
    Contributor

    @mananjadhav, @alexxxwork, @sakluger, @neil-marcellini Whoops! This issue is 2 days overdue. Let's get this updated quick!

  10. mananjadhav commented on Apr 18, 2023

    @mananjadhav
    Collaborator

    The PR is ready, and approved, I am currently testing this.

  11. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Apr 21, 2023
  12. changed the title [-][$500] Add a special gesture on dev to open the test tool menu[/-] [+][HOLD for payment 2023-04-28] [$500] Add a special gesture on dev to open the test tool menu[/+] on Apr 21, 2023
  13. removed
    Reviewing
    on Apr 21, 2023
  14. MelvinBot commented on Apr 21, 2023

    @MelvinBot
    Contributor

    Reviewing label has been removed, please complete the "BugZero Checklist".

  15. MelvinBot commented on Apr 21, 2023

    @MelvinBot
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.3-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-04-28. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  16. mananjadhav commented on Apr 24, 2023

    @mananjadhav
    Collaborator

    @neil-marcellini @sakluger How do you propose the payout for C+ here?

    1. We initially had this as an internal issue, where I did 2 rounds of PR Review as well as testing.
    2. It had a regression so we rolled back
    3. Now we have this as an external issue, where I've done the PR Review + testing.

    I think we should treat this as a $1K payout for both the PRs, but open to hear from you.

  17. mananjadhav commented on Apr 27, 2023

    @mananjadhav
    Collaborator

    Quick bump on this @neil-marcellini @sakluger

  18. neil-marcellini commented on Apr 28, 2023

    @neil-marcellini
    ContributorAuthor

    I'll defer to @sakluger because he's in charge of payment. Please DM me on NewDot if you have questions about the PRs / development process Sasha.

  19. mananjadhav commented on May 2, 2023

    @mananjadhav
    Collaborator

    @sakluger did you get a chance to look at the above messages?

  20. sakluger commented on May 3, 2023

    @sakluger
    Contributor

    Sorry for the delay, these ready for payment issues usually are labeled daily, this one got lost in my weeklies.

    I think $1000 sounds fair, I went ahead and paid this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentEngineeringExternalNewFeatureWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions