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

Fix crash at loading app analytics tabs #369

Merged
merged 2 commits into from
Apr 17, 2023

Conversation

joshuali925
Copy link
Member

@joshuali925 joshuali925 commented Apr 17, 2023

Description

For future refactoring: it would be better to use core chrome service to get current breadcrumbs, then append new ones to it, rather than passing down parentBreadcrumbs as props.

Passing parent down can be inconsistent (this case breadcrumb vs array) and redundant

Issues Resolved

[List any issues this PR will resolve]

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.

Array [
undefined,
Object {
"href": "#/trace_analytics/home",
Copy link
Contributor

Choose a reason for hiding this comment

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

is trace_analytics in url works? I thought it was removed in earlier pr

Copy link
Member Author

Choose a reason for hiding this comment

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

that is probably from test files

The unit test doesn't care what it should be in reality, as long as dummy arguments are all valid it serves its purpose

Copy link
Collaborator

@anirudha anirudha left a comment

Choose a reason for hiding this comment

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

thanks

Copy link
Contributor

@rupal-bq rupal-bq left a comment

Choose a reason for hiding this comment

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

LGTM

@joshuali925 joshuali925 merged commit 6f13761 into opensearch-project:main Apr 17, 2023
pjfitzgibbons pushed a commit that referenced this pull request Apr 17, 2023
pjfitzgibbons pushed a commit that referenced this pull request Apr 18, 2023
Signed-off-by: Joshua Li <[email protected]>

(cherry picked from commit 6f13761)
Signed-off-by: Peter Fitzgibbons <[email protected]>
joshuali925 added a commit to joshuali925/dashboards-observability that referenced this pull request Apr 18, 2023
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.

3 participants