Skip to content
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

Context menu group flattening #4072

Conversation

sikhote
Copy link
Contributor

@sikhote sikhote commented May 22, 2023

Description

This allows a group within a context menu to be flattened. Typically, a group within a context menu has it's own separate option within a context menu, which can be clicked into to show deeper options. This feature allows a group to be flattened within the main menu. The need being filled is to allow grouping multiple items, but without relying on order to do so and providing a separator between the group and any other groups.

This builds on the work completed in #3924

Issues Resolved

#4073

Screenshot

Screenshot 2023-05-21 at 11 12 48 PM

Testing the changes

These changes can be tested using the regular testing suite, or by visiting the example page locally at http://localhost:5601/app/uiActionsExplorer

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

sikhote and others added 12 commits April 23, 2023 21:15
Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
…m:sikhote/OpenSearch-Dashboards into enhance-grouping-for-context-menu-options

Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
…m:sikhote/OpenSearch-Dashboards into enhance-grouping-for-context-menu-options

Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
…m:sikhote/OpenSearch-Dashboards into enhance-grouping-for-context-menu-options

Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
@sikhote sikhote changed the title Context menu grouping options Context menu group flattening May 22, 2023
Signed-off-by: David Sinclair <[email protected]>
@sikhote
Copy link
Contributor Author

sikhote commented May 26, 2023

This approach did not work and is replaced by #4144

@sikhote sikhote closed this May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants