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 Regression Test] [$1000] Emoji button on hover background doesn't have proper padding (background touches the icon border) in the dark theme. #13160

Closed
kavimuru opened this issue Nov 29, 2022 · 45 comments
Assignees
Labels
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

@kavimuru
Copy link

kavimuru commented Nov 29, 2022

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. Open any chat
  2. Hover on the emoji button on the composer,
  3. Check the grey hover background

Expected Result:

Grey hover background should have proper padding

Actual Result:

Hover background doesn't have horizontal padding and it touches the icon.

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.2.33-2
Reproducible in staging?: y
Reproducible in production?: new UI
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
6
Screenshot 2022-11-29 at 5 17 36 PM
Screenshot 2022-11-29 at 5 17 43 PM

Expensify/Expensify Issue URL:
Issue reported by: @mananjadhav
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669722656145379

View all open jobs on GitHub

Upwork Automation - Do Not Edit

@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 29, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 29, 2022

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

@Puneet-here
Copy link
Contributor

Puneet-here commented Nov 29, 2022

Proposal

Remove margin: 3

margin: 3,

instead pass

marginVertical: 3,
paddingHorizontal: 3,

If we want to make it round then increase the borderRadius (variables.buttonBorderRadius can be used) and increase the paddingHorizontal (it should be 5 or 6)

@Pujan92
Copy link
Contributor

Pujan92 commented Nov 30, 2022

Proposal

Update the below style changes to highlight only the emoji icon.

App/src/styles/styles.js

Lines 1499 to 1505 in 58c22bc

chatItemEmojiButton: {
alignSelf: 'flex-end',
borderRadius: 6,
height: 32,
margin: 3,
justifyContent: 'center',
},

chatItemEmojiButton: {
      alignSelf: 'center',
      borderRadius: '50%',
      margin: 3,
},

Screenshot 2022-11-30 at 7 49 59 AM

@mananjadhav
Copy link
Collaborator

I reported this bug and it still needs to be triaged.

@Pujan92 I don't think we should be removing the hover background. This is added for all the icons I suppose.

Tagging @Expensify/design as well.

@Pujan92
Copy link
Contributor

Pujan92 commented Nov 30, 2022

Ok, In that case I think the below properties work well. As we are aligning it to the center with alignSelf we can remove other(height, justifyContent) properties.

    chatItemEmojiButton: {
        alignSelf: 'center',
        margin: 2,
        padding: 6,
        borderRadius: 6,
    },

Screenshot 2022-11-30 at 11 31 03 AM

@shawnborton
Copy link
Contributor

Can you pull main and test again? We just made our buttons round, so I think we would want the emoji button to be round and the exact same size as the send button as well.

@shawnborton shawnborton self-assigned this Nov 30, 2022
@Puneet-here
Copy link
Contributor

@shawnborton, is this expected?
Screenshot 2022-11-30 at 9 37 10 PM

@shawnborton
Copy link
Contributor

Ah apologies, once this one is merged then let's test again

@mananjadhav
Copy link
Collaborator

@shawnborton do you want to fix this one as a part of that PR? I reviewed the PR and I can confirm it is not fixed in that PR.?

image

@melvin-bot melvin-bot bot added the Overdue label Dec 2, 2022
@shawnborton
Copy link
Contributor

Hmm I think that PR is about to be merged, so I'll let @grgia decide: either we can make a quick follow up issue, or we could squeeze this change into that PR before it gets merged.

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2022
@Puneet-here
Copy link
Contributor

Hey @shawnborton, we already have this issue for emoji button and I also have a proposal.

Here's the result
Screenshot 2022-11-30 at 9 37 10 PM

@shawnborton
Copy link
Contributor

Okay cool, that also works for me. cc @greg-schroeder so we can hire @Puneet-here for this one

@grgia
Copy link
Contributor

grgia commented Dec 2, 2022

I'll go ahead and move this forward and assign @Puneet-here

Just a heads up for the future,

