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

Allow index pattern change in visualizations #1132

Closed
wants to merge 1 commit into from

Conversation

AMoo-Miki
Copy link
Collaborator

@AMoo-Miki AMoo-Miki commented Jan 11, 2022

Signed-off-by: Miki miki@amazon.com

Description

  • Introduced VisIndexPatternSelector: A plugin that offers the UX for modifying index patterns to other plugins
  • Modified the IndexPatternManagement plugin to export IndexPatternManagmentContext type
  • Modified DefaultEditorSideBar to use the new plugin to allow changing the index pattern of visualizations that use it
  • Modified SerializedVisData to include information about the index pattern (required for DefaultEditorSideBar integration)
VisIndexPatternSelector.mp4

Issues Resolved

#707

Check List

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

@AMoo-Miki AMoo-Miki requested a review from a team as a code owner January 11, 2022 03:58
* Introduced VisIndexPatternSelector: A plugin that offers the UX for modifying index patterns to other plugins
* Modified the IndexPatternManagement plugin to export `IndexPatternManagmentContext` type
* Modified `DefaultEditorSideBar` to use the new plugin to allow changing the index pattern of visualizations that use it
* Modified `SerializedVisData` to include information about the index pattern (required for `DefaultEditorSideBar` integration)

Signed-off-by: Miki <miki@amazon.com>
@@ -0,0 +1,79 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch.

@AMoo-Miki AMoo-Miki marked this pull request as draft January 13, 2022 18:27
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
@tmarkley
Copy link
Contributor

tmarkley commented Mar 3, 2022

@AMoo-Miki what's left for this PR? Is it ready for review?

@seanneumann
Copy link
Contributor

Talked to @ashwin-pc. We believe this is working, but need to follow-up with UX and PM to see if this is a feature we need.

@kgcreative
Copy link
Member

Yes -- being able to change your data source will be important. Today, the only way to do that is to manually edit the saved object. I think the main challenge would be matching settings after you switch data source. (What happens when the schema is different between index patterns)

@AMoo-Miki
Copy link
Collaborator Author

A ton of changes have been made since this PR was raised. We will need to re-test this before merging it.

@ashwin-pc
Copy link
Member

@AMoo-Miki Can we close this then and reopen it when we have time to prioritize this?

@ashwin-pc
Copy link
Member

Closing it since its been in the backlog for a year and product roadmap has changed since.

@ashwin-pc ashwin-pc closed this Mar 7, 2023
joshuali925 added a commit to joshuali925/OpenSearch-Dashboards that referenced this pull request Apr 22, 2024
Signed-off-by: Joshua Li <joshuali925@gmail.com>
joshuali925 added a commit to joshuali925/OpenSearch-Dashboards that referenced this pull request May 6, 2024
Signed-off-by: Joshua Li <joshuali925@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.

5 participants