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 2022-05-02] [$250] Close account - Unnecessary extra vertical margin above the pop up message when tapping close account #8404

Closed
kavimuru opened this issue Mar 31, 2022 · 30 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Mar 31, 2022

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. Launch the app
  2. Log in with account kbecciv+2002@gmail.com/Feya86Katya
    on New dot.
  3. Go to Settings - Security - Close account.
  4. Enter the message in input box.
  5. Enter email which you are going to close.
  6. Click close account.

Expected Result:

Normal space between border and message in popup after tap close account

Actual Result:

Too much space in popup message after tap close account

Workaround:

Visual

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.1.49.0

Reproducible in staging?: Y

Reproducible in production?: Y

Email or phone of affected tester (no customers): kbecciv+2002@gmail.com / Feya86Katya

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:
Bug5514198_Screenshot_20220331-121058_New_Expensify

Expensify/Expensify Issue URL:

Issue reported by: Applause @Tushu17

Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1648072472591519

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Mar 31, 2022

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

@Tushu17
Copy link
Contributor

Tushu17 commented Mar 31, 2022

Hi @kavimuru I had reported this on slack, is this eligible for the reporting bonus.

@sobitneupane
Copy link
Contributor

Proposal:
Reason: The Confirm Modal in CloseAccountPage has space as title so extra space appears at the top.
There are two ways to deal with this issue.

  1. Add title to Confirm Modal in CloseAccountPage. All Confirm Modal except in CloseAccountPage has title so we might be tempted to add title to this confirm modal as well. We can use "Unable to Close Your Account" or similar title.
    <ConfirmModal
    title=""
    success
  2. Show the header section only if title is present.
    <View style={[styles.flexRow, styles.mb4]}>
    <Header title={props.title} />
    </View>
        {props.title.length > 0 && (
            <View style={[styles.flexRow, styles.mb4]}>
                <Header title={props.title} />
            </View>
        )}

@Puneet-here
Copy link
Contributor

Proposal

We aren't using any title for this modal and we have some margin at bottom for the title that's why there's extra space.

<ConfirmModal
title=""

if we use this code there won't be any extra space when there's no title.

 {!_.isEmpty(props.title) && (
        <View style={[styles.flexRow, styles.mb4]}>
            <Header title={props.title} />
        </View>
        )}

Also the title is required here -

const propTypes = {
/** Title of the modal */
title: PropTypes.string.isRequired,

There can be other modals in future that won't need a title so if we want we can make it optional by removing isRequired and we can add title: '' in default props we also need to make the title optional ConfirmModal as it passes the title to ConfirmContent

And also if we want we can add a title in this modal -
Screenshot 2022-04-01 at 1 40 33 PM

@marcaaron marcaaron changed the title Close account - Unnecessary extra space in the pop up message when tapping close account Close account - Unnecessary extra vertical margin above the pop up message when tapping close account Apr 4, 2022
@marcaaron marcaaron removed their assignment Apr 4, 2022
@MelvinBot MelvinBot removed the Overdue label Apr 4, 2022
@marcaaron marcaaron added the External Added to denote the issue can be worked on by a contributor label Apr 4, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 4, 2022

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

@marcaaron marcaaron added Help Wanted Apply this label when an issue is open to proposals by contributors and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Apr 4, 2022
@marcaaron
Copy link
Contributor

LGTM. I updated the title so the issue would be more clear. I thought it was referring to a white space character and not extra vertical margin.

@mallenexpensify
Copy link
Contributor

Hi @kavimuru I had reported this on slack, is this eligible for the reporting bonus.

@kavimuru , can you confirm this is the same ·(or... the same-enough) as #8457? If so, I'll close that issue and add reported by @Tushu17 to the OP here.

@isagoico
Copy link

isagoico commented Apr 6, 2022

Looks like the same issue but in a different modal in my opinion - @mallenexpensify I think you can go ahead with closing the other issue and editing this one

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 6, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 6, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 6, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 6, 2022

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

@melvin-bot melvin-bot bot changed the title Close account - Unnecessary extra vertical margin above the pop up message when tapping close account [$250] Close account - Unnecessary extra vertical margin above the pop up message when tapping close account Apr 6, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 7, 2022
@mallenexpensify
Copy link
Contributor

ah... interesting, since I'm the CM assigned and also on the marketing team, I stay assigned for waiting for copy (not surprised but haven't had it happen before).

I like "Unable to close account" and think it will fit. Without involving our design team, is there an easy way to find out?

@stitesExpensify
Copy link
Contributor

Yeah it should be trivial to toss that in there 😄 Let's go ahead and hire @sobitneupane and they can take care of it

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 8, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 8, 2022

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

@rushatgabhane
Copy link
Member

rushatgabhane commented Apr 8, 2022

I like "Unable to close account"

@mallenexpensify Thanks, let's go with it then.

Without involving our design team, is there an easy way to find out?

If you access to the design (figma) files. You could find out if it fits.
Anyway, I gave the proposal a try and "Unable to close account" fits comfortably for small devices.

image

@stitesExpensify
Copy link
Contributor

Spanish translation: No se pudo cerrar tu cuenta

@sobitneupane
Copy link
Contributor

Job posted https://www.upwork.com/jobs/~01ac2d33f4be5cc3d3

Applied for the job.

@mallenexpensify
Copy link
Contributor

Everyone is hired in Upwork!

@melvin-bot melvin-bot bot added the Overdue label Apr 14, 2022
@stitesExpensify
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Apr 14, 2022
@stitesExpensify
Copy link
Contributor

PR is now merged

@melvin-bot melvin-bot bot added the Overdue label Apr 18, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 18, 2022

@mallenexpensify, @sobitneupane, @rushatgabhane, @stitesExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@mallenexpensify mallenexpensify added Weekly KSv2 and removed Daily KSv2 labels Apr 18, 2022
@melvin-bot melvin-bot bot removed the Overdue label Apr 18, 2022
@mallenexpensify mallenexpensify removed the Waiting for copy User facing verbiage needs polishing label Apr 18, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 25, 2022
@melvin-bot melvin-bot bot changed the title [$250] Close account - Unnecessary extra vertical margin above the pop up message when tapping close account [HOLD for payment 2022-05-02] [$250] Close account - Unnecessary extra vertical margin above the pop up message when tapping close account Apr 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Apr 25, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.56-0 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-05-02. 🎊

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@mallenexpensify
Copy link
Contributor

I'm out Mon/Tues so I paid $250 ea today to @Tushu17 , @sobitneupane and @rushatgabhane
Thanks!

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 Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests