-
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
ADAPT-5902 | @rebeccahongsf | theme mega menu #695
Conversation
<li> | ||
<SbLink link={link}>{linkText}</SbLink> | ||
<li className="su-rs-mb-0"> | ||
<SbLink |
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.
Question for Tuesday @yvonnetangsu 😃 — Does Storyblok link field auto-magically define the external links differently from the internal links? I know we have a conditional to check within the SbLink
component but I was wondering if any additional code work is needed to make it work 🤔
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.
@rebeccahongsf I don't believe you need to do anything to the link prop, but I'm looking at the current navItem component, and there is a hasExternalLinkIcon prop that you can set (whether to display an external link icon) 😄
https://github.com/SU-SWS/saa_alumni/blob/dev/src/components/navigation/navItem.js
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.
It's more for whether you want all external links to display an icon - I don't think you need to do the external link check yourself.
@rebeccahongsf One thing I noticed is that you might be able to reuse more of the responsive styles for the top level parent buttons for smaller breakpoints. You're probably still working on it though? 😄 |
Ooo! This is a great call out, @yvonnetangsu! 😅 I totally overlooked the parent text second line field |
I figured you were probably still working on it too - there is no rush! 😄 |
@rebeccahongsf Very nice work - this is 95% there 😄 ! Here comes just a few comments then should be GTG
There are different ways to update this, using a CSS grid might be the most straightforward, but you can also add su-shrink-0 to each column and give them each a max width etc. Up to you and the designer 😄 |
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.
Just added some comments for final finetuning - looking really great! Nice job 👏🏼 😄
@yvonnetangsu I updated this PR with some of your requested changes. I'm going to follow up with a designer and implement the following changes in my next PR. Please let me know if any additional adjustments are needed. Thank you thank you! 😃
|
@rebeccahongsf Thank you for the changes - I'll look after getting into SRWC 👍🏼 😄 |
Looks great - @rebeccahongsf !! Adding that comment for grid gap as you requested - here's a screenshot - need gaps on both of the grids 👍🏼 😄 |
A few more that I just noticed - related to the modal visual regression 😂 Definitely related to the earlier comments, so you might fix these when you fix those ones. |
I'm not able to log in as zguan on the preview, if you could - please do a check for the user menu for me too 😄 |
Looks like I was missing the MEGAPROFILE_URL in vault! Mind retrying here? I'll definitely take a look over the user menu as well 😃 |
Thank you @rebeccahongsf ! Yes, I can log in now 👏🏼 Yup, looks like some visual regression in the user menu on the homesite after logging in as well On the T/S side, it looks good except for the close modal button 😄 (for user menu, search - as mentioned before, and for the Destination page filter modal on mobile) |
Thank you thank you @yvonnetangsu for looking it over again! Looks like my changes to the Modal.styles.ts is causing those issues so I'll fix that up in my mobile pr 🫡 |
Thank you @rebeccahongsf !! 😄 👍🏼 |
* update README * ADAPT-5924 | @rebeccahongsf | update to megamenu vault vars * ADAPT-5901 | @rebeccahongsf | build out mega menu components (#694) * ADAPT-5901 | @rebeccahongsf | build out mega menu components * remove dupe * ADAPT-5902 | @rebeccahongsf | theme mega menu (#695) * ADAPT-5902 | @rebeccahongsf | theme mega menu * adjust dropdown menu flex and grid container * tweak fonts * tweak font and spacing * style mega menu card image * tweak grid to match mocks * fixup toplink styles * fix double menu appearance * adjust responsive display of dropdown links * add some mobile styles * fixup * fixup * fixup * update active state logic * remove homesite * adjust background color, text color, and tweak chevron buttons of mobile menu * fixup menu dropdown transition * fixup keyboard esc * add mobile background color for dropdowns * fixup grid * DS-173 | @rebeccahongsf | theme mobile mega menu (#696) * revert modal styles for testing * remove unused color * add modal styles for mobile menu * fixup mobile font size and chevron hocus * add grid gap * add mobile menu group border and spacing * adjust mobile border and chevron * create seperate mega menu card stylesheet * fixup mobile positioning for child menu * reduce padding on lg and add word break * fixup grid * fixup active state * add grid gaps * remove secondary header link * DS-173 | @rebeccahongsf | adjust mega menu card width * DS-173 | @rebeccahongsf | fixup line height of menu link items and add white bg for mobile menu modal * DS-96 | @rebeccahongsf | replace div with span for accessibility * DS-173 | @rebeccahongsf | fixup card white space * DS-96 | @rebeccahongsf | update aria-label for mega menu * revert netlify config and readme
READY FOR REVIEW
Summary
https://www.figma.com/file/nPKfSbRk5lXIzpDYGpS93G/Mega-Menu?type=design&node-id=12%3A476&mode=design&t=Ll9CTbMFY7op74rY-1
Review By (Date)
Review Tasks
Setup tasks and/or behavior to test
Associated Issues and/or People