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

[BUG] Updated cache for the sub tree in Workbench #2351

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sumukhswamy
Copy link
Collaborator

@sumukhswamy sumukhswamy commented Feb 12, 2025

Description

Side tree flyout fix for the caching mechanism

Screen.Recording.2025-02-12.at.3.04.25.PM.mov

Issues Resolved

opensearch-project/dashboards-query-workbench#445

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: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
@sumukhswamy sumukhswamy added bug Something isn't working v2.20.0 labels Feb 12, 2025
@sumukhswamy sumukhswamy changed the title [BUG]Flyout fix [BUG] Updated cache for the sub tree in Workbench Feb 12, 2025
const getMappings = (
index: string,
dataSourceMDSId?: string
): Promise<OpenSearchDashboardsResponse> | undefined => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

return Promise or undefined? is it supposed to be Promise<OpenSearchDashboardsResponse | undefined>?

@mengweieric
Copy link
Collaborator

does query workbench depend on this change? Why query workbench changes need to modify Observability? Could you elaborate more in description?

@sumukhswamy
Copy link
Collaborator Author

so the workbench side tree in case of flint depends on the caching mechanism from observability thats why this PR has been added to update a few conditions in the caching

@mengweieric
Copy link
Collaborator

may need to update snapshots: 19 snapshots failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.20.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants