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 2024-10-29] Attachment - Extra space between download and close button #50993

Closed
2 of 8 tasks
IuliiaHerets opened this issue Oct 17, 2024 · 18 comments
Closed
2 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 17, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Open a report.
  3. Send an image.
  4. Click on the image.

Expected Result:

There will be no extra space between download and close button.

Actual Result:

There is extra space between download and close button.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6637291_1729143375378.20241017_133423.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @lschurr
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

Triggered auto assignment to @madmax330 (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Oct 17, 2024

Triggered auto assignment to @lschurr (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.

Copy link

melvin-bot bot commented Oct 17, 2024

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Oct 17, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Oct 17, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 17, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is extra space between download and close button.

What is the root cause of that problem?

We added gap4 in #49984:

<View style={[styles.reportOptions, styles.flexRow, styles.pr5, styles.gap4, styles.alignItemsCenter]}>

What changes do you think we should make in order to solve the problem?

This was added to loosen the distance between the action buttons and search icon in this case: #49984 (comment).

Screenshot 2024-10-17 at 16 42 05

Remove the gap4 style. Instead add margin to the Search icon instead.

{shouldDisplaySearchRouter && <SearchButton />}

@rayane-djouah
Copy link
Contributor

@Expensify/design, could you confirm whether this is a bug or not?

@shawnborton
Copy link
Contributor

Hmm to me, the gap between button and icon on the Search page feels too big. I think we should just standardize on the gap we used to have in the attachment modal between close and download, and try to use that same gap everywhere for this. What was it previously?

@dannymcclain
Copy link
Contributor

@shawnborton That sounds good to me—I think the examples above (Workspaces & room) look too close. But I agree that the search/Expenses screen could be a little tighter. We've previously decided to use an 8px gap between horizontal button groups—can we just standardize on that everywhere?

@shawnborton
Copy link
Contributor

I can definitely get down with that, yup!

@madmax330
Copy link
Contributor

@Kicu can you look at this one since your PR introduced it?

@SzymczakJ
Copy link
Contributor

I'll take care of that since I've also worked on that PR

@SzymczakJ
Copy link
Contributor

I've removed the change in header of AttachmentModal and all other headers that were affected by this change. Also fixed all other places**(set everything to 8px gap)** that we mentioned and that had in them. Please take a look @Expensify/design:
Screenshot 2024-10-17 at 16 46 48
Screenshot 2024-10-17 at 16 47 06
Screenshot 2024-10-17 at 16 53 31
Screenshot 2024-10-17 at 17 06 59
Screenshot 2024-10-17 at 17 25 53

@dannymcclain
Copy link
Contributor

Personally I think that is glorious. :chefkiss:

@shawnborton
Copy link
Contributor

Same, this looks great!

@SzymczakJ SzymczakJ mentioned this issue Oct 17, 2024
48 tasks
@marcaaron marcaaron added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 17, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review and removed Daily KSv2 labels Oct 17, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 17, 2024
@melvin-bot melvin-bot bot changed the title Attachment - Extra space between download and close button [HOLD for payment 2024-10-29] Attachment - Extra space between download and close button Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-4 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 2024-10-29. 🎊

Copy link

melvin-bot bot commented Oct 22, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@madmax330] The PR that introduced the bug has been identified. Link to the PR:
  • [@madmax330] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@madmax330] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@madmax330] Determine if we should create a regression test for this bug.
  • [@madmax330] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 28, 2024
@lschurr
Copy link
Contributor

lschurr commented Oct 28, 2024

No payment here since this was a regression from: #49984

Closing.

@lschurr lschurr closed this as completed Oct 28, 2024
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 Engineering
Projects
None yet
Development

No branches or pull requests

9 participants