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

[Backport 2.9] Fix navigation issue across dashboards #5443

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 1de8be6 from #5435.

Previously navigating from one dashboard to another dashboard do not work. This PR adds a dashboard id as a prop to pass into the <DashboardViewPort> component in order to force react to re-render every time it receives a new id.

Resolve the following issues:
* #4694
* https://github.com/opensearch-project/Open and Search-Dashboards/issues/4819

Signed-off-by: abbyhu2000 <[email protected]>
(cherry picked from commit 1de8be6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@opensearch-trigger-bot opensearch-trigger-bot bot added de-angular de-angularize work autocut Skip the changelog verification check on backports dashboards distinguished-contributor v2.11.1 Issues targeting release v2.11.1 labels Nov 7, 2023
@abbyhu2000 abbyhu2000 marked this pull request as draft November 7, 2023 20:17
@abbyhu2000 abbyhu2000 removed the v2.11.1 Issues targeting release v2.11.1 label Nov 7, 2023
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #5443 (150b6f3) into 2.9 (fbee3cd) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.9    #5443      +/-   ##
==========================================
+ Coverage   66.17%   66.19%   +0.01%     
==========================================
  Files        3315     3315              
  Lines       63891    63891              
  Branches     9970     9970              
==========================================
+ Hits        42283    42293      +10     
+ Misses      19167    19156      -11     
- Partials     2441     2442       +1     
Flag Coverage Δ
Linux_1 34.76% <ø> (ø)
Linux_2 55.07% <ø> (ø)
Linux_3 43.22% <ø> (-0.01%) ⬇️
Linux_4 35.09% <ø> (ø)
Windows_1 34.82% <ø> (+0.04%) ⬆️
Windows_2 55.03% <ø> (ø)
Windows_3 43.22% <ø> (ø)
Windows_4 35.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...lic/application/embeddable/dashboard_container.tsx 69.56% <ø> (ø)

... and 2 files with indirect coverage changes

@kavilla kavilla closed this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports dashboards de-angular de-angularize work distinguished-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants