@xh/hoist 69.0.0-SNAPSHOT.1729088865150 → 69.0.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/CHANGELOG.md +1 -2
- package/admin/columns/Tracking.ts +2 -1
- package/admin/tabs/cluster/ClusterTab.ts +1 -0
- package/admin/tabs/cluster/ClusterTabModel.ts +2 -2
- package/admin/tabs/cluster/connpool/ConnPoolMonitorPanel.ts +1 -1
- package/admin/tabs/cluster/{hzobject/HzObjectModel.ts → distobjects/DistributedObjectsModel.ts} +1 -1
- package/admin/tabs/cluster/{hzobject/HzObjectPanel.ts → distobjects/DistributedObjectsPanel.ts} +7 -6
- package/admin/tabs/cluster/logs/LogViewer.ts +2 -1
- package/admin/tabs/cluster/memory/MemoryMonitorPanel.ts +1 -1
- package/build/types/admin/tabs/cluster/{hzobject/HzObjectModel.d.ts → distobjects/DistributedObjectsModel.d.ts} +1 -1
- package/build/types/admin/tabs/cluster/distobjects/DistributedObjectsPanel.d.ts +2 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/build/types/admin/tabs/cluster/hzobject/HzObjectPanel.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 69.0.0-
|
|
3
|
+
## 69.0.0 - 2024-10-17
|
|
4
4
|
|
|
5
5
|
### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - Hoist core update)
|
|
6
6
|
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
new memory monitoring persistence.
|
|
9
9
|
* Replaced `AppState.INITIALIZING` with finer-grained states (not expected to impact most apps).
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
### 🎁 New Features
|
|
13
12
|
|
|
14
13
|
* Optimized activity tracking to batch its calls to the server, reducing network overhead.
|
|
@@ -238,7 +238,8 @@ function badgeRenderer(v) {
|
|
|
238
238
|
return v
|
|
239
239
|
? badge({
|
|
240
240
|
item: v,
|
|
241
|
-
className: 'xh-font-family-mono
|
|
241
|
+
className: 'xh-font-family-mono',
|
|
242
|
+
style: {cursor: 'copy'},
|
|
242
243
|
title: 'Double-click to copy',
|
|
243
244
|
onDoubleClick: () => {
|
|
244
245
|
copy(v);
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
import {AppModel} from '@xh/hoist/admin/AppModel';
|
|
8
8
|
import {timestampNoYear} from '@xh/hoist/admin/columns';
|
|
9
9
|
import {connPoolMonitorPanel} from '@xh/hoist/admin/tabs/cluster/connpool/ConnPoolMonitorPanel';
|
|
10
|
+
import {distributedObjectsPanel} from '@xh/hoist/admin/tabs/cluster/distobjects/DistributedObjectsPanel';
|
|
10
11
|
import {serverEnvPanel} from '@xh/hoist/admin/tabs/cluster/environment/ServerEnvPanel';
|
|
11
|
-
import {hzObjectPanel} from '@xh/hoist/admin/tabs/cluster/hzobject/HzObjectPanel';
|
|
12
12
|
import {logViewer} from '@xh/hoist/admin/tabs/cluster/logs/LogViewer';
|
|
13
13
|
import {usedHeapMb, usedPctMax} from '@xh/hoist/admin/tabs/cluster/memory/MemoryMonitorModel';
|
|
14
14
|
import {memoryMonitorPanel} from '@xh/hoist/admin/tabs/cluster/memory/MemoryMonitorPanel';
|
|
@@ -180,7 +180,7 @@ export class ClusterTabModel extends HoistModel {
|
|
|
180
180
|
id: 'objects',
|
|
181
181
|
title: 'Distributed Objects',
|
|
182
182
|
icon: Icon.grip(),
|
|
183
|
-
content:
|
|
183
|
+
content: distributedObjectsPanel
|
|
184
184
|
},
|
|
185
185
|
{id: 'webSockets', title: 'WebSockets', icon: Icon.bolt(), content: webSocketPanel}
|
|
186
186
|
]
|
package/admin/tabs/cluster/{hzobject/HzObjectModel.ts → distobjects/DistributedObjectsModel.ts}
RENAMED
|
@@ -18,7 +18,7 @@ import {Icon} from '@xh/hoist/icon';
|
|
|
18
18
|
import {bindable, makeObservable} from '@xh/hoist/mobx';
|
|
19
19
|
import {first, isEmpty, last} from 'lodash';
|
|
20
20
|
|
|
21
|
-
export class
|
|
21
|
+
export class DistributedObjectsModel extends BaseInstanceModel {
|
|
22
22
|
@bindable groupBy: 'type' | 'owner' = 'owner';
|
|
23
23
|
|
|
24
24
|
@managed detailPanelModel = new PanelModel({
|
package/admin/tabs/cluster/{hzobject/HzObjectPanel.ts → distobjects/DistributedObjectsPanel.ts}
RENAMED
|
@@ -14,16 +14,17 @@ import {panel} from '@xh/hoist/desktop/cmp/panel';
|
|
|
14
14
|
import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
|
|
15
15
|
import {recordActionBar} from '@xh/hoist/desktop/cmp/record';
|
|
16
16
|
import {Icon} from '@xh/hoist/icon';
|
|
17
|
-
import {
|
|
17
|
+
import {DistributedObjectsModel} from './DistributedObjectsModel';
|
|
18
18
|
|
|
19
|
-
export const
|
|
20
|
-
|
|
19
|
+
export const distributedObjectsPanel = hoistCmp.factory({
|
|
20
|
+
displayName: 'DistributedObjectsPanel',
|
|
21
|
+
model: creates(DistributedObjectsModel),
|
|
21
22
|
|
|
22
23
|
render({model}) {
|
|
23
24
|
return panel({
|
|
24
25
|
item: hframe(
|
|
25
26
|
panel({
|
|
26
|
-
item: grid(
|
|
27
|
+
item: grid(),
|
|
27
28
|
bbar: bbar()
|
|
28
29
|
}),
|
|
29
30
|
detailsPanel()
|
|
@@ -35,7 +36,7 @@ export const hzObjectPanel = hoistCmp.factory({
|
|
|
35
36
|
});
|
|
36
37
|
|
|
37
38
|
const detailsPanel = hoistCmp.factory({
|
|
38
|
-
model: uses(
|
|
39
|
+
model: uses(DistributedObjectsModel),
|
|
39
40
|
render({model}) {
|
|
40
41
|
const record = model.gridModel.selectedRecord;
|
|
41
42
|
return panel({
|
|
@@ -62,7 +63,7 @@ const detailsPanel = hoistCmp.factory({
|
|
|
62
63
|
}
|
|
63
64
|
});
|
|
64
65
|
|
|
65
|
-
const bbar = hoistCmp.factory<
|
|
66
|
+
const bbar = hoistCmp.factory<DistributedObjectsModel>({
|
|
66
67
|
render({model}) {
|
|
67
68
|
return toolbar(
|
|
68
69
|
recordActionBar({
|
|
@@ -41,8 +41,9 @@ export const logViewer = hoistCmp.factory({
|
|
|
41
41
|
bbar: [
|
|
42
42
|
storeFilterField({flex: 1}),
|
|
43
43
|
select({
|
|
44
|
+
leftIcon: Icon.server(),
|
|
44
45
|
bind: 'instanceOnly',
|
|
45
|
-
width:
|
|
46
|
+
width: 110,
|
|
46
47
|
enableFilter: false,
|
|
47
48
|
hideDropdownIndicator: true,
|
|
48
49
|
hideSelectedOptionCheck: true,
|
|
@@ -3,7 +3,7 @@ import { GridModel } from '@xh/hoist/cmp/grid';
|
|
|
3
3
|
import { LoadSpec } from '@xh/hoist/core';
|
|
4
4
|
import { RecordActionSpec } from '@xh/hoist/data';
|
|
5
5
|
import { PanelModel } from '@xh/hoist/desktop/cmp/panel';
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class DistributedObjectsModel extends BaseInstanceModel {
|
|
7
7
|
groupBy: 'type' | 'owner';
|
|
8
8
|
detailPanelModel: PanelModel;
|
|
9
9
|
clearAction: RecordActionSpec;
|
package/package.json
CHANGED