Conversation
|
✅ Deploy Preview for hpe-theme-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for unrivaled-bublanina-3a9bae ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for hpe-design-icons-grommet ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@julauxen Added a first pass at the anatomy diagram. Let's sync tomorrow to move forward. |
|
Moved anatomy diagram PR here |
* Refactored for clarity and consistency with other anatomies * adjusting pointers * adjustments * [Docs] - Menu anatomy proposed refactoring (#5728) * Proposed implementation cleanup and refactoring * Updated markdown * Fixed spread * Adding dotted lines and adjusting targets for clarity * Refactored for clarity and consistency with other anatomies Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> * adjusting pointers Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> * adjustments Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> * [Docs] - Menu anatomy proposed refactoring (#5728) * Proposed implementation cleanup and refactoring * Updated markdown * Fixed spread Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> * Adding dotted lines and adjusting targets for clarity Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> * adjusting pointers Signed-off-by: luketa8 <lucas.speyer@gmail.com> * chore: trigger preview Signed-off-by: luketa8 <lucas.speyer@gmail.com> * removing duplicate line * adjusting menu button * adjusting menu button --------- Signed-off-by: Lucas Speyer <lucas.speyer@gmail.com> Signed-off-by: luketa8 <lucas.speyer@gmail.com> Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com>
Content updated according to comments on #5745
* [Docs site] Layout - Refactored DocLayout to make future enhancements to site page Layout.js (#5685) * Moved PageContent to be part of AppHeader for readability * Refactored creating a DocsLayout for enhanced readability * tweaked skipto target label * Update aries-site/src/layouts/content/DocsLayout.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fixed falsy condition * Removed hardcoded container width * Moved Box layout direction to be responsibility of DocsLayout * Removed MainContentWrapper for greater clarity --> placed PageContent within DocsLayout * Moved location of Page wrapper * Removed uneccessary props from AppHeader * Removed unused import * syntax formatting and removed commented out line --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Storybook cleanup controls and dark mode (#5722) * storybook cleanup controls and dark mode * address comments * address comments * Update icons-grommet README.md (#5697) * Update icons-grommet README.md * Add icons figma link * Update README.md * Update packages/icons-grommet/README.md Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * Update packages/icons-grommet/README.md --------- Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * add chromatic to the workflow (#5723) * add chromatic to the workflow * remove token * update file * Trigger Chromatic workflow with updated token * Update shared/aries-core/package.json Co-authored-by: Jessica Rosenquist <54560994+jcfilben@users.noreply.github.com> * Update package.json * remove build search script --------- Co-authored-by: Jessica Rosenquist <54560994+jcfilben@users.noreply.github.com> * Standardize Card Preview Backgrounds (#5699) * removing overrides and adding padding where needed * adding padding and adjustments on background change * remove disabled * change background * make components in cards non focusable * make components in cards non focusable --------- Co-authored-by: britt6612 <brittany.archibeque@hpe.com> * DS storybook - add Box story (#5724) * box story * Update shared/aries-core/src/stories/utils/commonArgs.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * pull common args from the theme * alphabetize argTypes in Box * added skeleton prop * move more items to common args --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * [Docs] Tutorials - Grid fundamentals update (#5652) * initial commit - Changed to 6 items in grid example for harmony in grid reflow - Added background-front and padding to Grid demo background to make card style visible. - Minor updates to card example to save vertical space * Updated description on card & header * Updated bg color Modified bg color to 'background-info' this resolved TODO note and matches code in 'step 1' example * Updated based on review Deleted unused image (from removed 7th card. Updated example files to 1- Remove unnecessary background={{ color: 'transparent' }} on <Grommet> 2- Standardize format of initial <b Box> * remove background=transparent on Grommet for stepFive.js * Replace background value with correct semantic one. * docs: added TODO, replace staic image with link to coded example of finished grid * reformat files * replace heading for text * Updated per feedback Wrapped <ProductPage> in examples. Updated aria for button icon. Removed unused vars * Added overflow to fix mobile view when switched * address feedback * address Matts comments * add overflow auto * add back image * Update StarterTemplate.js * Reorder import statements in StepFive.js * add back image --------- Co-authored-by: sulaymon333 <tjsulaymon@gmail.com> Co-authored-by: britt6612 <brittany.archibeque@hpe.com> Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * Standardize spacing between sections on pages (#5684) * Standardize spacing between sections on pages * refactoring for simplicity * Fixing inconsistent gap below titles * address Matts comments * added subsection and content section to learn and templates * Update index.js * added subsection and content section to learn and templates --------- Co-authored-by: britt6612 <brittany.archibeque@hpe.com> Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * [Docs-site] Convert datatable status and state images to code (#5664) * convert static images to code * delete static datatable images * more fixes * update content and replace images with code * increase anatomy width * update grommet doc link from data to datafilters * update status and state table headings * fix combined status and state column status column label * revert anatomy changes * remove DataTableFilterExample inline example * convert statusIcon util to a component * remove instructions from status only colum table title * unlist filter list item link under narrowing a result set section * reduce datatable height and no fill * fix status and state tables row height and standardize detail page namevalues into two columns * remove Server name: from table header for status only column detail table * Update aries-site/src/examples/components/datatable/DataTableStatusOnlyExample.js Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> * Update aries-site/src/examples/components/datatable/DataTableCombinedStatusStateExample.js Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> * Update aries-site/src/examples/components/datatable/DataTableSeparateStatusStateExample.js Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> * Update aries-site/src/examples/components/datatable/DataTableStatusOnlyExample.js Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> --------- Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> * fix menu types section - #5726 issue * Added SelectMultiple to all-components page (#5747) * update menu label * fix typo on status indicator page (#5756) * DS storybook - More layout stories (#5731) * box story * Update shared/aries-core/src/stories/utils/commonArgs.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * pull common args from the theme * alphabetize argTypes in Box * added skeleton prop * move more props to commonArgs * remaining layout stories * address feedback * Fix accessibility issue * add aria-hidden to icon * remove boxArgs from Page * update args after devdiscussion * adjust card argTypes * removed elevation form foot and header stories * remove plain from buttons in header story * incorporate changes from review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * remove gap between icons only menus * add anchor storybook (#5743) * add anchor storybook * add icons to anchor story * address Jessicas comment * remove pad * remove pad * make panel on right side * remove addon * address matts comments * address Jessica's comments * set addons panel to default to the right side of the screen (#5759) * remove space from icons only menu Grid -> Box * remove wrapping Box comp. * Revert "Merge branch 'master' into menu-types" This reverts commit 89fa64d, reversing changes made to 39309f7. * remove hoverIndicator prop * update menu items --------- Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jessica Rosenquist <54560994+jcfilben@users.noreply.github.com> Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> Co-authored-by: Lucas Speyer <lucas.speyer@gmail.com> Co-authored-by: britt6612 <brittany.archibeque@hpe.com> Co-authored-by: SeamusLeonardHPE <135040188+SeamusLeonardHPE@users.noreply.github.com>
…nu-content-update
* fix menu do-donts section #5727 * restore original file name MenuDividersExample --> MenuGroupingExample * update menu items * updatemenu item group and text * Update aries-site/src/examples/components/menu/MenuMock.js Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * Update aries-site/src/examples/components/menu/MenuMock.js Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> * update profiles to server * updated menu.mdx from main PR * Update aries-site/src/examples/components/menu/MenuMock.js Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> * refactor mock menu * rename and restructure files for MenuMock and fix error from MenMockButton inside MenuAnatomy --------- Co-authored-by: Brittany <42451602+britt6612@users.noreply.github.com> Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com> Co-authored-by: britt6612 <brittany.archibeque@hpe.com>
small changes to content
| github="https://github.com/grommet/hpe-design-system/blob/master/aries-site/src/examples/components/menu/MenuRecordActionsExample.js" | ||
| height={{ min: 'medium' }} | ||
| > | ||
| <MenuRecordActionsExample /> |
There was a problem hiding this comment.
I'm feeling like these server groups need to be contained. Present in a container on "background-front"? Right now the menus feel like they are floating and lack affordance to the thing to which they relate.
cc: @oliverHPE
There was a problem hiding this comment.
Yes, the menu button and content appear to be too far apart to be obviously associated. Each item could be
- contained or
- the content could be rearranged so the 'Title', 'server count' and 'status' sit in a row. The direction may then form continuity to the menu button and make it feel more naturally belonging to the item.
There was a problem hiding this comment.
Added containment with background-back
| | **3b** | **Item icon** | Provides a quick visual reference for the action. | Optional | -- | | ||
| | **4** | **Divider** | Separates groups of related actions. | Optional | -- | | ||
|
|
||
| ## Types |
There was a problem hiding this comment.
Weird, I have the impression that this was not the case before. Did we change anything on the layout? Either way, I'll create a ticket to investigate: #5834
| ## Types | ||
|
|
||
| To create a predictable experience for users, the following are guidelines for using Menu. | ||
| ### Default |
There was a problem hiding this comment.
Where did we land on showing a menu other than the default button treatment? If I were to consume this page, I would not pick up on that menus can use any button kind styles.
Can we repurpose the "Toolbar" type and show a variety of menu kinds?
Also, I feel like folks are reaching for secondary instead of toolbar when adding menus to toolbars because the menu doesn't have enough affordance and users are not seeing it. Should we consider modifying the toolbar treatment.
cc: @oliverHPE
There was a problem hiding this comment.
hey @halocline I added you previous comments about the different button types to the phase 2 ticket (#5683) since we do not have that representation on our current docs and for phase 1 we are avoiding adding. Does that sound fair?
There was a problem hiding this comment.
Given where we are in the sprint, I think that is fine. If we were mid-sprint, I'd say add now because we are already in that headspace and its cheap and easy to implement.
Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com>
Co-authored-by: Matthew Glissmann <mdglissmann@gmail.com>


Deploy Preview
Actual page: https://deploy-preview-5702--keen-mayer-a86c8b.netlify.app/components/menu
What does this PR do?
Updates the menu content according to this design.
What are the relevant issues?
Closes #5674
Where should the reviewer start?
Menu page
How should this be manually tested?
Any background context you want to provide?
Screenshots (if appropriate)
Should this PR be mentioned in Design System updates?
Is this change backwards compatible or is it a breaking change?