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

Enhance grouping for context menu options #3991

Conversation

sikhote
Copy link
Contributor

@sikhote sikhote commented May 8, 2023

Description

This is the same request as #3924 , but looking to merge here as well for getting the content menu changes into our feature branch.

  • Lowers the minimum children count to 2, allowing for smaller groups within context menus
  • Adds a separator between groups
  • Add documentation and some variable renaming for clarity
  • Adds an option to the embedded panel component to remove borders and padding

Issues Resolved

#3171

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

opensearch-trigger-bot bot and others added 16 commits April 22, 2023 04:35
* fixes header change
* Update src/core/public/chrome/ui/header/header_help_menu.tsx
* fixes snapshots



---------



(cherry picked from commit 3cca088)

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Romero <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
…pensearch-project#3922)

History push will just to the current route. However, dashboardsProvider
was implemented with the expectation that it was a different app.

So when a plugin registered it was attempting to navigate to
`app/dashboard#/app/{url}`

Add tests and extra data test subject.

Signed-off-by: Kawika Avilla <[email protected]>
* Update js-yaml to 4.0.5 (opensearch-project#3659)
* Update CHANGELOG.md (opensearch-project#3659)

Co-authored-by: Sergey Myssak <[email protected]>
Signed-off-by: Andrey Myssak <[email protected]>

---------

Signed-off-by: Andrey Myssak <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Sergey Myssak <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
* Update README.md

Signed-off-by: Melissa Vagi <[email protected]>

* Update README.md

Co-authored-by: Miki <[email protected]>

---------

Signed-off-by: Melissa Vagi <[email protected]>
Co-authored-by: Miki <[email protected]>
Co-authored-by: Miki <[email protected]>
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
Co-authored-by: Sean Neumann <[email protected]>
* docs(COMMUNICATION): Add communication guide

with info on slack, forum, and developer office hours
link from README, CONTRIBUTING, DEVELOPER_GUIDE

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Josh Romero <[email protected]>
…pensearch-project#3976)

The latest version of chromedriver is 112.0.1 which does not support
node 14. This PR hardcodes chromedriver to 112.0.0 temporarily. Pls
revert it once we bump to node 18.

Issue Resolved
opensearch-project#3975

Signed-off-by: ananzh <[email protected]>
…ch-project#3911)

* Fix wording and duplicate code in embeddable example plugin

Signed-off-by: abbyhu2000 <[email protected]>

* Fix some wording in the embeddable readme

Signed-off-by: abbyhu2000 <[email protected]>

---------

Signed-off-by: abbyhu2000 <[email protected]>
Within the CI, the virtual runner that we are utilizing has Chrome
installed already. The version of Chrome is installed periodically.

The most recent version of Chrome requires updates to dependencies
that drop support for Node 14.

This downloads chrome in the CI and then checks the chromedriver
from the environment variable `TEST_BROWSER_BINARY_PATH`.

Signed-off-by: Kawika Avilla <[email protected]>
sikhote added 4 commits May 14, 2023 19:20
…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]>
@sikhote
Copy link
Contributor Author

sikhote commented May 15, 2023

Updated slightly, see #3924 for details.

Initial page size was passed to the search function instead
of the listing limit causing the max amount received to be
significantly less than the previously implementation.

Saved objects per page is `20` by default and the listing
limit per page is `1000` by default.

Issue:
opensearch-project#4017

Signed-off-by: Kawika Avilla <[email protected]>
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #3991 (575bae7) into feature/feature-anywhere (e4fccfc) will increase coverage by 0.04%.
The diff coverage is 90.90%.

@@                     Coverage Diff                      @@
##           feature/feature-anywhere    #3991      +/-   ##
============================================================
+ Coverage                     66.44%   66.48%   +0.04%     
============================================================
  Files                          3208     3246      +38     
  Lines                         61744    63075    +1331     
  Branches                       9537     9815     +278     
============================================================
+ Hits                          41023    41938     +915     
- Misses                        18431    18784     +353     
- Partials                       2290     2353      +63     
Flag Coverage Δ
Linux 66.40% <90.90%> (+0.02%) ⬆️
Windows 66.48% <90.90%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ugins/ui_actions/public/actions/action_internal.ts 47.36% <ø> (ø)
...lic/context_menu/build_eui_context_menu_panels.tsx 75.60% <90.90%> (+16.35%) ⬆️

... and 83 files with indirect coverage changes

Nicksqain and others added 3 commits May 15, 2023 16:45
* Update find_test_subject imports for tests

Signed-off-by: Alexei Karikov <[email protected]>

* Update to available imports for findTestSubject

Signed-off-by: Alexei Karikov <[email protected]>

* Fix available import for Query and custom icon

Signed-off-by: Alexei Karikov <[email protected]>

* Add changelog entry

Signed-off-by: Alexei Karikov <[email protected]>

* Add ts-ignore

Signed-off-by: Alexei Karikov <[email protected]>

---------

Signed-off-by: Alexei Karikov <[email protected]>
Co-authored-by: Qingyang(Abby) Hu <[email protected]>
…ct#4040)

* Fixes code coverage workflow failures for the project test due to inderect flakey changes

Signed-off-by: Ashwin P Chandran <[email protected]>

* Adds changelog

Signed-off-by: Ashwin P Chandran <[email protected]>

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
@abbyhu2000 abbyhu2000 self-assigned this May 16, 2023
ashwin-pc and others added 12 commits May 16, 2023 09:38
…oject#3908)

Remove re2 usage and replace it with JavaScript built-in
RegExp object. Also add more unit tests to make sure that
using RegExp has same expressions as using re2 library.

Issue Resolve
opensearch-project#3901

Signed-off-by: Anan Zhuang <[email protected]>
…nsearch-project#3993)

* remove unused ul element

Signed-off-by: Sirazh Gabdullin <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Sirazh Gabdullin <[email protected]>

---------

Signed-off-by: Sirazh Gabdullin <[email protected]>
…#4063)

* Add release note for 1.3.10



* Address comments and add one CVE PR



---------


(cherry picked from commit 4371587)

Signed-off-by: abbyhu2000 <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…h-project#3957)

* [Multiple Datasource]Support Amazon OpenSearch Serverless in SigV4
* remove experimental text in yml
* Refactor create data source form for authentication

Signed-off-by: Su <[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]>
* Remove Sass from tile_map plugin

Signed-off-by: Matt Provost <[email protected]>

* Update changelog

Signed-off-by: Matt Provost <[email protected]>

---------

Signed-off-by: Matt Provost <[email protected]>
…pensearch-project#3954)

* Adds design document for new saved object service interface for custom repository

Signed-off-by: Bandini Bhopi <[email protected]>
@sikhote
Copy link
Contributor Author

sikhote commented May 26, 2023

Closing in favor of #4146

@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.