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-21] [$1000] Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account #25577

Closed
1 of 6 tasks
izarutskaya opened this issue Aug 21, 2023 · 53 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

@izarutskaya
Copy link

izarutskaya commented Aug 21, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to Settings > Workspaces
  2. Select a workspace and access "Connect Bank Account."
  3. Proceed to Step 3 out of 5.
  4. Return to the Connect bank account(Step 1).
  5. Notice that the account number and routing number can't be changed and no sign is shown indicating they can't be changed

Expected Result:

A sign is shown indicating they can't be changed

Actual Result:

No sign is shown indicating they can't be changed

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

T104.No.Sign.Is.Shown-1.mp4
20230821_194816.mp4

Expensify/Expensify Issue URL:

Issue reported by: @daveSeife

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b0584ef975154c77
  • Upwork Job ID: 1694056060363059201
  • Last Price Increase: 2023-08-22
  • Automatic offers:
    • himanshuragi456 | Contributor | 26326916
    • daveSeife | Reporter | 26326918
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 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

@himanshuragi456
Copy link
Contributor

himanshuragi456 commented Aug 21, 2023

Proposal

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

Connect bank account - No sign is shown to indicate that the account number and routing number fields are non-editable

What is the root cause of that problem?

Although disabled prop is being passed properly in TextInput, and value is reaching properly to RNTextInput
But special cursor type is not added.

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

make cursor not allowed

we can add in TextInput when input is in disabled state.

inputStyle={[styles.cursorDisabled]}

I believe this should be implemented throughout the app for disabled RNTextInputs, in that case this style should be added in RNTextInput of BaseTextInput.js

What alternative solutions did you explore? (Optional)

N/A

@alitoshmatov
Copy link
Contributor

Proposal

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

Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account

What is the root cause of that problem?

disabled prop is passed to TextInput in routing number account number here:

disabled={shouldDisableInputs}

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

We should update TextInput to have cursor: not-allowed when disabled prop is true.

What alternative solutions did you explore? (Optional)

@alitoshmatov
Copy link
Contributor

Not to confuse anyone by editing my proposal, I would like to make addition and show exactly where I would have done the change:
Add this props.disabled?styles.cursorDisabled:{}, to here:

@puneetlath puneetlath added the External Added to denote the issue can be worked on by a contributor label Aug 22, 2023
@melvin-bot melvin-bot bot changed the title Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account [$1000] Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account Aug 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 22, 2023

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

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

melvin-bot bot commented Aug 22, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 22, 2023

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

@DylanDylann
Copy link
Contributor

Proposal

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

Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account

What is the root cause of that problem?

We don't add the cursor style for text input and checkbox. I think the user isn't allowed to click the checkbox

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


In 2 inputs here, we should add this style

inputStyle={[shouldDisableInputs && styles.cursorDisabled]}

We also add this style to checkbox here

disabled={shouldDisableInputs}

And in CheckboxWithLabel, we will create new props called disabled and pass this prop to Checkbox Component

We also consider adding the grey background with decreasing opacity to text input and the checkbox like we did in other places

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Aug 24, 2023
@himanshuragi456
Copy link
Contributor

@Santhosh-Sellavel gently bump here

@Santhosh-Sellavel
Copy link
Collaborator

will look this today

@melvin-bot melvin-bot bot removed the Overdue label Aug 24, 2023
@Santhosh-Sellavel
Copy link
Collaborator

@himanshuragi456 proposal is straight forward one, LGTM!

C+ Reviewed
🎀 👀 🎀

@melvin-bot
Copy link

melvin-bot bot commented Aug 24, 2023

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

@Santhosh-Sellavel
Copy link
Collaborator

@hayata-suenaga

I believe this should be implemented throughout the app for disabled RNTextInputs, in that case this style should be added in RNTextInput of BaseTextInput.js

This is the way to go, Let us know your thoughts on the proposal!

@DylanDylann
Copy link
Contributor

DylanDylann commented Aug 25, 2023

@Santhosh-Sellavel I think we also should disable the checkbox for consistency as mentioned in my proposal. What do you think about this point?

@himanshuragi456
Copy link
Contributor

@DylanDylann This is just a minor adjustment and can be handled/discussed in the PR, the overall approach still remains the same.

@DylanDylann
Copy link
Contributor

@shawnborton Could you help to confirm that should we disable the checkbox for consistency in this issue? I see it will make more sense

@DylanDylann
Copy link
Contributor

DylanDylann commented Aug 25, 2023

@DylanDylann This is just a minor adjustment

@himanshuragi456 Not minor (you don't mention it in your proposal). This issue is pretty straightforward and my proposal brings more value with other optional improvements as well for consistency.

@himanshuragi456
Copy link
Contributor

himanshuragi456 commented Aug 25, 2023

@DylanDylann you've just pointed out an adjustment, the crux of the solution still remains the same.
If design teams suggests that change, I can just add that part too, main change will still be just adding the disabled cursor.

@shawnborton
Copy link
Contributor

Do we know why they can't be changed?

But yeah, if they can't be changed, perhaps we can use more of a read-only version which would basically look like this existing pattern where we just label + value and no underline or right caret:
image

@himanshuragi456
Copy link
Contributor

@hayata-suenaga Sure! Will raise the PR soon.

@hayata-suenaga
Copy link
Contributor

@puneetlath

There was a discussion of payment in this Slack thread and in this comment in the PR.

I think we should't apply the penalty here as requirements changed several times, which caused a delay.

cc: @himanshuragi456

@puneetlath
Copy link
Contributor

Makes sense 👍🏾

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @himanshuragi456 got assigned: 2023-08-25 15:30:56 Z
  • when the PR got merged: 2023-09-13 05:07:10 UTC
  • days elapsed: 12

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Sep 14, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account [HOLD for payment 2023-09-21] [$1000] Web - Connect bank account- No sign is shown to indicating the account number and routing number can't be changed on Connect bank account Sep 14, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

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

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

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:

  • [@puneetlath / @hayata-suenaga] The PR that introduced the bug has been identified. Link to the PR:
  • [@puneetlath / @hayata-suenaga] 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:
  • [@puneetlath / @hayata-suenaga] 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:
  • [@Santhosh-Sellavel / @himanshuragi456] Determine if we should create a regression test for this bug.
  • [@Santhosh-Sellavel / @himanshuragi456] 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.
  • [@puneetlath] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@puneetlath
Copy link
Contributor

@Santhosh-Sellavel friendly reminder on the checklist so that we can pay later this week. Thanks!

@Santhosh-Sellavel
Copy link
Collaborator

I think we can skip the checklist here as this end up as UI Polish not worth adding regression tests as well, Let me know your thoughts.

cc: @puneetlath @hayata-suenaga

@puneetlath
Copy link
Contributor

Yep, I think that's fine for this one.

@puneetlath
Copy link
Contributor

Payment summary:

@Santhosh-Sellavel - C+ - $1000 (to be paid via NewDot)
@himanshuragi456 - C - $1000 (paid via Upwork)
@daveSeife - B - $250 (paid via Upwork)

@Santhosh-Sellavel let me know when you've raised the request in NewDot and I'll close this out.

Thanks everyone!

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Sep 21, 2023
@puneetlath
Copy link
Contributor

@Santhosh-Sellavel friendly reminder on creating the NewDot request.

@melvin-bot melvin-bot bot removed the Overdue label Sep 25, 2023
@Santhosh-Sellavel
Copy link
Collaborator

Requested on new dot

@puneetlath
Copy link
Contributor

Great, closing!

@JmillsExpensify
Copy link

$1,000 payment approved for @Santhosh-Sellavel based on BZ summary.

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

9 participants