Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Add In-Context Reporting Menu #97

Merged

Conversation

davidcui1225
Copy link
Contributor

@davidcui1225 davidcui1225 commented Sep 24, 2020

Issue #, if available:
N/A
Description of changes:
Added in-context reporting menu in Dashboards and Visualizations pages
List of Changes:

  • Added Reporting menu in the navigation menu
  • Ability to download PDF or PNG visual report directly from Kibana
  • Ability to create a new report definition from the current report source with Report source and Time range pre-selected after navigation to Create report definition
  • Loading modal to inform the user that their report generation is in progress
  • Success or failure toast to notify the user of the status of their report generation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Screen Shot 2020-09-29 at 3 05 42 PM

* permissions and limitations under the License.
*/

export const getMenuItem = (name) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to change, but consider convert to react component in the future

@davidcui1225 davidcui1225 merged commit 8e4c76e into opendistro-for-elasticsearch:dev Sep 30, 2020
@@ -3,6 +3,7 @@
"version": "0.0.1",
"kibanaVersion": "7.8.0",
"requiredPlugins": ["navigation"],
"optionalPlugins": ["share"],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this optional ?

@@ -0,0 +1,230 @@
/*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this is not in typescript ?

@@ -28,6 +28,7 @@ import { ReportSettings } from '../report_settings';
import { ReportDelivery } from '../delivery';
import { ReportTrigger } from '../report_trigger';
import { generateReport } from '../../main/main_utils';
import { Request } from 'selenium-webdriver/http';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this since no longer needed.

@davidcui1225 davidcui1225 deleted the context-menu branch October 26, 2020 16:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants