Skip to content

fix: create report from context menu#636

Open
tender-barbarian wants to merge 1 commit into
opensearch-project:mainfrom
tender-barbarian:create-report-patch
Open

fix: create report from context menu#636
tender-barbarian wants to merge 1 commit into
opensearch-project:mainfrom
tender-barbarian:create-report-patch

Conversation

@tender-barbarian

@tender-barbarian tender-barbarian commented Sep 25, 2025

Copy link
Copy Markdown

Description

Fixes contextMenuCreateReportDefinition().

There were two things wrong with it:

  1. Report source check was missing data-explorer in path test so it would yield empty result.
  2. location.assign() was appending path at the end of current path, resulting in <domain>/app/data-explorer/discover/reports-dashboards#/create?<params> which was of course wrong. Switched it to navigateToApp().

Issues Resolved

#576

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: tender-barbarian <msolnicki@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant