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

Cart's X is not aligned #3667

Closed
machikoyasuda opened this issue Feb 8, 2018 · 10 comments
Closed

Cart's X is not aligned #3667

machikoyasuda opened this issue Feb 8, 2018 · 10 comments
Assignees
Labels
bug For issues that describe a defect or regression in the released software

Comments

@machikoyasuda
Copy link
Contributor

machikoyasuda commented Feb 8, 2018

Visual bug: Screenshots

Expected Actual
screen shot 2018-02-08 at 11 10 22 am screen shot 2018-02-08 at 11 10 51 am

Expected behavior

  • The (X) icon should be centered, relative to the corner of the image.

Actual behavior

  • The (X) is a few pixels too far to the left.

Steps to reproduce the behavior

  1. Add an item to cart.
  2. Click the cart.
  3. Observe cart.

Versions

Node: 8.2.1
NPM: 5.6.0
Meteor Node: 8.9.3
Meteor NPM: 5.5.1
Reaction CLI: 0.27.0
Reaction: 1.8.0
Reaction branch: release-1.8.0
Docker: 17.09.0-ce

QA

QA'd by @willopez + @machikoyasuda

For enhancements or other issues, please describe, in as much detail as
possible, how the app should be changed, and how this would benefit other users and developers.

@machikoyasuda machikoyasuda added bug For issues that describe a defect or regression in the released software design labels Feb 8, 2018
@machikoyasuda machikoyasuda changed the title Visual bug: Cart's X is not aligned Cart's X is not aligned Feb 8, 2018
@spencern spencern added this to the Bugfix Sprint 1 milestone Feb 9, 2018
@rymorgan rymorgan added UIX and removed design labels Feb 12, 2018
@cassytaylor cassytaylor self-assigned this Feb 12, 2018
@cassytaylor
Copy link

cassytaylor commented Feb 13, 2018

It looks like this issue could be resolved by simply removing the 2px border on the "X" button.. or at least it would make any misalignment less noticeable :) (also, more consistent with other delete buttons)
screen shot 2018-02-13 at 12 03 13 pm

here's a mock with the button moved down a couple of pixels as well (so it's centered over the top edge of the product image);
cart-items 2x

@aaronjudd
Copy link
Contributor

aaronjudd commented Feb 13, 2018

👍 I also saw this (new) ui issue.. @cassytaylor there is no reason to the current X design -> except it's leftover from the most early days of creation, and can be safely updated as I also think this is the only representative of this ui anywhere -> maybe we could look at what the modal / popup X styling and converge on a normal "X"? In this case, I think that'd probably just mean removing the color background on the X as well.

@kieckhafer
Copy link
Member

kieckhafer commented Feb 13, 2018

@cassytaylor @aaronjudd Came into this ticket to assign it to myself. I fixed the alignment issue in #3740, happy to discuss updating the styling as well if we want to do that at this time.

@cassytaylor
Copy link

@aaronjudd @kieckhafer yeah, in terms of making it consistent with the next most similar "remove" X button - the one on the PDP product images in Edit mode - I think it would just require changing the background to white.

I haven't done a full audit of all of the remove/close icons around the site, but it sounds like @rymorgan wants to move to a model in the cart where you'd edit the quantities of the items vs. clicking "X" to remove them, so the "X" buttons would generally be used to close things going forward - but that's probably a discussion for a different time :)

@kieckhafer
Copy link
Member

kieckhafer commented Feb 13, 2018

@cassytaylor The PDP page does not have a border on it either, which makes it look a bit odd in the cart with a white background, when the image has a white background too:

sweet_tee_s

I think white background + 1px border (dropped from 2px) looks pretty good and more consistent, what do you think?

sweet_tee_s

This all under the assumption it's probably temporary once @rymorgan starts to redesign it.

@cassytaylor
Copy link

@kieckhafer hmm 🤔the designer in me wants to get rid of the border entirely, but I do agree with you that it works better for product images with white backgrounds (so generally, most all)..

Maybe we could compromise and keep the pinkish gray background (but no border)?

@rymorgan and I will be working on reining in all of these components with the style guide... so we'll create some rhyme and reason for all of these soon, haha.

@kieckhafer
Copy link
Member

@cassytaylor
sweet_tee_s

@cassytaylor
Copy link

@kieckhafer, works fer me!

@rymorgan
Copy link
Contributor

I get the logic to where we ended up here, but it shouldn't be that yellow. I think it should be like 15% grey. We do need to revisit this whole ux flow for removing items from cart though.

@kieckhafer
Copy link
Member

Updated to be grey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

6 participants