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

ui: fix bug where index details page link is broken in cc console #135941

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kyle-a-wong
Copy link
Contributor

@kyle-a-wong kyle-a-wong commented Nov 21, 2024

Fixes the url used in cc console when clicking on an index from the table details index tab. This bug only affects clusters in version 24.3.

Also changes the index details page breadcrumbs to always render the same breadcrumb, always linking to the new databases pages. There is no longer a need define seperate logic for CC console and db console because both have converged to the same path definitions for the databases, database details, and table details pages.

Lastly, this commit fixes a small bug that exists in the legacy BreadCrumb component that can cause bread crumb links to disappear due to the modification of the component prop using, using .pop() on the items array.

Part of: #135857
Epic: none
Release note: none

@kyle-a-wong kyle-a-wong requested a review from a team as a code owner November 21, 2024 20:40
@kyle-a-wong kyle-a-wong requested review from xinhaoz and removed request for a team November 21, 2024 20:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Fixes the url used in cc console when clicking on an index from
the table details index tab. This bug only affects clusters in
version 24.3.

Also changes the index details page breadcrumbs to always render
the same breadcrumb, always linking to the new databases pages.
There is no longer a need define seperate logic for CC console
and db console because both have converged to the same path
definitions for the databases, database details, and table
details pages.

Lastly, this commit fixes a small bug that exists in the legacy
BreadCrumb component that can cause bread crumb links to
disappear due to the modification of the component prop using,
using .pop() on the items array.

Part of: cockroachdb#135857
Epic: none
Release note: none
Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning some of this up

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