-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: update breadcrumbs #432
Conversation
{ | ||
nodeId: NodeId, | ||
type: Type, | ||
state: State, | ||
tenantName, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass these params as query for immediate breadcrumbs render on Tablet
page
@@ -28,6 +28,8 @@ import {clusterTabsIds} from '../Cluster/utils'; | |||
const b = cn('app'); | |||
|
|||
export function Content(props) { | |||
const location = useLocation(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Location was used but was not declared
const {singleClusterMode, header}: {singleClusterMode: boolean; header: HeaderItemType[]} = | ||
useTypedSelector((state) => state); | ||
interface HeaderProps { | ||
mainPage?: RawBreadcrumbItem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mainPage
- additional breadcrumbs item for the extended versions (all clusters page)
6bfb794
to
7d5f1a7
Compare
Cluster page
Breadcrumbs: ClusterName
Tenant page
Breadcrumbs: ClusterName / TenantName
Node page
Breadcrumbs (storage node): ClusterName / NodeID
Breadcrumbs (compute node): ClusterName / TenantName / NodeID
Tablets page
Breadcrumbs (cluster system tablets): ClusterName / Tablets
Breadcrumbs (tenants tablets): ClusterName / TenantName / Tablets
Tablet page
Breadcrumbs (cluster system tablets): ClusterName / Tablets / TabletID
Breadcrumbs (tenants tablets): ClusterName / TenantName / Tablets / TabletID