Skip to content

[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

Description

@kavimuru

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. 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

Activity

  1. added
    Daily
    Bug
    on Nov 29, 2022
  2. melvin-bot commented on Nov 29, 2022

    @melvin-bot

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

  3. Puneet-here commented on Nov 29, 2022

    @Puneet-here
    Contributor

    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)

  4. Pujan92 commented on Nov 30, 2022

    @Pujan92
    Contributor

    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

  5. mananjadhav commented on Nov 30, 2022

    @mananjadhav
    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.

  6. Pujan92 commented on Nov 30, 2022

    @Pujan92
    Contributor

    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

  7. shawnborton commented on Nov 30, 2022

    @shawnborton
    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.

  8. self-assigned this
    on Nov 30, 2022
  9. Puneet-here commented on Nov 30, 2022

    @Puneet-here
    Contributor

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

  10. shawnborton commented on Nov 30, 2022

    @shawnborton
    Contributor

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

  11. mananjadhav commented on Dec 2, 2022

    @mananjadhav
    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

  12. shawnborton commented on Dec 2, 2022

    @shawnborton
    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.

  13. 54 remaining items

  14. greg-schroeder commented on Jan 19, 2023

    @greg-schroeder
    Contributor

    Okay working on regression steps

  15. shawnborton commented on Jan 23, 2023

    @shawnborton
    Contributor

    Not overdue

  16. greg-schroeder commented on Jan 24, 2023

    @greg-schroeder
    Contributor

    Final step is regression test, working on that this week

  17. 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.[/+] on Jan 27, 2023
  18. grgia commented on Jan 27, 2023

    @grgia
    Contributor

    Not overdue

  19. shawnborton commented on Jan 30, 2023

    @shawnborton
    Contributor

    Not overdue

  20. greg-schroeder commented on Jan 30, 2023

    @greg-schroeder
    Contributor
  21. greg-schroeder commented on Jan 30, 2023

    @greg-schroeder
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions