-
Notifications
You must be signed in to change notification settings - Fork 1
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
SDSS-1201 | @jdwjdwjdw | Add 4 column card grid option for lists, adjust one-column layout, fixup load more issue #414
Conversation
@jenbreese ready for another round of review. I made additional changes to the one-column layout per the related slack conversation with design. |
@jdwjdwjdw Just a note that the author has to change the default number to display too or they will only get three. |
@jdwjdwjdw Everything looks good. The news list card on the 1-col does not fill to 980px. It looks like this for both layout none and full width. |
Thanks @jenbreese! I asked design for clarification regarding the News List Card - they were referring to the News List Card paragraph type when they asked for that to be 980px. Design confirmed that list card grids with one or two items displayed are good as is - so we should be good there. |
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.
This looks great. I approve. Don't merge it yet until @joegl says it is ok. We are holding all merges until after the release tomorrow.
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.
Looks good! I have a couple concerns about content governance / design I left in the ticket and then a quick question about the conditions in one of the hooks.
docroot/profiles/sdss/sdss_profile/themes/sdss_subtheme/sdss_subtheme.theme
Outdated
Show resolved
Hide resolved
@jdwjdwjdw I merged the latest I created a basic page with a 1-4-1 layout, added a list paragraph to the header, selected a card grid display and set the max 4 column grid setting. Can you double-check if anything changed that maybe stopped this from working correctly? |
@joegl can you try using a one-column layout instead of the 1-4-1? When I wrote the instructions we were using the 1-4-1 layout but once I made all of those max-width changes it enabled us to use the more preferable one-column layout. Apologies for any confusion, I didn't realize those instructions were out of date. |
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.
LGTM, thanks Jacob!
READY FOR REVIEW
Summary
Items to display
underAdvanced options
is set to something above 3.full-width.scss
.One column adjustments
Added a fixup for an issue I discovered at https://sustainability.stanford.edu/news/school-news/all. If you click the Load More button for the News Items and then scroll to the top of the page, you can see that a new search icon is added for every time you click the Load More button.
Review By (Date)
Review Tasks
Setup tasks and/or behavior to test
Styles/Behaviors
section, select theMax 4 Grid Columns
option underMax number of grid columns
. Confirm that the list goes to 4-columns above 1500px, and the width look good for both aFull Width
page, as well as aLayout: None
page.Full Width
andLayout: None
pages. Confirm that all paragraphs look good and match the updated guidance from designAssociated Issues and/or People