Closed julauxen closed 2 months ago
Aim to unblock #3290 with this enhancement
@CillianHPE @KennyAtHPE can you guys review my proposed refactor of menu, happy to connect to do a demo if it suits.
Main changes are -
Working file for review: https://www.figma.com/design/RY0J9JZwWicKELr6j84GVh/%233898-Menu-Refactor?node-id=0-1&t=Gy50ZoxHmMmNDiNn-1
@ashifalinadaf @CillianHPE @KennyAtHPE
Did a refactor using the exiting components so as to not deprecate the published work.
Changes .Menu Item
.Menu List
Menu
Question raised by Cillian - should we add icon variant/boolean to .Menu Item as its available in grommet https://storybook.grommet.io/?path=/story/controls-menu-item-with-icon--item-with-icon
@julauxen any updates here on progress?
Update: I just seen Seamus's comment on PageHeader on how PH might be unblocked depending on outcome of this.
@vavalos5 I was assigned this on an waiting for review from @KennyAtHPE If you have time I'll add you on figma as a reviewer of the branch.
One question that still need addressed, I added a min & max width to the open menu, but grommet seems to allow unlimited width on the menu items (guidance dictates that most are short single word action verbs) So should I remove the min/max, or dos it help enforce guidance?
Oh also I have a question for D&D today asking if we should include an icon variant in the menu items.
Thanks for the update @SeamusLeonardHPE. I see I accidentally tagged Julia -oops! 😁
I'll review your Menu Figma file and provide feedback there. Ty!!
Left feedback on your Figma file. :) Looks good! I have some small questions on there.
Left comments on the file. Looks great so far!
Addressed review feedback in the branch & merged into main. Will be published today pending a question from the Ds slick channel.
Pulished & closed with note:
Who is requesting this fix? (add contact details here) Seamus
Where is this fix needed? (links and screenshots) Current menu component in figma library
Expected Behaviour (tell us what should happen)
Current Behaviour (show us the current behaviour)
Reviewers:
List possible consequences, involved assets and components:
Checklist (add your progress in the comments)
[x] Align with stakeholders
[x] Gather historical information
[x] Build proposal
[ ] Gather feedback
[x] Create a PR or Create a Figma Branch
[x] Ask for review
[ ] Publish
[ ] Communicate