Per the Contribution Guide
"Issues that have not had the External label applied have not yet been approved for implementation. This means, if you propose a solution to an issue without the External label (which you are allowed to do) it is possible that the issue will be fixed internally. If the External label has not yet been applied, Expensify has the right to use your proposal to fix said issue, without providing compensation for your solution. This process covers the very rare instance where we need or want to fix an issue internally."

@grgia grgia self-assigned this Dec 2, 2022
@grgia grgia added the External Added to denote the issue can be worked on by a contributor label Dec 2, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title Emoji button on hover background doesn't have proper padding (background touches the icon border) in the dark theme. [$1000] Emoji button on hover background doesn't have proper padding (background touches the icon border) in the dark theme. Dec 2, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

Job added to Upwork: https://www.upwork.com/jobs/~0116174b9a06c6ad84

@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 2, 2022
@grgia grgia assigned Puneet-here and unassigned eVoloshchak Dec 2, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 2, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Jan 5, 2023

@shawnborton, @greg-schroeder, @rushatgabhane, @grgia, @Puneet-here Whoops! This issue is 2 days overdue. Let's get this updated quick!

@JmillsExpensify
Copy link

@greg-schroeder Can we get a regression test on this one? It's going on three weeks, so it'd be great to get that step crossed off. Let's close this issue out.

@melvin-bot
Copy link

melvin-bot bot commented Jan 9, 2023

@shawnborton, @greg-schroeder, @rushatgabhane, @grgia, @Puneet-here Still overdue 6 days?! Let's take care of this!

@JmillsExpensify
Copy link

@greg-schroeder Do you need help getting the regression test done on this one? I'm also going to reach out to you via DM to make sure you don't have something wonky going on with notifications.

@melvin-bot
Copy link

melvin-bot bot commented Jan 11, 2023

@shawnborton, @greg-schroeder, @rushatgabhane, @grgia, @Puneet-here 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@melvin-bot
Copy link

melvin-bot bot commented Jan 13, 2023

@shawnborton, @greg-schroeder, @rushatgabhane, @grgia, @Puneet-here 10 days overdue. I'm getting more depressed than Marvin.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jan 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 18, 2023

This issue has not been updated in over 14 days. @shawnborton, @greg-schroeder, @rushatgabhane, @grgia, @Puneet-here eroding to Weekly issue.

@mallenexpensify mallenexpensify added Daily KSv2 and removed Reviewing Has a PR in review Weekly KSv2 labels Jan 19, 2023
@mallenexpensify
Copy link
Contributor

@greg-schroeder , guessing you didn't see this cuz the Reviewing label was applied and it wasn't going/showing as overdue. Check here for instructions for the regression test steps https://stackoverflow.com/c/expensify/questions/14574

@mallenexpensify mallenexpensify removed the Awaiting Payment Auto-added when associated PR is deployed to production label Jan 19, 2023
@greg-schroeder
Copy link
Contributor

greg-schroeder commented Jan 19, 2023

Okay working on regression steps

@melvin-bot melvin-bot bot added the Overdue label Jan 23, 2023
@shawnborton
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Jan 23, 2023
@greg-schroeder
Copy link
Contributor

greg-schroeder commented Jan 24, 2023

Final step is regression test, working on that this week

@greg-schroeder greg-schroeder changed the title [HOLD for regression test] [$1000] Emoji button on hover background doesn't have proper padding (background touches the icon border) in the dark theme. [HOLD for Regression Test] [$1000] Emoji button on hover background doesn't have proper padding (background touches the icon border) in the dark theme. Jan 27, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 27, 2023
@grgia
Copy link
Contributor

grgia commented Jan 27, 2023

Not overdue

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 27, 2023
@shawnborton
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Jan 30, 2023
@greg-schroeder
Copy link
Contributor

Posted in slack re: regression here: https://expensify.slack.com/archives/C01SKUP7QR0/p1675082181227879

@greg-schroeder
Copy link
Contributor

Per slack, uniform padding/spacing covered by design guidelines: https://expensify.slack.com/archives/C01SKUP7QR0/p1675088862292759?thread_ts=1675082181.227879&cid=C01SKUP7QR0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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