Skip to content

[HOLD for payment 2023-09-08] [$1000] mWeb - Chat - Hide the keyboard on click of confirm button #25570

Closed

Description

@izarutskaya

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 any chat and send password protected pdf
  2. click on PDF and type wrong password
  3. click on confirm button

example protected PDF.pdf
Password: 25570

Expected Result:

Should not hide the keyboard same as native app

Actual Result:

Keyboard hides and user have to click on input field to open keyboard

Workaround:

Unknown

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: v1.3.55-7

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

Screen_Recording_20230810_141921_New.Expensify.mp4
Record_2023-08-19-22-58-29.mp4

Expensify/Expensify Issue URL:

Issue reported by: @gadhiyamanan

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0130b6dd1d51afa360
  • Upwork Job ID: 1694669713222795264
  • Last Price Increase: 2023-08-24
  • Automatic offers:
    • cubuspl42 | Reviewer | 26322364
    • alitoshmatov | Contributor | 26322365

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 21, 2023
  2. alitoshmatov commented on Aug 21, 2023

    @alitoshmatov
    Contributor

    Proposal

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

    mWeb - Chat - Hide the keyboard on click of confirm button

    What is the root cause of that problem?

    When button is pressed, text input is losing focus.

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

    We can add

      onMouseDown={e=>e.preventDefault()}
    

    to keep focus in textinput like we are doing in other places.
    We add above code to confirm button here:

    <Button
    text={translate('common.confirm')}
    onPress={submitPassword}
    style={styles.mt4}
    isLoading={shouldShowLoadingIndicator}
    pressOnEnter
    />

    What alternative solutions did you explore? (Optional)

  3. removed
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 24, 2023
  4. added
    BugSomething is broken. Auto assigns a BugZero manager.
    and removed on Aug 24, 2023
  5. melvin-bot commented on Aug 24, 2023

    @melvin-bot

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

  6. melvin-bot commented on Aug 24, 2023

    @melvin-bot

    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
  7. alexpensify commented on Aug 24, 2023

    @alexpensify
    Contributor

    Reassigning another Bug team member: I realized that this one still needs to be reassigned and I'm OOO until Monday, August 28. 😞 I will take it back if it's still open by my return date.

    Required action from the team: I ran out of time and have not tested this one. To avoid delaying the process, I've reassigned to test and confirm if there is a bug here. Thanks!

  8. conorpendergrast commented on Aug 24, 2023

    @conorpendergrast
    Contributor

    Looking good!

  9. 25 remaining items

  10. changed the title [-][$1000] mWeb - Chat - Hide the keyboard on click of confirm button[/-] [+][HOLD for payment 2023-09-08] [$1000] mWeb - Chat - Hide the keyboard on click of confirm button[/+] on Sep 1, 2023
  11. melvin-bot commented on Sep 1, 2023

    @melvin-bot

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

  12. melvin-bot commented on Sep 1, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.61-3 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-09-08. 🎊

    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

    For reference, here are some details about the assignees on this issue:

    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
  13. melvin-bot commented on Sep 1, 2023

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@cubuspl42] The PR that introduced the bug has been identified. Link to the PR:
    • [@cubuspl42] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@cubuspl42] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@cubuspl42] Determine if we should create a regression test for this bug.
    • [@cubuspl42] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@alexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  14. jakub-trzebiatowski commented on Sep 2, 2023

    @jakub-trzebiatowski
    Contributor
    • The PR that introduced the bug has been identified. Link to the PR:
    • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
      • No need for additional discussion
    • Determine if we should create a regression test for this bug.
      • No need for a new regression test
    • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
      • N/A
  15. parasharrajat commented on Sep 2, 2023

    @parasharrajat
    Member

    I disagree with the above comment. This GH is a feature request rather than a bug.

  16. jakub-trzebiatowski commented on Sep 2, 2023

    @jakub-trzebiatowski
    Contributor

    @parasharrajat You're definitely right that it can also be seen that way. It's a tricky topic, as many Expensify bugs are related to some unexpected user experience, and there's no written down definitive source of truth how the app should behave. When something used to work in a more pleasant way and it changed, then it's easy - we have a regression! A bug. When it never worked the way we, at some point, decide is the right one; then either it was always broken, or it's just a new requirement.

    But I don't think it really matters in this case... That issue is long past its regression period, so I don't think my comment did any harm... I was just doing the checklist ✓

  17. parasharrajat commented on Sep 3, 2023

    @parasharrajat
    Member

    You can leave the checklist empty if not applicable. It matters if we start adding wrong PRs into regression checklist. There are multiple purposes of this checklist.

    Can you please fix it?

  18. jakub-trzebiatowski commented on Sep 3, 2023

    @jakub-trzebiatowski
    Contributor

    @parasharrajat

    It matters if we start adding wrong PRs into regression checklist.

    The text of the bullet is "The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake", it doesn't mention anything about a regression explicitly. A regression is when something is working and stops. When a new feature is added with behavior that's later decided to be "wrong", it can be said that it was some kind of a mistake not to make it "right" from the beginning. As long as it's about learning, I can't see any negative consequences of my comment and you didn't mention any.

    Maybe the text of the bullet is different than the intention behind it?

    Can you please fix it?

    As you don't have any direct authority over me, to the best of my knowledge, I will gladly change it when you convince me to.

  19. parasharrajat commented on Sep 3, 2023

    @parasharrajat
    Member

    Can you please fix it?

    It was just a request. Sorry if that sounded rude. It was a little direct.

    I already mentioned earlier that this is more of a feature request not a bug. So it does not lie under a mistake from old PR clause.

    I don't want to continue discussing this so it's fine if you don't.

    Anyway, Thanks for your time.

  20. alexpensify commented on Sep 8, 2023

    @alexpensify
    Contributor

    Here is the payment summary:

    Upwork Job: https://www.upwork.com/jobs/~0130b6dd1d51afa360

    *If applicable, the bonuses will be applied on the final payment

    Extra Notes regarding payment: No bonus but everyone has been paid or payment has been prepared in Upwork. Please confirm receipt and I can close. Thanks!

  21. alexpensify commented on Sep 11, 2023

    @alexpensify
    Contributor

    Alright, everyone has been paid here. I'm going to close for now.

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions