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

[$250] [Wave Collect][QBO] Refactor the error text style #40697

Closed
hayata-suenaga opened this issue Apr 22, 2024 · 30 comments
Closed

[$250] [Wave Collect][QBO] Refactor the error text style #40697

hayata-suenaga opened this issue Apr 22, 2024 · 30 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

@hayata-suenaga
Copy link
Contributor

hayata-suenaga commented Apr 22, 2024

From this convo in another App PR.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ab49e87b72a1e37d
  • Upwork Job ID: 1795779159359643648
  • Last Price Increase: 2024-05-29
  • Automatic offers:
    • s77rt | Contributor | 102509287
Issue OwnerCurrent Issue Owner: @laurenreidexpensify
@hayata-suenaga hayata-suenaga added the Daily KSv2 label Apr 22, 2024
@hayata-suenaga hayata-suenaga changed the title Refactor the error text style [Wave Collect][QBO] Refactor the error text style Apr 22, 2024
@narefyev91
Copy link
Contributor

I will pick this one - can you please assign this to me @hayata-suenaga

Copy link

melvin-bot bot commented Apr 25, 2024

@narefyev91 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Apr 25, 2024
@narefyev91
Copy link
Contributor

@shawnborton can you please clarify - are we expecting Error Text position like this one?
Screenshot 2024-04-29 at 13 49 56

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@shawnborton
Copy link
Contributor

That looks good to me, cc @Expensify/design for thoughts too.

What does the :hover style look like? Just want to confirm that the whole thing is included in the hoverable area (push row + error text)

@shawnborton
Copy link
Contributor

shawnborton commented Apr 29, 2024

While we are at it, I wonder if we should take a look at the hint text too to make sure the hint text works the same way - same distance below the push row, and is included in the hoverable interaction.

@narefyev91
Copy link
Contributor

@shawnborton hover:
Screenshot 2024-04-29 at 17 44 04

@narefyev91
Copy link
Contributor

Yeah for sure - i will also include hint issue to this PR fix

@shawnborton
Copy link
Contributor

Okay cool, as it stands now, it seems like maybe there is too much padding below the error text? Notice how the bottom portion of the hover is larger than the top.

@narefyev91
Copy link
Contributor

Okay cool, as it stands now, it seems like maybe there is too much padding below the error text? Notice how the bottom portion of the hover is larger than the top.

Yeah - this coming from standard menu item component. - should we also change paddings which we already have?
Screenshot 2024-04-29 at 17 46 28

@shawnborton
Copy link
Contributor

Yeah, I would expect that vertical padding to be equal. So if we're doing 12px on top, why not 12px on the bottom? Or maybe we just do 16px vertically so we split the difference?

@narefyev91
Copy link
Contributor

Yeah, I would expect that vertical padding to be equal. So if we're doing 12px on top, why not 12px on the bottom? Or maybe we just do 16px vertically so we split the difference?

Good point - but i do not see any vertical logic to make a difference.
In any case - it should be 12px below - based on all other menu items. I will update that for sure! Thanks!

@dannymcclain
Copy link
Contributor

Just popping in to say I agree with everything going on in this convo.

@narefyev91
Copy link
Contributor

narefyev91 commented Apr 30, 2024

@shawnborton this one with hint text below:
Screenshot 2024-04-30 at 11 26 26

@shawnborton
Copy link
Contributor

Nice, and can you show us that same scenario but with no error text?

Also, in the error case, is it possible to move the red dot closer to the right arrow? They feel a little far away right now, cc @Expensify/design for a gut check on that one. Perhaps we can try 8px and 12px gaps, respectively, for comparison?

@narefyev91
Copy link
Contributor

@shawnborton here you are:
Screenshot 2024-04-30 at 15 49 16

@narefyev91
Copy link
Contributor

And closer red dot as well:
Screenshot 2024-04-30 at 15 50 41

@shawnborton
Copy link
Contributor

Nice, both of those make sense to me. The last small thing I see is that the line height for the error text seems different from the line height we're using for the hint text. I think at the label font size (13px), we use 16px for the line height. Can you double check that for me? Thanks!

@narefyev91
Copy link
Contributor

Nice, both of those make sense to me. The last small thing I see is that the line height for the error text seems different from the line height we're using for the hint text. I think at the label font size (13px), we use 16px for the line height. Can you double check that for me? Thanks!

yeah - for error it is 18px - should we make it 16px as well?

@shawnborton
Copy link
Contributor

Yes please! Not sure how 18px ever got introduced as a line height, I don't think we should be using it anywhere?

@narefyev91
Copy link
Contributor

Yes please! Not sure how 18px ever got introduced as a line height, I don't think we should be using it anywhere?

Nice - sure will update that!

@dannymcclain
Copy link
Contributor

Yeah this is looking good!

Copy link

melvin-bot bot commented May 14, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@s77rt s77rt mentioned this issue May 14, 2024
50 tasks
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 14, 2024
@hayata-suenaga hayata-suenaga removed the Reviewing Has a PR in review label May 29, 2024
@melvin-bot melvin-bot bot added the Overdue label May 29, 2024
@hayata-suenaga hayata-suenaga added Daily KSv2 and removed Weekly KSv2 Overdue labels May 29, 2024
@melvin-bot melvin-bot bot added the Overdue label May 29, 2024
@hayata-suenaga hayata-suenaga added Bug Something is broken. Auto assigns a BugZero manager. and removed Overdue labels May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@hayata-suenaga hayata-suenaga added the Awaiting Payment Auto-added when associated PR is deployed to production label May 29, 2024
@hayata-suenaga
Copy link
Contributor Author

Payment for the C+ role for @s77rt is needed for this App PR.

The PR caused a regression reported here.

@laurenreidexpensify laurenreidexpensify added the External Added to denote the issue can be worked on by a contributor label May 29, 2024
@melvin-bot melvin-bot bot changed the title [Wave Collect][QBO] Refactor the error text style [$250] [Wave Collect][QBO] Refactor the error text style May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

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

@laurenreidexpensify laurenreidexpensify assigned s77rt and unassigned fedirjh May 29, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 29, 2024
Copy link

melvin-bot bot commented May 29, 2024

📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer 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 📖

@laurenreidexpensify
Copy link
Contributor

@s77rt please accept role in Upwork and will issue payment thanks

@s77rt
Copy link
Contributor

s77rt commented May 29, 2024

@laurenreidexpensify Accepted! Please note this is due $125 as there was a regression

@laurenreidexpensify
Copy link
Contributor

Payment Summary:

C+ Review $125 @s77rt paid in upwork

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
No open projects
Archived in project
Development

No branches or pull requests

7 participants