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

Added product name to homepage & thumbnail sizing #2232

Merged
merged 16 commits into from
Nov 20, 2018

Conversation

mmmavis
Copy link
Collaborator

@mmmavis mmmavis commented Nov 19, 2018

Closes #2229 and #2124

@Pomax I added a few wrappers so it will be a lot easier if you review the code without whitespace changes: https://github.com/mozilla/foundation.mozilla.org/pull/2232/files?w=1

@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 19, 2018 21:18 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 19, 2018 21:47 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 19, 2018 21:53 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 17:39 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 18:03 Inactive
@mmmavis mmmavis changed the title (WIP) Added product name to homepage & thumbnail sizing Added product name to homepage & thumbnail sizing Nov 20, 2018
@mmmavis mmmavis requested a review from Pomax November 20, 2018 18:05
@kristinashu
Copy link

kristinashu commented Nov 20, 2018

This is looking great! Feels so nice and responsive! Few things, let me know if you have any questions.

White cutout

  • Add white cutout back in

I noticed this white cutout is missing. Screen cap from PR
screen shot 2018-11-20 at 10 44 22 am

Screen cap from prod:
screen shot 2018-11-20 at 10 43 42 am

Remove white space at bottom

  • Please remove the white space at the bottom so product images go right up to the footer

Screen cap from PR:
screen shot 2018-11-20 at 10 46 03 am

Suggested comp:
screen shot 2018-11-20 at 10 46 03 am

Make even more responsive

  • Add a state with four images across

As the screen width narrrows, it goes from 5 across, to 3, and then to 2. Would it be possible for it to go from 5 across, to 4, to 3 and then to 2? Because just before it goes from 5 to 3, the images are quite small. I think added 4 across will help with this.

@mmmavis mmmavis mentioned this pull request Nov 20, 2018
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 19:13 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 19:18 Inactive
@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 19:21 Inactive
@mmmavis
Copy link
Collaborator Author

mmmavis commented Nov 20, 2018

@kristinashu PR updated!

Pomax
Pomax previously requested changes Nov 20, 2018
@@ -1,4 +1,8 @@
#pni-home {
.main-content.pb-5 {
padding-bottom: 0 !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not do this. If we need padding-bottom 0, then either we set pb-0 as a bootstrap class instead of pb-5, or we add a different-named class that we can use to set up a more-specific CSS rule (so that it wins from the general pb-5) that effects the override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this is also why we had those classes as explicit strings everywhere: you can't easily tweak individual class strings if they're pulled from a template variable)

@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 19:28 Inactive
@kristinashu
Copy link

My feedback above all looks fixed. But looks like a bunch of vertical space was added between the Click on a product to rate it. text and the face.

Screen cap from PR:
screen shot 2018-11-20 at 11 32 38 am

@mmmavis mmmavis temporarily deployed to foundation-mofostaging-pr-2232 November 20, 2018 19:39 Inactive
@mmmavis
Copy link
Collaborator Author

mmmavis commented Nov 20, 2018

PR updated!

@mmmavis mmmavis requested a review from Pomax November 20, 2018 19:40
@Pomax
Copy link
Contributor

Pomax commented Nov 20, 2018

Did we strip the white space on the sides intentionally? The homepage grid feels super crowded now

image

@mmmavis mmmavis dismissed Pomax’s stale review November 20, 2018 19:54

another review request was sent

@kristinashu
Copy link

Let's see how wide desktop view looks on mofostaging with the real images.

Shouldn't be related but noticing the likelihood to buy filter isn't working properly (showing both thumbs up and down even though I've selected only up. Is that from this PR or a different one?

image

@mmmavis
Copy link
Collaborator Author

mmmavis commented Nov 20, 2018

Shouldn't be related but noticing the likelihood to buy filter isn't working properly (showing both thumbs up and down even though I've selected only up. Is that from this PR or a different one?

Might be me. I will check in a bit.

@@ -64,6 +64,11 @@
padding: $padding-y $padding-x;
width: calc((100% - #{$row-total-gutter-width}) / #{$items-per-row});

&.d-flex.d-none {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow. crazy O_O

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants