-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
7623 - Subcategories - front-end styling for desktop #7712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
add a bit more space above creep-o-meter introduction (~32px)
-
From the mockups, it looks like the heading of the main category doesn't change and is clickable (dark-blue on hover) to reset the category (like as if you clicked the category from the navigation bar). See Figma mockup
-
Some subcategory pages don't show the state where there isn't a product:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
network-api/networkapi/wagtailpages/templatetags/bg_nav_tags.py
Outdated
Show resolved
Hide resolved
network-api/networkapi/wagtailpages/templates/buyersguide/catalog.html
Outdated
Show resolved
Hide resolved
network-api/networkapi/wagtailpages/templates/buyersguide/catalog.html
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is because the "ALL" link still points to mofo-staging. Tagging @Pomax just to let him know but the all link does work properly on my dev env |
fix tests complete Fixes Feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one code issue, but hitting "delete" in the search does not restore the category the user was on before they started searching. Instead, we stay on "all", but with the products not sorted on creepiness even though there is no search term,
E.g. be on a category:
start searching
delete search again:
If we want to keep the user on "all", then that's fine, but then we'll need to make sure to at the very least re-sort the products on creepiness (low to high ) when there is no text in the search box. I.e. the same ordering as when you intentionally navigate to All:
network-api/networkapi/wagtailpages/templatetags/bg_nav_tags.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Pomax <pomax@nihongoresources.com>
@sabrina when a user starts to search, and then deletes their search again (either though delete/backspace, or the (X) button) should we take the user back to the category they were on before they started searching, or do we keep the user on "all"? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(for some reason the review had been marked as "comment" instead of "changes requested"...)
@Pomax I think it should just stay in "all" if they remove/start searching instead of going back to a previous catergory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, Simon explained that "All" does have the right behaviour but isn't showing on staging
Closes #7623
Also includes some config changes for eslint and prettier for our node tests
Does not include mobile subcategory tasks
https://foundation-s-7620-pills-bdzrnb.herokuapp.com/en/privacynotincluded/