Skip to content

[HOLD for payment 2022-06-13] [$250] Update the IOU "Cancel" button so that it has a fixed size - reported by @Puneet-here #8715

Closed

Description

@mvtglobally

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. Request money from someone
  2. Cancel the money request the button size will increase when loading

Expected Result:

Update the logic of the Cancel button so that it doesn't re-size at all.

Actual Result:

After being clicked, the IOU Cancel button size increases momentarily and then disappears. That's strange visually.

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

XRecorder_Edited_31032022_001537.mp4

Upwork job link: https://www.upwork.com/jobs/~019f02e58e1d9ac630
Issue reported by: @Puneet-here
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1648666290760469

View all open jobs on GitHub

Activity

  1. melvin-bot commented on Apr 21, 2022

    @melvin-bot

    Triggered auto assignment to @flaviadefaria (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  2. added and removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Apr 21, 2022
  3. melvin-bot commented on Apr 25, 2022

    @melvin-bot

    Triggered auto assignment to @francoisl (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. removed their assignment
    on Apr 25, 2022
  5. thesahindia commented on Apr 25, 2022

    @thesahindia
    Member

    Proposal

    We can just set a minWidth for this button.
    minWidth: 61 will be good for cancel/decline button and minWidth: 69 for spanish ones. We can add a function in StyleUtils which will return minWidth based on the preferredLocale.

    Or instead of this we can just set the minWidth to larger one (that's what we did for the resend link button #6958)
    We can add the style like this -

    App/src/styles/styles.js

    Lines 937 to 939 in 65432d6

    resendLinkButton: {
    minWidth: 124,
    },

    We will have to use the style here and we can remove line 96-

    style={[
    styles.buttonSmall,
    styles.chatItemComposeSecondaryRowOffset,
    styles.mb3,
    this.isBeingRejected() ? styles.w20 : styles.wAuto,
    ]}

  6. removed their assignment
    on Apr 25, 2022
  7. 52 remaining items

  8. Santhosh-Sellavel commented on Jun 1, 2022

    @Santhosh-Sellavel
    Collaborator

    PR got merged today, it's already on staging.

    I'm going OOO, If there are any new breakages/regression while I am away, feel free to un-assign me and add a new C+ here thanks!

    cc: @roryabraham

  9. michaelhaxhiu commented on Jun 1, 2022

    @michaelhaxhiu
    Contributor

    @Santhosh-Sellavel want to apply for the job before you go OOO? https://www.upwork.com/jobs/~019f02e58e1d9ac630

  10. Santhosh-Sellavel commented on Jun 1, 2022

    @Santhosh-Sellavel
    Collaborator

    Ya, sure thanks! @michaelhaxhiu

  11. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Jun 6, 2022
  12. changed the title [-][$250] Update the IOU "Cancel" button so that it has a fixed size - reported by @Puneet-here[/-] [+][HOLD for payment 2022-06-13] [$250] Update the IOU "Cancel" button so that it has a fixed size - reported by @Puneet-here[/+] on Jun 6, 2022
  13. melvin-bot commented on Jun 6, 2022

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.71-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 2022-06-13. 🎊

  14. michaelhaxhiu commented on Jun 14, 2022

    @michaelhaxhiu
    Contributor

    All are paid. Closing. Thanks for your assistance!

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 productionDailyKSv2DesignEngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions