ydb-embedded-ui 20.3.0 → 20.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Drawer/Drawer.d.ts +2 -1
- package/dist/components/Drawer/Drawer.js +4 -4
- package/dist/components/Drawer/Drawer.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.d.ts +4 -1
- package/dist/components/EntityStatus/EntityStatus.js +2 -2
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/TenantNameWrapper/utils.d.ts +1 -1
- package/dist/components/TenantNameWrapper/utils.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/ClusterDrawerHealthcheck.d.ts +8 -0
- package/dist/containers/Cluster/ClusterDrawerHealthcheck.js +71 -9
- package/dist/containers/Cluster/ClusterDrawerHealthcheck.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +2 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +2 -2
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Cluster/ClusterOverview/ClusterOverview.d.ts +1 -0
- package/dist/containers/Cluster/ClusterOverview/ClusterOverview.js.map +1 -1
- package/dist/containers/Cluster/ClusterOverview/components/BridgeInfoTable.d.ts +2 -0
- package/dist/containers/Cluster/ClusterOverview/components/BridgeInfoTable.js +54 -103
- package/dist/containers/Cluster/ClusterOverview/components/BridgeInfoTable.js.map +1 -1
- package/dist/containers/Cluster/ClusterOverview/components/BridgeInfoTable.scss +24 -89
- package/dist/containers/Cluster/ClusterOverview/components/bridgePileHealthcheck.d.ts +13 -0
- package/dist/containers/Cluster/ClusterOverview/components/bridgePileHealthcheck.js +94 -0
- package/dist/containers/Cluster/ClusterOverview/components/bridgePileHealthcheck.js.map +1 -0
- package/dist/containers/Cluster/i18n/en.json +8 -5
- package/dist/containers/Cluster/i18n/index.d.ts +1 -1
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Header/DatabaseRightControls.d.ts +4 -2
- package/dist/containers/Header/DatabaseRightControls.js +2 -2
- package/dist/containers/Header/DatabaseRightControls.js.map +1 -1
- package/dist/containers/Header/Header.js +2 -2
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Header/HeaderActionsMenu.d.ts +4 -2
- package/dist/containers/Header/HeaderActionsMenu.js +19 -2
- package/dist/containers/Header/HeaderActionsMenu.js.map +1 -1
- package/dist/containers/Header/HeaderRightControls.d.ts +4 -2
- package/dist/containers/Header/HeaderRightControls.js +2 -2
- package/dist/containers/Header/HeaderRightControls.js.map +1 -1
- package/dist/containers/Header/hooks/useClusterData.d.ts +1 -0
- package/dist/containers/Header/hooks/useHeaderData.d.ts +1 -0
- package/dist/containers/Header/hooks/useHeaderData.js +1 -0
- package/dist/containers/Header/hooks/useHeaderData.js.map +1 -1
- package/dist/containers/Header/hooks/useSharedDatabasePath.d.ts +10 -0
- package/dist/containers/Header/hooks/useSharedDatabasePath.js +102 -0
- package/dist/containers/Header/hooks/useSharedDatabasePath.js.map +1 -0
- package/dist/containers/Header/i18n/en.json +1 -0
- package/dist/containers/Header/i18n/index.d.ts +1 -1
- package/dist/containers/Operations/constants.d.ts +1 -1
- package/dist/containers/Storage/PaginatedStorageGroupsTable/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.js +3 -3
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/TabletsTable.js +17 -27
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tablets/i18n/en.json +3 -0
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/useTabletQueryParams.d.ts +8 -0
- package/dist/containers/Tablets/useTabletQueryParams.js +40 -0
- package/dist/containers/Tablets/useTabletQueryParams.js.map +1 -0
- package/dist/containers/Tablets/utils.d.ts +11 -0
- package/dist/containers/Tablets/utils.js +23 -0
- package/dist/containers/Tablets/utils.js.map +1 -0
- package/dist/containers/Tenant/Healthcheck/Healthcheck.d.ts +6 -1
- package/dist/containers/Tenant/Healthcheck/Healthcheck.js +5 -5
- package/dist/containers/Tenant/Healthcheck/Healthcheck.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckDrawer.d.ts +2 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckDrawer.js +2 -2
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckDrawer.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssue.d.ts +5 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssue.js +5 -3
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssue.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/ComputeLocation.d.ts +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/ComputeLocation.js +11 -2
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/ComputeLocation.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/NodeInfo.js +2 -0
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/NodeInfo.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/StorageLocation.js +4 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/StorageLocation.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssues.d.ts +5 -1
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssues.js +2 -2
- package/dist/containers/Tenant/Healthcheck/components/HealthcheckIssues.js.map +1 -1
- package/dist/containers/Tenant/Healthcheck/i18n/en.json +2 -1
- package/dist/containers/Tenant/Healthcheck/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +2 -0
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/routes.d.ts +4 -1
- package/dist/routes.js +3 -2
- package/dist/routes.js.map +1 -1
- package/dist/services/api/viewer.d.ts +3 -1
- package/dist/services/api/viewer.js +3 -2
- package/dist/services/api/viewer.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +2 -1
- package/dist/store/reducers/cluster/cluster.js +1 -0
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/types.d.ts +1 -0
- package/dist/store/reducers/healthcheckInfo/utils.d.ts +1 -0
- package/dist/store/reducers/healthcheckInfo/utils.js +43 -9
- package/dist/store/reducers/healthcheckInfo/utils.js.map +1 -1
- package/dist/store/reducers/tenants/tenants.d.ts +10 -1
- package/dist/store/reducers/tenants/tenants.js +33 -0
- package/dist/store/reducers/tenants/tenants.js.map +1 -1
- package/dist/store/reducers/tenants/types.d.ts +4 -0
- package/dist/types/api/healthcheck.d.ts +7 -0
- package/package.json +1 -1
- package/src/components/Drawer/Drawer.tsx +6 -0
- package/src/components/EntityStatus/EntityStatus.tsx +9 -1
- package/src/components/TenantNameWrapper/utils.ts +1 -1
- package/src/containers/Cluster/Cluster.tsx +1 -0
- package/src/containers/Cluster/ClusterDrawerHealthcheck.tsx +112 -13
- package/src/containers/Cluster/ClusterInfo/ClusterInfo.tsx +7 -1
- package/src/containers/Cluster/ClusterOverview/ClusterOverview.tsx +1 -0
- package/src/containers/Cluster/ClusterOverview/components/BridgeInfoTable.scss +24 -89
- package/src/containers/Cluster/ClusterOverview/components/BridgeInfoTable.tsx +156 -200
- package/src/containers/Cluster/ClusterOverview/components/bridgePileHealthcheck.ts +142 -0
- package/src/containers/Cluster/i18n/en.json +8 -5
- package/src/containers/Header/DatabaseRightControls.tsx +7 -1
- package/src/containers/Header/Header.tsx +3 -0
- package/src/containers/Header/HeaderActionsMenu.tsx +24 -2
- package/src/containers/Header/HeaderRightControls.tsx +7 -1
- package/src/containers/Header/hooks/useHeaderData.ts +1 -0
- package/src/containers/Header/hooks/useSharedDatabasePath.ts +195 -0
- package/src/containers/Header/i18n/en.json +1 -0
- package/src/containers/Tablets/Tablets.tsx +3 -3
- package/src/containers/Tablets/TabletsTable.tsx +37 -31
- package/src/containers/Tablets/i18n/en.json +3 -0
- package/src/containers/Tablets/useTabletQueryParams.ts +54 -0
- package/src/containers/Tablets/utils.ts +43 -0
- package/src/containers/Tenant/Healthcheck/Healthcheck.tsx +37 -4
- package/src/containers/Tenant/Healthcheck/components/HealthcheckDrawer.tsx +3 -0
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssue.tsx +17 -4
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/ComputeLocation.tsx +13 -3
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/NodeInfo.tsx +1 -0
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssueDetails/StorageLocation.tsx +3 -1
- package/src/containers/Tenant/Healthcheck/components/HealthcheckIssues.tsx +15 -2
- package/src/containers/Tenant/Healthcheck/i18n/en.json +2 -1
- package/src/containers/Tenant/Query/SavedQueries/SavedQueries.scss +2 -0
- package/src/routes.ts +8 -2
- package/src/services/api/viewer.ts +10 -2
- package/src/store/reducers/cluster/cluster.ts +2 -1
- package/src/store/reducers/healthcheckInfo/types.ts +1 -0
- package/src/store/reducers/healthcheckInfo/utils.ts +50 -10
- package/src/store/reducers/tenants/tenants.ts +55 -1
- package/src/store/reducers/tenants/types.ts +5 -0
- package/src/types/api/healthcheck.ts +8 -0
|
@@ -19,10 +19,15 @@ interface ClusterDrawerHealthcheckProps {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export function useClusterHealthcheckQueryParams() {
|
|
22
|
-
const [
|
|
22
|
+
const [
|
|
23
|
+
{showHealthcheck, issuesFilter, view, healthcheckIssue, healthcheckLeaf},
|
|
24
|
+
setQueryParams,
|
|
25
|
+
] = useQueryParams({
|
|
23
26
|
showHealthcheck: BooleanParam,
|
|
24
27
|
issuesFilter: StringParam,
|
|
25
28
|
view: StringParam,
|
|
29
|
+
healthcheckIssue: StringParam,
|
|
30
|
+
healthcheckLeaf: StringParam,
|
|
26
31
|
});
|
|
27
32
|
|
|
28
33
|
const handleShowHealthcheckChange = React.useCallback(
|
|
@@ -46,6 +51,35 @@ export function useClusterHealthcheckQueryParams() {
|
|
|
46
51
|
[setQueryParams],
|
|
47
52
|
);
|
|
48
53
|
|
|
54
|
+
const handleOpenHealthcheckIssue = React.useCallback(
|
|
55
|
+
(target: {issueId: string; leafIssueId: string; view: string}) => {
|
|
56
|
+
setQueryParams(
|
|
57
|
+
{
|
|
58
|
+
showHealthcheck: true,
|
|
59
|
+
issuesFilter: undefined,
|
|
60
|
+
view: target.view,
|
|
61
|
+
healthcheckIssue: target.issueId,
|
|
62
|
+
healthcheckLeaf: target.leafIssueId,
|
|
63
|
+
},
|
|
64
|
+
'replaceIn',
|
|
65
|
+
);
|
|
66
|
+
},
|
|
67
|
+
[setQueryParams],
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
const handleCloseHealthcheck = React.useCallback(() => {
|
|
71
|
+
setQueryParams(
|
|
72
|
+
{
|
|
73
|
+
showHealthcheck: undefined,
|
|
74
|
+
issuesFilter: undefined,
|
|
75
|
+
view: undefined,
|
|
76
|
+
healthcheckIssue: undefined,
|
|
77
|
+
healthcheckLeaf: undefined,
|
|
78
|
+
},
|
|
79
|
+
'replaceIn',
|
|
80
|
+
);
|
|
81
|
+
}, [setQueryParams]);
|
|
82
|
+
|
|
49
83
|
return {
|
|
50
84
|
showHealthcheck,
|
|
51
85
|
handleShowHealthcheckChange,
|
|
@@ -53,6 +87,10 @@ export function useClusterHealthcheckQueryParams() {
|
|
|
53
87
|
handleIssuesFilterChange,
|
|
54
88
|
view,
|
|
55
89
|
handleHealthcheckViewChange,
|
|
90
|
+
healthcheckIssue,
|
|
91
|
+
healthcheckLeaf,
|
|
92
|
+
handleOpenHealthcheckIssue,
|
|
93
|
+
handleCloseHealthcheck,
|
|
56
94
|
};
|
|
57
95
|
}
|
|
58
96
|
|
|
@@ -61,12 +99,8 @@ export function ClusterDrawerHealthcheck({
|
|
|
61
99
|
database,
|
|
62
100
|
clusterName,
|
|
63
101
|
}: ClusterDrawerHealthcheckProps) {
|
|
64
|
-
const {
|
|
65
|
-
|
|
66
|
-
showHealthcheck,
|
|
67
|
-
handleIssuesFilterChange,
|
|
68
|
-
handleHealthcheckViewChange,
|
|
69
|
-
} = useClusterHealthcheckQueryParams();
|
|
102
|
+
const {showHealthcheck, healthcheckIssue, healthcheckLeaf, handleCloseHealthcheck} =
|
|
103
|
+
useClusterHealthcheckQueryParams();
|
|
70
104
|
|
|
71
105
|
const healthcheckStatus = useTypedSelector((state) =>
|
|
72
106
|
selectCheckStatus(state, database, clusterName),
|
|
@@ -75,21 +109,86 @@ export function ClusterDrawerHealthcheck({
|
|
|
75
109
|
const healthcheckData = useTypedSelector((state) =>
|
|
76
110
|
selectAllHealthcheckInfo(state, database, clusterName),
|
|
77
111
|
);
|
|
112
|
+
const targetLeafIssueRef = React.useRef<HTMLDivElement | null>(null);
|
|
113
|
+
const drawerTransitionCompleteRef = React.useRef(false);
|
|
114
|
+
const scrolledTargetRef = React.useRef<{
|
|
115
|
+
issueId?: string;
|
|
116
|
+
leafIssueId?: string;
|
|
117
|
+
}>({});
|
|
118
|
+
|
|
119
|
+
const scrollToTargetIssue = React.useCallback(() => {
|
|
120
|
+
if (!drawerTransitionCompleteRef.current || !healthcheckIssue || !healthcheckLeaf) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (
|
|
125
|
+
scrolledTargetRef.current.issueId === healthcheckIssue &&
|
|
126
|
+
scrolledTargetRef.current.leafIssueId === healthcheckLeaf
|
|
127
|
+
) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
const targetIssue = targetLeafIssueRef.current;
|
|
132
|
+
const scrollContainer = targetIssue?.closest<HTMLElement>('.ydb-fullscreen__content');
|
|
133
|
+
if (!targetIssue || !scrollContainer) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
const controls = scrollContainer.querySelector<HTMLElement>('.ydb-healthcheck__controls');
|
|
138
|
+
const targetTop =
|
|
139
|
+
scrollContainer.scrollTop +
|
|
140
|
+
targetIssue.getBoundingClientRect().top -
|
|
141
|
+
scrollContainer.getBoundingClientRect().top -
|
|
142
|
+
(controls?.getBoundingClientRect().height ?? 0);
|
|
143
|
+
|
|
144
|
+
scrolledTargetRef.current = {
|
|
145
|
+
issueId: healthcheckIssue,
|
|
146
|
+
leafIssueId: healthcheckLeaf,
|
|
147
|
+
};
|
|
148
|
+
scrollContainer.scrollTo({top: Math.max(0, targetTop), behavior: 'smooth'});
|
|
149
|
+
}, [healthcheckIssue, healthcheckLeaf]);
|
|
150
|
+
|
|
151
|
+
const handleTargetLeafIssueRef = React.useCallback(
|
|
152
|
+
(element: HTMLDivElement | null) => {
|
|
153
|
+
targetLeafIssueRef.current = element;
|
|
154
|
+
if (element) {
|
|
155
|
+
window.requestAnimationFrame(scrollToTargetIssue);
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
[scrollToTargetIssue],
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
const handleTransitionInComplete = React.useCallback(() => {
|
|
162
|
+
drawerTransitionCompleteRef.current = true;
|
|
163
|
+
scrollToTargetIssue();
|
|
164
|
+
}, [scrollToTargetIssue]);
|
|
78
165
|
|
|
79
166
|
const handleCloseDrawer = React.useCallback(() => {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}, [
|
|
167
|
+
drawerTransitionCompleteRef.current = false;
|
|
168
|
+
scrolledTargetRef.current = {};
|
|
169
|
+
handleCloseHealthcheck();
|
|
170
|
+
}, [handleCloseHealthcheck]);
|
|
84
171
|
|
|
85
172
|
const renderDrawerContent = React.useCallback(() => {
|
|
86
|
-
return
|
|
87
|
-
|
|
173
|
+
return (
|
|
174
|
+
<Healthcheck
|
|
175
|
+
database={database}
|
|
176
|
+
clusterName={clusterName}
|
|
177
|
+
scope="cluster"
|
|
178
|
+
targetIssueId={healthcheckIssue ?? undefined}
|
|
179
|
+
targetLeafIssueId={healthcheckLeaf ?? undefined}
|
|
180
|
+
targetLeafIssueRef={handleTargetLeafIssueRef}
|
|
181
|
+
/>
|
|
182
|
+
);
|
|
183
|
+
}, [clusterName, database, handleTargetLeafIssueRef, healthcheckIssue, healthcheckLeaf]);
|
|
88
184
|
|
|
89
185
|
return (
|
|
90
186
|
<HealthcheckDrawer
|
|
91
187
|
isDrawerVisible={Boolean(showHealthcheck) && Boolean(database)}
|
|
92
188
|
onCloseDrawer={handleCloseDrawer}
|
|
189
|
+
onTransitionInComplete={
|
|
190
|
+
healthcheckIssue && healthcheckLeaf ? handleTransitionInComplete : undefined
|
|
191
|
+
}
|
|
93
192
|
renderDrawerContent={renderDrawerContent}
|
|
94
193
|
drawerId="cluster-healthcheck-details"
|
|
95
194
|
storageKey="cluster-healthcheck-details-drawer-width"
|
|
@@ -21,6 +21,7 @@ import './ClusterInfo.scss';
|
|
|
21
21
|
|
|
22
22
|
interface ClusterInfoProps {
|
|
23
23
|
cluster?: TClusterInfo;
|
|
24
|
+
clusterName?: string;
|
|
24
25
|
loading?: boolean;
|
|
25
26
|
error?: IResponseError | string;
|
|
26
27
|
additionalClusterProps?: AdditionalClusterProps;
|
|
@@ -30,6 +31,7 @@ interface ClusterInfoProps {
|
|
|
30
31
|
|
|
31
32
|
export const ClusterInfo = ({
|
|
32
33
|
cluster,
|
|
34
|
+
clusterName,
|
|
33
35
|
loading,
|
|
34
36
|
error,
|
|
35
37
|
additionalClusterProps = {},
|
|
@@ -131,7 +133,11 @@ export const ClusterInfo = ({
|
|
|
131
133
|
{formatNumber(bridgePiles.length)}
|
|
132
134
|
</Text>
|
|
133
135
|
</Text>
|
|
134
|
-
<BridgeInfoTable
|
|
136
|
+
<BridgeInfoTable
|
|
137
|
+
piles={bridgePiles}
|
|
138
|
+
database={cluster?.Domain}
|
|
139
|
+
clusterName={clusterName}
|
|
140
|
+
/>
|
|
135
141
|
</InfoSection>
|
|
136
142
|
);
|
|
137
143
|
};
|
|
@@ -1,50 +1,29 @@
|
|
|
1
|
-
@use '../../../../styles/mixins.scss';
|
|
2
|
-
|
|
3
|
-
@mixin bridge-group-status-background {
|
|
4
|
-
&_theme_positive {
|
|
5
|
-
background-color: var(--g-color-text-positive);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&_theme_warning {
|
|
9
|
-
background-color: var(--g-color-text-warning);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&_theme_danger {
|
|
13
|
-
background-color: var(--g-color-text-danger);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&_theme_dark-complementary {
|
|
17
|
-
background-color: var(--g-color-text-dark-complementary);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&_theme_secondary {
|
|
21
|
-
background-color: var(--g-color-text-secondary);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
1
|
.ydb-bridge-info-table {
|
|
2
|
+
gap: 10px;
|
|
3
|
+
|
|
26
4
|
height: 100%;
|
|
27
5
|
|
|
28
6
|
&__pile {
|
|
7
|
+
box-sizing: border-box;
|
|
29
8
|
width: 321px;
|
|
30
|
-
|
|
9
|
+
min-height: 98px;
|
|
10
|
+
padding: var(--g-spacing-3);
|
|
31
11
|
|
|
32
12
|
border-radius: var(--g-border-radius-s);
|
|
33
13
|
background-color: var(--g-color-base-generic);
|
|
34
|
-
|
|
35
|
-
@include mixins.body-2-typography();
|
|
36
14
|
}
|
|
37
15
|
|
|
38
|
-
&__pile-
|
|
16
|
+
&__pile-name {
|
|
39
17
|
min-width: 0;
|
|
40
18
|
}
|
|
41
19
|
|
|
42
|
-
&
|
|
20
|
+
&__current-pile {
|
|
43
21
|
flex-shrink: 0;
|
|
22
|
+
}
|
|
44
23
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
24
|
+
&__state-label,
|
|
25
|
+
&__healthcheck-status {
|
|
26
|
+
flex-shrink: 0;
|
|
48
27
|
}
|
|
49
28
|
|
|
50
29
|
&__state-help {
|
|
@@ -55,69 +34,25 @@
|
|
|
55
34
|
white-space: pre-line;
|
|
56
35
|
}
|
|
57
36
|
|
|
58
|
-
&
|
|
59
|
-
width:
|
|
37
|
+
&__healthcheck-skeleton {
|
|
38
|
+
width: 72px;
|
|
39
|
+
height: 20px;
|
|
60
40
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ydb-bridge-info-table-progress {
|
|
64
|
-
display: flex;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
align-items: center;
|
|
67
|
-
gap: var(--g-spacing-half);
|
|
68
41
|
|
|
69
|
-
|
|
42
|
+
&__healthcheck-accessible-prefix {
|
|
43
|
+
position: absolute;
|
|
70
44
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
&_empty {
|
|
74
|
-
background-color: var(--g-color-sfx-shadow);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&__item {
|
|
78
|
-
min-width: 8px;
|
|
79
|
-
height: 4px;
|
|
80
|
-
|
|
81
|
-
border-radius: var(--g-border-radius-xs);
|
|
82
|
-
|
|
83
|
-
@include bridge-group-status-background();
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ydb-bridge-info-table-legend {
|
|
88
|
-
display: flex;
|
|
89
|
-
flex-wrap: wrap;
|
|
90
|
-
gap: var(--g-spacing-2);
|
|
91
|
-
|
|
92
|
-
min-width: 0;
|
|
93
|
-
margin: 0;
|
|
94
|
-
padding: 0;
|
|
95
|
-
|
|
96
|
-
list-style: none;
|
|
97
|
-
|
|
98
|
-
&__item {
|
|
99
|
-
display: inline-flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
gap: var(--g-spacing-1);
|
|
102
|
-
|
|
103
|
-
min-width: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&__dot {
|
|
107
|
-
flex: 0 0 6px;
|
|
108
|
-
|
|
109
|
-
width: 6px;
|
|
110
|
-
height: 6px;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
clip: rect(0 0 0 0);
|
|
111
47
|
|
|
112
|
-
|
|
48
|
+
width: 1px;
|
|
49
|
+
height: 1px;
|
|
113
50
|
|
|
114
|
-
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
clip-path: inset(50%);
|
|
115
53
|
}
|
|
116
54
|
|
|
117
|
-
&
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
white-space: nowrap;
|
|
121
|
-
text-overflow: ellipsis;
|
|
55
|
+
&__nodes {
|
|
56
|
+
color: var(--g-color-text-secondary);
|
|
122
57
|
}
|
|
123
58
|
}
|