-
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-595 | SDSS-596: Add Newsroom menu #189
Conversation
…y decanter change
… lost with git troubles
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.
Thanks @jenbreese! Overall I really like how things are looking. I did identify some issues/questions, which I have addressed below.
-
I'm not sure how relevant this is, but when I spun this PR up and went to
/admin/structure/block/
there were already two News & Research blocks (one at/admin/structure/block/manage/newsroom?destination=/admin/structure/block/list/sdss_subtheme
and one at/admin/structure/block/manage/newsresearch?destination=/admin/structure/block/list/sdss_subtheme
) added to theNewsroom Menu block
. I was confused why there were two blocks already there and figured it'd be good to point out. I also had to add/news
to the page visibility configuration in order for it to display on the news page
-
Desktop
-
I think the vertical alignment between the
News & Research
, links, and search input are a little off. It'd be nice if the links and search were all vertically aligned closer to the center ofNews & Research
.
-
Additionally, I think it'd be good if the dropdown icons were moved down a little bit to better align with the links
-
When the links and search input are squashed into two lines, the dropdown menu covers up some of the News & Research headline and the search input
-
-
Mobile
-
The main-menu search icon has some positioning issues while signed out
-
The sub-menu search input looks like it could use some spacing between the icon and the text
-
Mobile drop-down icons
-
When I tab through the mobile menu, it doesn't close once you reach the bottom of the links. I think this is an a11y issue, as it was something we had difficulty getting right for ADAPT in the past
-
It looks like the sub-menu breaks if there are too many links in the menu. Here is how it looks when you open the Browse topics sub-menu on mobile when it has all of the links added
-
Should the last two links the mobile sub-menu also look like buttons, to match figma?
-
From figma, when you open a submenu dropdown (e.g.
Browse topics
), it looks like theBrowse topics
div should change colors as well, not stay the same color)
-
Let me know if you have any questions / need any clarifications!
.contextual-region { | ||
position: unset; | ||
} |
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.
@jenbreese I can quickly help with the double block placement. I see two block configs for the news menu in this PR:
These appear to be duplicates of one another and you only need one in there. |
Also thanks @jdwjdwjdw for the thorough review! |
I so appreciate working with @jdwjdwjdw He's awesome |
@jdwjdwjdw I fixed the following issues:
|
Update:
|
Fixed items:
|
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.
All of the issues that I identified have been addressed, and everything is looking great as far as I can tell 🚀
…ggle option (#330) * SDSS-1126: Added SDSS Site Settings config page with Newsroom menu toggle option.
READY FOR REVIEW
Summary
Review By (Date)
Criticality
Review Tasks
Setup tasks and/or behavior to test
Check out this branch
You have to set up the menu and add links
Go to this menu, /admin/structure/menu/manage/newsroom and add links per the design. The links are added in columns.
Go to block, /admin/structure/block and add the News & Research menu to the block.
esc
works for the closing the menu.Front End Validation
Backend / Functional Validation
Code
Code security
General
Affected Projects or Products
Associated Issues and/or People
Resources