ydb-embedded-ui 8.1.0 → 8.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/CellWithPopover/CellWithPopover.js +1 -1
- package/dist/components/CellWithPopover/CellWithPopover.js.map +1 -1
- package/dist/components/CellWithPopover/CellWithPopover.scss +5 -1
- package/dist/components/FullNodeViewer/FullNodeViewer.js +5 -1
- package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
- package/dist/components/Stack/Stack.scss +1 -1
- package/dist/components/Table/Table.scss +3 -3
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +4 -2
- package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js.map +1 -1
- package/dist/components/UptimeViewer/UptimeViewer.d.ts +10 -0
- package/dist/components/UptimeViewer/UptimeViewer.js +30 -0
- package/dist/components/UptimeViewer/UptimeViewer.js.map +1 -0
- package/dist/components/UptimeViewer/i18n/en.json +5 -0
- package/dist/components/UptimeViewer/i18n/index.d.ts +2 -0
- package/dist/components/UptimeViewer/i18n/index.js +5 -0
- package/dist/components/UptimeViewer/i18n/index.js.map +1 -0
- package/dist/components/nodesColumns/columns.d.ts +1 -1
- package/dist/components/nodesColumns/columns.js +4 -1
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.scss +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -1
- package/dist/containers/Storage/PDisk/PDisk.js +7 -2
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +21 -7
- package/dist/containers/Storage/StorageNodes/columns/StorageNodesColumns.scss +5 -11
- package/dist/containers/Storage/StorageNodes/columns/columns.js +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +2 -2
- package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -1
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js +5 -2
- package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -1
- package/dist/containers/Tablets/TabletsTable.js +3 -2
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/HotKeys/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +2 -2
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +1 -1
- package/dist/store/reducers/nodes/types.d.ts +0 -1
- package/dist/store/reducers/storage/types.d.ts +1 -0
- package/dist/store/reducers/storage/utils.d.ts +2 -1
- package/dist/store/reducers/storage/utils.js +12 -3
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/types/api/nodes.d.ts +2 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js +1 -2
- package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +8 -5
- package/dist/utils/dataFormatters/dataFormatters.js +5 -4
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/monaco/insertSnippet.d.ts +1 -1
- package/dist/utils/monaco/insertSnippet.js +20 -2
- package/dist/utils/monaco/insertSnippet.js.map +1 -1
- package/dist/utils/nodes.d.ts +0 -1
- package/dist/utils/nodes.js +0 -9
- package/dist/utils/nodes.js.map +1 -1
- package/package.json +1 -1
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.d.ts +0 -1
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js +0 -354
- package/dist/store/reducers/storage/__test__/prepareGroupsDisks.test.js.map +0 -1
@@ -5,6 +5,6 @@ import './CellWithPopover.scss';
|
|
5
5
|
const b = cn('ydb-cell-with-popover');
|
6
6
|
const DELAY_TIMEOUT = 100;
|
7
7
|
export function CellWithPopover({ children, className, wrapperClassName, fullWidth, ...props }) {
|
8
|
-
return (_jsx("div", { className: b({ fullWidth }, wrapperClassName), children: _jsx(Popover, { delayClosing: DELAY_TIMEOUT, delayOpening: DELAY_TIMEOUT, className: b('popover', { 'full-width': fullWidth }, className), ...props, children: children }) }));
|
8
|
+
return (_jsx("div", { className: b({ 'full-width': fullWidth }, wrapperClassName), children: _jsx(Popover, { delayClosing: DELAY_TIMEOUT, delayOpening: DELAY_TIMEOUT, className: b('popover', { 'full-width': fullWidth }, className), ...props, children: children }) }));
|
9
9
|
}
|
10
10
|
//# sourceMappingURL=CellWithPopover.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CellWithPopover.js","sourceRoot":"","sources":["../../../src/components/CellWithPopover/CellWithPopover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAOtC,MAAM,aAAa,GAAG,GAAG,CAAC;AAE1B,MAAM,UAAU,eAAe,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACW;IACnB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,SAAS,EAAC,EAAE,gBAAgB,CAAC,
|
1
|
+
{"version":3,"file":"CellWithPopover.js","sourceRoot":"","sources":["../../../src/components/CellWithPopover/CellWithPopover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,CAAC;AAOtC,MAAM,aAAa,GAAG,GAAG,CAAC;AAE1B,MAAM,UAAU,eAAe,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACW;IACnB,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,YAAY,EAAE,SAAS,EAAC,EAAE,gBAAgB,CAAC,YAC1D,KAAC,OAAO,IACJ,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAC3B,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,YAAY,EAAE,SAAS,EAAC,EAAE,SAAS,CAAC,KACzD,KAAK,YAER,QAAQ,GACH,GACR,CACT,CAAC;AACN,CAAC"}
|
@@ -4,6 +4,7 @@ import { LOAD_AVERAGE_TIME_INTERVALS } from '../../utils/constants';
|
|
4
4
|
import { InfoViewer } from '../InfoViewer/InfoViewer';
|
5
5
|
import { PoolUsage } from '../PoolUsage/PoolUsage';
|
6
6
|
import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
|
7
|
+
import { NodeUptime } from '../UptimeViewer/UptimeViewer';
|
7
8
|
import './FullNodeViewer.scss';
|
8
9
|
const b = cn('full-node-viewer');
|
9
10
|
export const FullNodeViewer = ({ node, className }) => {
|
@@ -17,7 +18,10 @@ export const FullNodeViewer = ({ node, className }) => {
|
|
17
18
|
if ((_b = node === null || node === void 0 ? void 0 : node.Tenants) === null || _b === void 0 ? void 0 : _b.length) {
|
18
19
|
commonInfo.push({ label: 'Database', value: node.Tenants[0] });
|
19
20
|
}
|
20
|
-
commonInfo.push({ label: 'Version', value: node === null || node === void 0 ? void 0 : node.Version }, {
|
21
|
+
commonInfo.push({ label: 'Version', value: node === null || node === void 0 ? void 0 : node.Version }, {
|
22
|
+
label: 'Uptime',
|
23
|
+
value: _jsx(NodeUptime, { StartTime: node === null || node === void 0 ? void 0 : node.StartTime, DisconnectTime: node === null || node === void 0 ? void 0 : node.DisconnectTime }),
|
24
|
+
}, { label: 'DC', value: (node === null || node === void 0 ? void 0 : node.DataCenterDescription) || (node === null || node === void 0 ? void 0 : node.DC) }, { label: 'Rack', value: node === null || node === void 0 ? void 0 : node.Rack });
|
21
25
|
const averageInfo = (_c = node === null || node === void 0 ? void 0 : node.LoadAveragePercents) === null || _c === void 0 ? void 0 : _c.map((load, loadIndex) => ({
|
22
26
|
label: LOAD_AVERAGE_TIME_INTERVALS[loadIndex],
|
23
27
|
value: (_jsx(ProgressViewer, { value: load, percents: true, colorizeProgress: true, capacity: 100 })),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FullNodeViewer.js","sourceRoot":"","sources":["../../../src/components/FullNodeViewer/FullNodeViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"FullNodeViewer.js","sourceRoot":"","sources":["../../../src/components/FullNodeViewer/FullNodeViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,2BAA2B,EAAC,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAExD,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC;AAOjC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAC,IAAI,EAAE,SAAS,EAAsB,EAAE,EAAE;;IACrE,MAAM,aAAa,GAAG,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,CAAC,CAAC"}
|
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
background-color: var(--g-color-base-background);
|
40
40
|
@include mixins.text-subheader-2();
|
41
|
-
&_align_right {
|
41
|
+
:is(&_align_right) {
|
42
42
|
#{$block}__table-header-content {
|
43
43
|
justify-content: flex-end;
|
44
44
|
|
@@ -50,10 +50,10 @@
|
|
50
50
|
height: var(--ydb-table-cell-height) !important;
|
51
51
|
padding: 0;
|
52
52
|
@include mixins.text-body-2();
|
53
|
-
&_align_right {
|
53
|
+
:is(&_align_right) {
|
54
54
|
text-align: right;
|
55
55
|
}
|
56
|
-
&_vertical-align_top {
|
56
|
+
:is(&_vertical-align_top) {
|
57
57
|
vertical-align: top;
|
58
58
|
}
|
59
59
|
}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { getUptimeFromDateFormatted } from '../../../utils/dataFormatters/dataFormatters';
|
3
2
|
import { InfoViewer, createInfoFormatter, formatObject } from '../../InfoViewer';
|
3
|
+
import { TabletUptime } from '../../UptimeViewer/UptimeViewer';
|
4
4
|
const formatTablet = createInfoFormatter({
|
5
5
|
values: {
|
6
|
-
ChangeTime: (value) =>
|
6
|
+
ChangeTime: (value) => {
|
7
|
+
return _jsx(TabletUptime, { ChangeTime: value });
|
8
|
+
},
|
7
9
|
},
|
8
10
|
labels: {
|
9
11
|
TabletId: 'Tablet',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TabletTooltipContent.js","sourceRoot":"","sources":["../../../../src/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAE7D,MAAM,YAAY,GAAG,mBAAmB,CAAmB;IACvD,MAAM,EAAE;QACJ,UAAU,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,OAAO,KAAC,YAAY,IAAC,UAAU,EAAE,KAAK,GAAI,CAAC;QAC/C,CAAC;KACJ;IACD,MAAM,EAAE;QACJ,QAAQ,EAAE,QAAQ;KACrB;IACD,qBAAqB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC;CAC3D,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EAAC,IAAI,GAAG,EAAE,EAAE,SAAS,EAA4B,EAAE,EAAE;IACtF,MAAM,EAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC;IAErE,MAAM,IAAI,GAAG,YAAY,CAAC,YAAY,EAAE;QACpC,QAAQ;QACR,MAAM;QACN,KAAK;QACL,IAAI;QACJ,UAAU;QACV,UAAU;KACb,CAAC,CAAC;IAEH,OAAO,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,GAAI,CAAC;AACpF,CAAC,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
interface NodeUptimeProps {
|
2
|
+
StartTime?: string;
|
3
|
+
DisconnectTime?: string;
|
4
|
+
}
|
5
|
+
export declare function NodeUptime({ StartTime, DisconnectTime }: NodeUptimeProps): "—" | import("react/jsx-runtime").JSX.Element;
|
6
|
+
interface TabletUptimeProps {
|
7
|
+
ChangeTime?: string;
|
8
|
+
}
|
9
|
+
export declare function TabletUptime({ ChangeTime }: TabletUptimeProps): "—" | import("react/jsx-runtime").JSX.Element;
|
10
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { DefinitionList } from '@gravity-ui/uikit';
|
3
|
+
import { EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
|
4
|
+
import { formatDateTime, getDowntimeFromDateFormatted, getUptimeFromDateFormatted, } from '../../utils/dataFormatters/dataFormatters';
|
5
|
+
import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
|
6
|
+
import i18n from './i18n';
|
7
|
+
export function NodeUptime({ StartTime, DisconnectTime }) {
|
8
|
+
let uptime;
|
9
|
+
if (DisconnectTime) {
|
10
|
+
uptime = getDowntimeFromDateFormatted(DisconnectTime);
|
11
|
+
}
|
12
|
+
else if (StartTime) {
|
13
|
+
uptime = getUptimeFromDateFormatted(StartTime);
|
14
|
+
}
|
15
|
+
if (!uptime) {
|
16
|
+
return EMPTY_DATA_PLACEHOLDER;
|
17
|
+
}
|
18
|
+
return (_jsx(CellWithPopover, { placement: ['top', 'auto'], content: _jsxs(DefinitionList, { responsive: true, children: [StartTime ? (_jsx(DefinitionList.Item, { name: i18n('start-time'), children: formatDateTime(StartTime, { withTimeZone: true }) }, 'StartTime')) : null, DisconnectTime ? (_jsx(DefinitionList.Item, { name: i18n('disconnect-time'), children: formatDateTime(DisconnectTime, { withTimeZone: true }) }, 'DisconnectTime')) : null] }), children: uptime }));
|
19
|
+
}
|
20
|
+
export function TabletUptime({ ChangeTime }) {
|
21
|
+
let uptime;
|
22
|
+
if (ChangeTime) {
|
23
|
+
uptime = getUptimeFromDateFormatted(ChangeTime);
|
24
|
+
}
|
25
|
+
if (!uptime) {
|
26
|
+
return EMPTY_DATA_PLACEHOLDER;
|
27
|
+
}
|
28
|
+
return (_jsx(CellWithPopover, { placement: ['top', 'auto'], content: _jsx(DefinitionList, { responsive: true, children: _jsx(DefinitionList.Item, { name: i18n('change-time'), children: formatDateTime(ChangeTime, { withTimeZone: true }) }, 'changeTime') }), children: uptime }));
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=UptimeViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UptimeViewer.js","sourceRoot":"","sources":["../../../src/components/UptimeViewer/UptimeViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACH,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEnE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAO1B,MAAM,UAAU,UAAU,CAAC,EAAC,SAAS,EAAE,cAAc,EAAkB;IACnE,IAAI,MAA0B,CAAC;IAE/B,IAAI,cAAc,EAAE,CAAC;QACjB,MAAM,GAAG,4BAA4B,CAAC,cAAc,CAAC,CAAC;IAC1D,CAAC;SAAM,IAAI,SAAS,EAAE,CAAC;QACnB,MAAM,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,sBAAsB,CAAC;IAClC,CAAC;IACD,OAAO,CACH,KAAC,eAAe,IACZ,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1B,OAAO,EACH,MAAC,cAAc,IAAC,UAAU,mBACrB,SAAS,CAAC,CAAC,CAAC,CACT,KAAC,cAAc,CAAC,IAAI,IAAmB,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,YAC1D,cAAc,CAAC,SAAS,EAAE,EAAC,YAAY,EAAE,IAAI,EAAC,CAAC,IAD1B,WAAW,CAEf,CACzB,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CACd,KAAC,cAAc,CAAC,IAAI,IAAwB,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC,YACpE,cAAc,CAAC,cAAc,EAAE,EAAC,YAAY,EAAE,IAAI,EAAC,CAAC,IAD/B,gBAAgB,CAEpB,CACzB,CAAC,CAAC,CAAC,IAAI,IACK,YAGpB,MAAM,GACO,CACrB,CAAC;AACN,CAAC;AAMD,MAAM,UAAU,YAAY,CAAC,EAAC,UAAU,EAAoB;IACxD,IAAI,MAA0B,CAAC;IAE/B,IAAI,UAAU,EAAE,CAAC;QACb,MAAM,GAAG,0BAA0B,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,sBAAsB,CAAC;IAClC,CAAC;IACD,OAAO,CACH,KAAC,eAAe,IACZ,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1B,OAAO,EACH,KAAC,cAAc,IAAC,UAAU,kBACtB,KAAC,cAAc,CAAC,IAAI,IAAoB,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,YAC5D,cAAc,CAAC,UAAU,EAAE,EAAC,YAAY,EAAE,IAAI,EAAC,CAAC,IAD3B,YAAY,CAEhB,GACT,YAGpB,MAAM,GACO,CACrB,CAAC;AACN,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/UptimeViewer/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
|
@@ -24,7 +24,7 @@ export declare function getVersionColumn<T extends {
|
|
24
24
|
}>(): Column<T>;
|
25
25
|
export declare function getUptimeColumn<T extends {
|
26
26
|
StartTime?: string;
|
27
|
-
|
27
|
+
DisconnectTime?: string;
|
28
28
|
}>(): Column<T>;
|
29
29
|
export declare function getRAMColumn<T extends {
|
30
30
|
MemoryUsed?: string;
|
@@ -15,6 +15,7 @@ import { PoolsGraph } from '../PoolsGraph/PoolsGraph';
|
|
15
15
|
import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
|
16
16
|
import { TabletsStatistic } from '../TabletsStatistic';
|
17
17
|
import { formatPool } from '../TooltipsContent';
|
18
|
+
import { NodeUptime } from '../UptimeViewer/UptimeViewer';
|
18
19
|
import { UsageLabel } from '../UsageLabel/UsageLabel';
|
19
20
|
import { NODES_COLUMNS_IDS, NODES_COLUMNS_TITLES } from './constants';
|
20
21
|
import i18n from './i18n';
|
@@ -85,7 +86,9 @@ export function getUptimeColumn() {
|
|
85
86
|
name: NODES_COLUMNS_IDS.Uptime,
|
86
87
|
header: NODES_COLUMNS_TITLES.Uptime,
|
87
88
|
sortAccessor: ({ StartTime }) => (StartTime ? -StartTime : 0),
|
88
|
-
render: ({ row }) =>
|
89
|
+
render: ({ row }) => {
|
90
|
+
return _jsx(NodeUptime, { StartTime: row.StartTime, DisconnectTime: row.DisconnectTime });
|
91
|
+
},
|
89
92
|
align: DataTable.RIGHT,
|
90
93
|
width: 120,
|
91
94
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,kCAAkC,CAAC;AAGxE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACH,aAAa,EACb,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,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|
className?: string;
|
11
11
|
progressBarClassName?: string;
|
12
12
|
viewContext?: StorageViewContext;
|
13
|
+
maximumSlotsPerDisk?: string;
|
13
14
|
}
|
14
|
-
export declare const PDisk: ({ data, vDisks, showPopup, onShowPopup, onHidePopup, className, progressBarClassName, viewContext, }: PDiskProps) => import("react/jsx-runtime").JSX.Element;
|
15
|
+
export declare const PDisk: ({ data, vDisks, showPopup, onShowPopup, onHidePopup, className, progressBarClassName, viewContext, maximumSlotsPerDisk, }: PDiskProps) => import("react/jsx-runtime").JSX.Element;
|
15
16
|
export {};
|
@@ -11,7 +11,8 @@ import { cn } from '../../../utils/cn';
|
|
11
11
|
import { isVdiskActive } from '../utils';
|
12
12
|
import './PDisk.scss';
|
13
13
|
const b = cn('pdisk-storage');
|
14
|
-
|
14
|
+
const PDISK_MAX_SLOTS_CSS_VAR = '--pdisk-max-slots';
|
15
|
+
export const PDisk = ({ data = {}, vDisks, showPopup, onShowPopup, onHidePopup, className, progressBarClassName, viewContext, maximumSlotsPerDisk, }) => {
|
15
16
|
const { NodeId, PDiskId } = data;
|
16
17
|
const pDiskIdsDefined = valueIsDefined(NodeId) && valueIsDefined(PDiskId);
|
17
18
|
const anchorRef = React.useRef(null);
|
@@ -29,6 +30,10 @@ export const PDisk = ({ data = {}, vDisks, showPopup, onShowPopup, onHidePopup,
|
|
29
30
|
if (pDiskIdsDefined) {
|
30
31
|
pDiskPath = getPDiskPagePath(PDiskId, NodeId);
|
31
32
|
}
|
32
|
-
return (_jsxs("div", { className: b(null, className), ref: anchorRef,
|
33
|
+
return (_jsxs("div", { className: b(null, className), ref: anchorRef, style: maximumSlotsPerDisk
|
34
|
+
? {
|
35
|
+
[PDISK_MAX_SLOTS_CSS_VAR]: maximumSlotsPerDisk,
|
36
|
+
}
|
37
|
+
: undefined, children: [renderVDisks(), _jsx(HoverPopup, { showPopup: showPopup, anchorRef: anchorRef, onShowPopup: onShowPopup, onHidePopup: onHidePopup, popupContent: _jsx(PDiskPopup, { data: data }), children: _jsxs(InternalLink, { to: pDiskPath, className: b('content'), children: [_jsx(DiskStateProgressBar, { diskAllocatedPercent: data.AllocatedPercent, severity: data.Severity, className: progressBarClassName }), _jsx("div", { className: b('media-type'), children: data.Type })] }) })] }));
|
33
38
|
};
|
34
39
|
//# sourceMappingURL=PDisk.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDisk.js","sourceRoot":"","sources":["../../../../src/containers/Storage/PDisk/PDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AAGrC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAEvC,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"PDisk.js","sourceRoot":"","sources":["../../../../src/containers/Storage/PDisk/PDisk.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,2CAA2C,CAAC;AACrE,O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|
9
|
+
justify-content: flex-end;
|
10
|
+
|
11
|
+
width: calc(
|
12
|
+
var(--pdisk-max-slots, 1) * var(--pdisk-vdisk-width) + (var(--pdisk-max-slots, 1) - 1) *
|
13
|
+
var(--pdisk-gap-width)
|
14
|
+
);
|
15
|
+
min-width: 120px;
|
5
16
|
|
6
17
|
&__content {
|
7
18
|
position: relative;
|
8
19
|
|
9
20
|
display: block;
|
21
|
+
flex: 1;
|
10
22
|
|
11
|
-
border-radius: 4px;
|
23
|
+
border-radius: 4px;
|
12
24
|
}
|
13
25
|
|
14
26
|
&__vdisks {
|
15
27
|
display: flex;
|
16
|
-
|
17
|
-
|
18
|
-
gap: 2px;
|
28
|
+
flex: 0 0 auto;
|
29
|
+
gap: var(--pdisk-gap-width);
|
19
30
|
|
20
31
|
margin-bottom: 4px;
|
32
|
+
|
33
|
+
white-space: nowrap;
|
21
34
|
}
|
22
35
|
|
23
36
|
&__vdisks-item {
|
24
|
-
flex
|
25
|
-
|
37
|
+
flex: 0 0 var(--pdisk-vdisk-width);
|
38
|
+
|
39
|
+
min-width: var(--pdisk-vdisk-width);
|
26
40
|
|
27
41
|
.stack__layer {
|
28
42
|
.data-table__row:hover & {
|
@@ -5,20 +5,14 @@
|
|
5
5
|
|
6
6
|
&__pdisks-wrapper {
|
7
7
|
display: flex;
|
8
|
-
|
9
|
-
align-items: flex-end;
|
8
|
+
gap: 10px;
|
10
9
|
|
11
|
-
width:
|
10
|
+
width: 100%;
|
12
11
|
height: 40px;
|
13
12
|
}
|
14
|
-
&__pdisks-item {
|
15
|
-
flex-grow: 1;
|
16
|
-
|
17
|
-
max-width: 200px;
|
18
|
-
margin-right: 10px;
|
19
13
|
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
&__pdisks-item {
|
15
|
+
display: flex;
|
16
|
+
flex-shrink: 0;
|
23
17
|
}
|
24
18
|
}
|
@@ -16,7 +16,7 @@ const getPDisksColumn = ({ viewContext }) => {
|
|
16
16
|
return (_jsx("div", { className: b('pdisks-wrapper'), children: (_a = row.PDisks) === null || _a === void 0 ? void 0 : _a.map((pDisk) => {
|
17
17
|
var _a;
|
18
18
|
const vDisks = (_a = row.VDisks) === null || _a === void 0 ? void 0 : _a.filter((vdisk) => vdisk.PDiskId === pDisk.PDiskId);
|
19
|
-
return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk, vDisks: vDisks, viewContext: viewContext }) }, pDisk.PDiskId));
|
19
|
+
return (_jsx("div", { className: b('pdisks-item'), children: _jsx(PDisk, { data: pDisk, vDisks: vDisks, viewContext: viewContext, maximumSlotsPerDisk: row.MaximumSlotsPerDisk }) }, pDisk.PDiskId));
|
20
20
|
}) }));
|
21
21
|
},
|
22
22
|
align: DataTable.CENTER,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,GACxB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,MAAM,EAAE,oBAAoB,CAAC,MAAM;QACnC,SAAS,EAAE,CAAC,CAAC,eAAe,CAAC;QAC7B,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE;;YACd,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,YAC9B,MAAA,GAAG,CAAC,MAAM,0CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;;oBACvB,MAAM,MAAM,GAAG,MAAA,GAAG,CAAC,MAAM,0CAAE,MAAM,CAC7B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,OAAO,CAC7C,CAAC;oBAEF,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAC5B,KAAC,KAAK,
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Storage/StorageNodes/columns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACH,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,GACxB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,eAAe,GAAG,CAAC,EAAC,WAAW,EAA+B,EAAsB,EAAE;IACxF,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,MAAM;QAC9B,MAAM,EAAE,oBAAoB,CAAC,MAAM;Q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QACnC,eAAe,EAAuB;QACtC,uBAAuB,EAAuB;QAC9C,gBAAgB,EAAuB;QACvC,qBAAqB,EAAuB;QAC5C,eAAe,CAAC,EAAC,WAAW,EAAC,CAAC;KACjC,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7C,GAAG,MAAM;QACT,QAAQ,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC;KAC/C,CAAC,CAAC,CAAC;IAEJ,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAC"}
|
@@ -4,11 +4,11 @@ import { Link } from 'react-router-dom';
|
|
4
4
|
import { InfoViewer } from '../../../../components/InfoViewer';
|
5
5
|
import { LinkWithIcon } from '../../../../components/LinkWithIcon/LinkWithIcon';
|
6
6
|
import { TabletState } from '../../../../components/TabletState/TabletState';
|
7
|
+
import { TabletUptime } from '../../../../components/UptimeViewer/UptimeViewer';
|
7
8
|
import { getTabletPagePath } from '../../../../routes';
|
8
9
|
import { selectIsUserAllowedToMakeChanges } from '../../../../store/reducers/authentication/authentication';
|
9
10
|
import { ETabletState } from '../../../../types/api/tablet';
|
10
11
|
import { cn } from '../../../../utils/cn';
|
11
|
-
import { getUptimeFromDateFormatted } from '../../../../utils/dataFormatters/dataFormatters';
|
12
12
|
import { createTabletDeveloperUIHref } from '../../../../utils/developerUI/developerUI';
|
13
13
|
import { useTypedSelector } from '../../../../utils/hooks';
|
14
14
|
import { getDefaultNodePath } from '../../../Node/NodePages';
|
@@ -38,7 +38,7 @@ export const TabletInfo = ({ tablet }) => {
|
|
38
38
|
if (hasUptime) {
|
39
39
|
tabletInfo.push({
|
40
40
|
label: tabletInfoKeyset('field_uptime'),
|
41
|
-
value:
|
41
|
+
value: _jsx(TabletUptime, { ChangeTime: ChangeTime }),
|
42
42
|
});
|
43
43
|
}
|
44
44
|
tabletInfo.push({ label: tabletInfoKeyset('field_generation'), value: Generation }, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletInfo.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletInfo/TabletInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAGtC,OAAO,EAAC,UAAU,EAAC,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TabletInfo.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletInfo/TabletInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAGtC,OAAO,EAAC,UAAU,EAAC,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,gCAAgC,EAAC,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,2BAA2B,EAAC,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAA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AS,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,aAC3B,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,EACjD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,KAAK,CAAC,GACnD,EACF,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,EACtD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,UAAU,CAAC,GACxD,EACF,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,EACtD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,mBAAmB,CAAC,GACjE,EACF,KAAC,YAAY,IACT,KAAK,EAAE,gBAAgB,CAAC,0BAA0B,CAAC,EACnD,GAAG,EAAE,2BAA2B,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,GAC/D,IACC,IACL,CACT,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,MAAC,IAAI,IAAC,GAAG,EAAE,EAAE,EAAE,IAAI,EAAC,QAAQ,aACvB,gBAAgB,EAAE,EAClB,WAAW,EAAE,IACX,CACV,CAAC;AACN,CAAC,CAAC"}
|
@@ -4,7 +4,7 @@ import { EntityStatus } from '../../../../components/EntityStatus/EntityStatus';
|
|
4
4
|
import { InternalLink } from '../../../../components/InternalLink/InternalLink';
|
5
5
|
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
6
6
|
import { TabletState } from '../../../../components/TabletState/TabletState';
|
7
|
-
import {
|
7
|
+
import { TabletUptime } from '../../../../components/UptimeViewer/UptimeViewer';
|
8
8
|
import { getDefaultNodePath } from '../../../Node/NodePages';
|
9
9
|
const TABLET_COLUMNS_WIDTH_LS_KEY = 'tabletTableColumnsWidth';
|
10
10
|
const columns = [
|
@@ -17,7 +17,10 @@ const columns = [
|
|
17
17
|
name: 'Change time',
|
18
18
|
align: DataTable.RIGHT,
|
19
19
|
sortable: false,
|
20
|
-
render: ({ row }) =>
|
20
|
+
render: ({ row }) => {
|
21
|
+
return _jsx(TabletUptime, { ChangeTime: row.changeTime });
|
22
|
+
},
|
23
|
+
width: 120,
|
21
24
|
},
|
22
25
|
{
|
23
26
|
name: 'State',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;
|
1
|
+
{"version":3,"file":"TabletTable.js","sourceRoot":"","sources":["../../../../../src/containers/Tablet/components/TabletTable/TabletTable.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAE9E,OAAO,EAAC,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAE3D,MAAM,2BAA2B,GAAG,yBAAyB,CAAC;AAE9D,MAAM,OAAO,GAAyC;IAClD;QACI,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,SAAS,CAAC,KAAK;QACtB,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU;KACpC;IACD;QACI,IAAI,EAAE,aAAa;QAC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CACJ,CAAC;AAEF,MAAM,cAAc,GAAG;IACnB,cAAc,EAAE,KAAK;CACxB,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAC,OAAO,EAAmB,EAAE,EAAE;IACvD,OAAO,CACH,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,2BAA2B,EAC9C,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,cAAc,EACxB,gBAAgB,EAAE;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,SAAS,CAAC,UAAU;SAC9B,GACH,CACL,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,11 +8,11 @@ import { ResizeableDataTable } from '../../components/ResizeableDataTable/Resize
|
|
8
8
|
import { TableSkeleton } from '../../components/TableSkeleton/TableSkeleton';
|
9
9
|
import { TabletNameWrapper } from '../../components/TabletNameWrapper/TabletNameWrapper';
|
10
10
|
import { TabletState } from '../../components/TabletState/TabletState';
|
11
|
+
import { TabletUptime } from '../../components/UptimeViewer/UptimeViewer';
|
11
12
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
12
13
|
import { tabletApi } from '../../store/reducers/tablet';
|
13
14
|
import { ETabletState } from '../../types/api/tablet';
|
14
15
|
import { DEFAULT_TABLE_SETTINGS, EMPTY_DATA_PLACEHOLDER } from '../../utils/constants';
|
15
|
-
import { getUptimeFromDateFormatted } from '../../utils/dataFormatters/dataFormatters';
|
16
16
|
import { useTypedSelector } from '../../utils/hooks';
|
17
17
|
import { getDefaultNodePath } from '../Node/NodePages';
|
18
18
|
import i18n from './i18n';
|
@@ -87,10 +87,11 @@ function getColumns({ database }) {
|
|
87
87
|
return i18n('Uptime');
|
88
88
|
},
|
89
89
|
render: ({ row }) => {
|
90
|
-
return
|
90
|
+
return _jsx(TabletUptime, { ChangeTime: row.ChangeTime });
|
91
91
|
},
|
92
92
|
sortAccessor: (row) => -Number(row.ChangeTime),
|
93
93
|
align: 'right',
|
94
|
+
width: 120,
|
94
95
|
},
|
95
96
|
{
|
96
97
|
name: 'Actions',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabletsTable.js","sourceRoot":"","sources":["../../../src/containers/Tablets/TabletsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAC,aAAa,EAAC,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,sDAAsD,CAAC;AACvF,OAAO,EAAC,WAAW,EAAC,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EAAC,sBAAsB,EAAE,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AACrF,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"TabletsTable.js","sourceRoot":"","sources":["../../../src/containers/Tablets/TabletsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,YAAY,EAAC,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAC,YAAY,EA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AC;IAED,OAAO,CACH,KAAC,uBAAuB,IACpB,UAAU,EAAC,UAAU,EACrB,WAAW,EAAE,IAAI,CAAC,oBAAoB,CAAC,EACvC,YAAY,EAAE,IAAI,CAAC,oBAAoB,CAAC,EACxC,UAAU,EAAE,IAAI,CAAC,kBAAkB,CAAC,EACpC,eAAe,EAAE,GAAG,EAAE;YAClB,OAAO,UAAU,CAAC,EAAC,EAAE,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QACrC,CAAC,EACD,cAAc,EAAE,iBAAiB,IAAI,CAAC,0BAA0B,EAChE,WAAW,QACX,cAAc,EACV,0BAA0B;YACtB,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;YAC5B,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAE3C,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,EACnC,eAAe,EAAE,KAAK,YAEtB,KAAC,IAAI,IAAC,IAAI,EAAE,eAAe,GAAI,GACT,CAC7B,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,YAAY,CAAC,EAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAoB;IACnF,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,KAAC,aAAa,KAAG,CAAC;IAC7B,CAAC;IACD,OAAO,CACH,KAAC,mBAAmB,IAChB,gBAAgB,EAAE,SAAS,EAC3B,OAAO,EAAE,UAAU,CAAC,EAAC,QAAQ,EAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,sBAAsB,EAChC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,GACzC,CACL,CAAC;AACN,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "no-data" | "hot-keys-collecting"
|
1
|
+
declare const _default: (key: "no-data" | "help" | "hot-keys-collecting", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "user" | "application" | "duration" | "cpu-time" | "read-rows" | "read-bytes" | "query-hash" | "
|
1
|
+
declare const _default: (key: "user" | "application" | "start-time" | "duration" | "cpu-time" | "read-rows" | "read-bytes" | "query-hash" | "end-time" | "query-text", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|