ydb-embedded-ui 4.20.1 → 4.20.2
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/CHANGELOG.md +9 -0
- package/dist/components/UsageLabel/UsageLabel.tsx +2 -0
- package/dist/containers/Storage/StorageGroups/StorageGroups.scss +0 -6
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.tsx +2 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.20.2](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.20.1...v4.20.2) (2023-10-25)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* fix diagnostics top queries width ([#574](https://github.com/ydb-platform/ydb-embedded-ui/issues/574)) ([afa17f2](https://github.com/ydb-platform/ydb-embedded-ui/commit/afa17f236331692167a0a37936b090a8baa772df))
|
9
|
+
* fix sticky storage info ([#573](https://github.com/ydb-platform/ydb-embedded-ui/issues/573)) ([4b923d1](https://github.com/ydb-platform/ydb-embedded-ui/commit/4b923d1db73c53c63e95f43487127b4c2c1e4cac))
|
10
|
+
* use UsageLabel in top groups by usage table ([#572](https://github.com/ydb-platform/ydb-embedded-ui/issues/572)) ([752888d](https://github.com/ydb-platform/ydb-embedded-ui/commit/752888d26ac2cab75307011fb1354830b1cb6db6))
|
11
|
+
|
3
12
|
## [4.20.1](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.20.0...v4.20.1) (2023-10-24)
|
4
13
|
|
5
14
|
|
@@ -13,6 +13,7 @@ import {stringifyVdiskId} from '../../../utils/dataFormatters/dataFormatters';
|
|
13
13
|
import EntityStatus from '../../../components/EntityStatus/EntityStatus';
|
14
14
|
import {Stack} from '../../../components/Stack/Stack';
|
15
15
|
import {CellWithPopover} from '../../../components/CellWithPopover/CellWithPopover';
|
16
|
+
import {UsageLabel} from '../../../components/UsageLabel/UsageLabel';
|
16
17
|
import {VDisk} from '../VDisk';
|
17
18
|
import {getDegradedSeverity, getUsageSeverityForStorageGroup} from '../utils';
|
18
19
|
import i18n from './i18n';
|
@@ -128,12 +129,7 @@ const usageColumn: Column<PreparedStorageGroup> = {
|
|
128
129
|
// without a limit the usage can be evaluated as 0,
|
129
130
|
// but the absence of a value is more clear
|
130
131
|
return row.Limit ? (
|
131
|
-
<
|
132
|
-
theme={getUsageSeverityForStorageGroup(row.Usage)}
|
133
|
-
className={b('usage-label', {overload: row.Usage >= 90})}
|
134
|
-
>
|
135
|
-
{row.Usage}%
|
136
|
-
</Label>
|
132
|
+
<UsageLabel value={row.Usage} theme={getUsageSeverityForStorageGroup(row.Usage)} />
|
137
133
|
) : (
|
138
134
|
'-'
|
139
135
|
);
|
@@ -62,7 +62,7 @@ export function TenantStorage({tenantName, metrics}: TenantStorageProps) {
|
|
62
62
|
];
|
63
63
|
return (
|
64
64
|
<>
|
65
|
-
<InfoViewer className={b('info')} title="Storage details" info={info} />
|
65
|
+
<InfoViewer className={b('storage-info')} title="Storage details" info={info} />
|
66
66
|
<TopTables path={tenantName} />
|
67
67
|
<TopGroups tenant={tenantName} />
|
68
68
|
</>
|