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.x] Fix navigation issue across dashboards #5437

Merged
merged 1 commit into from
Nov 9, 2023

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 <abigailhu2000@gmail.com>
(cherry picked from commit 1de8be6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #5437 (51c96eb) into 2.x (ea0e856) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.x    #5437      +/-   ##
==========================================
+ Coverage   66.81%   66.83%   +0.02%     
==========================================
  Files        3284     3284              
  Lines       63167    63167              
  Branches    10048    10048              
==========================================
+ Hits        42202    42219      +17     
- Misses      18484    18545      +61     
+ Partials     2481     2403      -78     
Flag Coverage Δ
Linux_1 35.25% <ø> (ø)
Linux_2 55.22% <ø> (ø)
Linux_3 43.84% <ø> (+0.01%) ⬆️
Linux_4 35.48% <ø> (ø)
Windows_1 35.26% <ø> (?)
Windows_2 55.19% <ø> (ø)
Windows_3 43.85% <ø> (?)
Windows_4 35.48% <ø> (ø)

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

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

... and 21 files with indirect coverage changes

@abbyhu2000 abbyhu2000 merged commit ce72604 into 2.x Nov 9, 2023
87 of 88 checks passed
@github-actions github-actions bot deleted the backport/backport-5435-to-2.x branch November 9, 2023 01:10
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 v2.11.1 Issues targeting release v2.11.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants