@dxos/plugin-debug 0.7.5-main.9d2a38b → 0.7.5-main.ff8607b
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/lib/browser/{app-graph-builder-FXELWOFS.mjs → app-graph-builder-66ZVNTDI.mjs} +8 -3
- package/dist/lib/browser/app-graph-builder-66ZVNTDI.mjs.map +7 -0
- package/dist/lib/browser/chunk-EF3UVAVI.mjs +21 -0
- package/dist/lib/browser/chunk-EF3UVAVI.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +5 -11
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-5GNO6NWP.mjs → react-surface-VEEFOGIM.mjs} +53 -50
- package/dist/lib/browser/react-surface-VEEFOGIM.mjs.map +7 -0
- package/dist/lib/browser/{settings-JCZUA643.mjs → settings-OIMSBZUC.mjs} +2 -2
- package/dist/types/src/DebugPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +22 -22
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +26 -31
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/components/DebugStatus.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -0
- package/dist/types/src/meta.d.ts.map +1 -1
- package/package.json +43 -42
- package/src/DebugPlugin.tsx +2 -7
- package/src/capabilities/app-graph-builder.ts +6 -1
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/react-surface.tsx +7 -15
- package/src/components/DebugSettings.tsx +7 -9
- package/src/components/DebugStatus.tsx +17 -21
- package/src/meta.ts +3 -1
- package/dist/lib/browser/app-graph-builder-FXELWOFS.mjs.map +0 -7
- package/dist/lib/browser/chunk-I3ON45JK.mjs +0 -18
- package/dist/lib/browser/chunk-I3ON45JK.mjs.map +0 -7
- package/dist/lib/browser/react-context-OZU6J7G3.mjs +0 -37
- package/dist/lib/browser/react-context-OZU6J7G3.mjs.map +0 -7
- package/dist/lib/browser/react-surface-5GNO6NWP.mjs.map +0 -7
- package/dist/types/src/capabilities/react-context.d.ts +0 -8
- package/dist/types/src/capabilities/react-context.d.ts.map +0 -1
- package/src/capabilities/react-context.tsx +0 -38
- /package/dist/lib/browser/{settings-JCZUA643.mjs.map → settings-OIMSBZUC.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
3
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
4
4
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
5
5
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
6
6
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -8,7 +8,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
8
8
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
9
9
|
}> | Readonly<{
|
|
10
10
|
id: string;
|
|
11
|
-
|
|
11
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
12
12
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
13
13
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
14
14
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -16,7 +16,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
16
16
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
17
17
|
}>[] | (Readonly<{
|
|
18
18
|
id: string;
|
|
19
|
-
|
|
19
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
20
20
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
21
21
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
22
22
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -24,7 +24,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
24
24
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
25
25
|
}> | Readonly<{
|
|
26
26
|
id: string;
|
|
27
|
-
|
|
27
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
28
28
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
29
29
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
30
30
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -32,7 +32,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
32
32
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
33
33
|
}>[] | (Readonly<{
|
|
34
34
|
id: string;
|
|
35
|
-
|
|
35
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
36
36
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
37
37
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
38
38
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -40,7 +40,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
40
40
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
41
41
|
}> | Readonly<{
|
|
42
42
|
id: string;
|
|
43
|
-
|
|
43
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
44
44
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
45
45
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
46
46
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -48,7 +48,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
48
48
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
49
49
|
}>[] | (Readonly<{
|
|
50
50
|
id: string;
|
|
51
|
-
|
|
51
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
52
52
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
53
53
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
54
54
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -56,7 +56,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
56
56
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
57
57
|
}> | Readonly<{
|
|
58
58
|
id: string;
|
|
59
|
-
|
|
59
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
60
60
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
61
61
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
62
62
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -64,7 +64,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
64
64
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
65
65
|
}>[] | (Readonly<{
|
|
66
66
|
id: string;
|
|
67
|
-
|
|
67
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
68
68
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
69
69
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
70
70
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -72,7 +72,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
72
72
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
73
73
|
}> | Readonly<{
|
|
74
74
|
id: string;
|
|
75
|
-
|
|
75
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
76
76
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
77
77
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
78
78
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -80,7 +80,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
80
80
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
81
81
|
}>[] | (Readonly<{
|
|
82
82
|
id: string;
|
|
83
|
-
|
|
83
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
84
84
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
85
85
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
86
86
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -88,7 +88,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
88
88
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
89
89
|
}> | Readonly<{
|
|
90
90
|
id: string;
|
|
91
|
-
|
|
91
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
92
92
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
93
93
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
94
94
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -96,7 +96,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
96
96
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
97
97
|
}>[] | (Readonly<{
|
|
98
98
|
id: string;
|
|
99
|
-
|
|
99
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
100
100
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
101
101
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
102
102
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -104,7 +104,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
104
104
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
105
105
|
}> | Readonly<{
|
|
106
106
|
id: string;
|
|
107
|
-
|
|
107
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
108
108
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
109
109
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
110
110
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -112,7 +112,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
112
112
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
113
113
|
}>[] | (Readonly<{
|
|
114
114
|
id: string;
|
|
115
|
-
|
|
115
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
116
116
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
117
117
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
118
118
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -120,7 +120,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
120
120
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
121
121
|
}> | Readonly<{
|
|
122
122
|
id: string;
|
|
123
|
-
|
|
123
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
124
124
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
125
125
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
126
126
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -128,7 +128,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
128
128
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
129
129
|
}>[] | (Readonly<{
|
|
130
130
|
id: string;
|
|
131
|
-
|
|
131
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
132
132
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
133
133
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
134
134
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -136,7 +136,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
136
136
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
137
137
|
}> | Readonly<{
|
|
138
138
|
id: string;
|
|
139
|
-
|
|
139
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
140
140
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
141
141
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
142
142
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -144,7 +144,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
144
144
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
145
145
|
}>[] | (Readonly<{
|
|
146
146
|
id: string;
|
|
147
|
-
|
|
147
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
148
148
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
149
149
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
150
150
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -152,7 +152,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
152
152
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
153
153
|
}> | Readonly<{
|
|
154
154
|
id: string;
|
|
155
|
-
|
|
155
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
156
156
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
157
157
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
158
158
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -160,7 +160,7 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
160
160
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
161
161
|
}>[] | (any[] | Readonly<{
|
|
162
162
|
id: string;
|
|
163
|
-
|
|
163
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
164
164
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
165
165
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
166
166
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
@@ -168,18 +168,13 @@ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").Plu
|
|
|
168
168
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
169
169
|
}> | Readonly<{
|
|
170
170
|
id: string;
|
|
171
|
-
|
|
171
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
172
172
|
resolver?: import("packages/sdk/app-graph/dist/types/src").ResolverExtension;
|
|
173
173
|
connector?: import("packages/sdk/app-graph/dist/types/src").ConnectorExtension;
|
|
174
174
|
relation?: import("packages/sdk/app-graph/dist/types/src").Relation;
|
|
175
175
|
type?: string;
|
|
176
176
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
177
|
-
}>[])[])[])[])[])[])[])[])[])[])[]>>;
|
|
178
|
-
export declare const
|
|
179
|
-
|
|
180
|
-
dependsOn?: string[];
|
|
181
|
-
context: import("react").FC<import("react").PropsWithChildren>;
|
|
182
|
-
}>>>;
|
|
183
|
-
export declare const ReactSurface: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface>>;
|
|
184
|
-
export declare const DebugSettings: (props?: unknown) => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings>>;
|
|
177
|
+
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
178
|
+
export declare const ReactSurface: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
179
|
+
export declare const DebugSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
185
180
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAGg0F,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,uCAAiB;uBAAgD,uCAAiB;sBAAgD,uCAAiB;;2BAAkE,uCAAiB;qFAHjmW,CAAC;AACzE,eAAO,MAAM,YAAY,iPAAwC,CAAC;AAClE,eAAO,MAAM,aAAa,4LAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA4C,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAsCzF,cAAc;AAAvC,wBAqFK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAwH3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DebugStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAyM3D,eAAO,MAAM,WAAW,yBAQvB,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,eAAO,MAAM,IAAI;;;;;;;;CASK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-debug",
|
|
3
|
-
"version": "0.7.5-main.
|
|
3
|
+
"version": "0.7.5-main.ff8607b",
|
|
4
4
|
"description": "DXOS Surface plugin for testing.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -32,41 +32,42 @@
|
|
|
32
32
|
"react-json-tree": "^0.18.0",
|
|
33
33
|
"react-resize-detector": "^11.0.1",
|
|
34
34
|
"workerize-loader": "^2.0.2",
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/echo-generator": "0.7.5-main.
|
|
43
|
-
"@dxos/echo-
|
|
44
|
-
"@dxos/echo-
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/plugin-
|
|
51
|
-
"@dxos/plugin-graph": "0.7.5-main.
|
|
52
|
-
"@dxos/plugin-
|
|
53
|
-
"@dxos/plugin-
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/plugin-
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/react-client": "0.7.5-main.
|
|
63
|
-
"@dxos/react-hooks": "0.7.5-main.
|
|
64
|
-
"@dxos/react-ui-attention": "0.7.5-main.
|
|
65
|
-
"@dxos/react-ui-form": "0.7.5-main.
|
|
66
|
-
"@dxos/react-ui-
|
|
67
|
-
"@dxos/react-ui-
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/
|
|
35
|
+
"@dxos/app-framework": "0.7.5-main.ff8607b",
|
|
36
|
+
"@dxos/async": "0.7.5-main.ff8607b",
|
|
37
|
+
"@dxos/client-services": "0.7.5-main.ff8607b",
|
|
38
|
+
"@dxos/automerge": "0.7.5-main.ff8607b",
|
|
39
|
+
"@dxos/config": "0.7.5-main.ff8607b",
|
|
40
|
+
"@dxos/devtools": "0.7.5-main.ff8607b",
|
|
41
|
+
"@dxos/compute": "0.7.5-main.ff8607b",
|
|
42
|
+
"@dxos/echo-generator": "0.7.5-main.ff8607b",
|
|
43
|
+
"@dxos/echo-schema": "0.7.5-main.ff8607b",
|
|
44
|
+
"@dxos/echo-pipeline": "0.7.5-main.ff8607b",
|
|
45
|
+
"@dxos/invariant": "0.7.5-main.ff8607b",
|
|
46
|
+
"@dxos/local-storage": "0.7.5-main.ff8607b",
|
|
47
|
+
"@dxos/log": "0.7.5-main.ff8607b",
|
|
48
|
+
"@dxos/keys": "0.7.5-main.ff8607b",
|
|
49
|
+
"@dxos/plugin-deck": "0.7.5-main.ff8607b",
|
|
50
|
+
"@dxos/plugin-client": "0.7.5-main.ff8607b",
|
|
51
|
+
"@dxos/plugin-graph": "0.7.5-main.ff8607b",
|
|
52
|
+
"@dxos/plugin-sketch": "0.7.5-main.ff8607b",
|
|
53
|
+
"@dxos/plugin-markdown": "0.7.5-main.ff8607b",
|
|
54
|
+
"@dxos/plugin-space": "0.7.5-main.ff8607b",
|
|
55
|
+
"@dxos/plugin-sheet": "0.7.5-main.ff8607b",
|
|
56
|
+
"@dxos/plugin-status-bar": "0.7.5-main.ff8607b",
|
|
57
|
+
"@dxos/plugin-table": "0.7.5-main.ff8607b",
|
|
58
|
+
"@dxos/live-object": "0.7.5-main.ff8607b",
|
|
59
|
+
"@dxos/protocols": "0.7.5-main.ff8607b",
|
|
60
|
+
"@dxos/plugin-theme": "0.7.5-main.ff8607b",
|
|
61
|
+
"@dxos/random": "0.7.5-main.ff8607b",
|
|
62
|
+
"@dxos/react-client": "0.7.5-main.ff8607b",
|
|
63
|
+
"@dxos/react-hooks": "0.7.5-main.ff8607b",
|
|
64
|
+
"@dxos/react-ui-attention": "0.7.5-main.ff8607b",
|
|
65
|
+
"@dxos/react-ui-form": "0.7.5-main.ff8607b",
|
|
66
|
+
"@dxos/react-ui-stack": "0.7.5-main.ff8607b",
|
|
67
|
+
"@dxos/react-ui-syntax-highlighter": "0.7.5-main.ff8607b",
|
|
68
|
+
"@dxos/react-ui-table": "0.7.5-main.ff8607b",
|
|
69
|
+
"@dxos/schema": "0.7.5-main.ff8607b",
|
|
70
|
+
"@dxos/util": "0.7.5-main.ff8607b"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -76,17 +77,17 @@
|
|
|
76
77
|
"react": "~18.2.0",
|
|
77
78
|
"react-dom": "~18.2.0",
|
|
78
79
|
"vite": "5.4.7",
|
|
79
|
-
"@dxos/react-ui": "0.7.5-main.
|
|
80
|
-
"@dxos/react-ui
|
|
81
|
-
"@dxos/storybook-utils": "0.7.5-main.
|
|
80
|
+
"@dxos/react-ui-theme": "0.7.5-main.ff8607b",
|
|
81
|
+
"@dxos/react-ui": "0.7.5-main.ff8607b",
|
|
82
|
+
"@dxos/storybook-utils": "0.7.5-main.ff8607b"
|
|
82
83
|
},
|
|
83
84
|
"peerDependencies": {
|
|
84
85
|
"@phosphor-icons/react": "^2.1.5",
|
|
85
86
|
"react": "~18.2.0",
|
|
86
87
|
"react-dom": "~18.2.0",
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/react-ui
|
|
88
|
+
"@dxos/react-ui-theme": "0.7.5-main.ff8607b",
|
|
89
|
+
"@dxos/random": "0.7.5-main.ff8607b",
|
|
90
|
+
"@dxos/react-ui": "0.7.5-main.ff8607b"
|
|
90
91
|
},
|
|
91
92
|
"publishConfig": {
|
|
92
93
|
"access": "public"
|
package/src/DebugPlugin.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { Capabilities, contributes, defineModule, definePlugin, Events } from '@
|
|
|
6
6
|
import { DeckCapabilities } from '@dxos/plugin-deck';
|
|
7
7
|
import { type Client } from '@dxos/react-client';
|
|
8
8
|
|
|
9
|
-
import { AppGraphBuilder, DebugSettings,
|
|
9
|
+
import { AppGraphBuilder, DebugSettings, ReactSurface } from './capabilities';
|
|
10
10
|
import { DEBUG_PLUGIN, meta } from './meta';
|
|
11
11
|
import translations from './translations';
|
|
12
12
|
|
|
@@ -34,14 +34,9 @@ export const DebugPlugin = () => {
|
|
|
34
34
|
icon: 'ph--bug--regular',
|
|
35
35
|
}),
|
|
36
36
|
}),
|
|
37
|
-
defineModule({
|
|
38
|
-
id: `${meta.id}/module/react-context`,
|
|
39
|
-
activatesOn: Events.Startup,
|
|
40
|
-
activate: ReactContext,
|
|
41
|
-
}),
|
|
42
37
|
defineModule({
|
|
43
38
|
id: `${meta.id}/module/react-surface`,
|
|
44
|
-
activatesOn: Events.
|
|
39
|
+
activatesOn: Events.SetupSurfaces,
|
|
45
40
|
activate: ReactSurface,
|
|
46
41
|
}),
|
|
47
42
|
defineModule({
|
|
@@ -35,6 +35,7 @@ export default (context: PluginsContext) => {
|
|
|
35
35
|
type: 'dxos.org/plugin/debug/devtools',
|
|
36
36
|
properties: {
|
|
37
37
|
label: ['devtools label', { ns: DEBUG_PLUGIN }],
|
|
38
|
+
disposition: 'navigation',
|
|
38
39
|
icon: 'ph--hammer--regular',
|
|
39
40
|
},
|
|
40
41
|
},
|
|
@@ -51,7 +52,10 @@ export default (context: PluginsContext) => {
|
|
|
51
52
|
return !!settings?.debug && node.id === 'root';
|
|
52
53
|
},
|
|
53
54
|
connector: () => {
|
|
54
|
-
const graph = context.
|
|
55
|
+
const [graph] = context.requestCapabilities(Capabilities.AppGraph);
|
|
56
|
+
if (!graph) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
55
59
|
|
|
56
60
|
return [
|
|
57
61
|
{
|
|
@@ -60,6 +64,7 @@ export default (context: PluginsContext) => {
|
|
|
60
64
|
data: { graph },
|
|
61
65
|
properties: {
|
|
62
66
|
label: ['debug label', { ns: DEBUG_PLUGIN }],
|
|
67
|
+
disposition: 'navigation',
|
|
63
68
|
icon: 'ph--bug--regular',
|
|
64
69
|
},
|
|
65
70
|
},
|
|
@@ -5,6 +5,5 @@
|
|
|
5
5
|
import { lazy } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
7
|
export const AppGraphBuilder = lazy(() => import('./app-graph-builder'));
|
|
8
|
-
export const ReactContext = lazy(() => import('./react-context'));
|
|
9
8
|
export const ReactSurface = lazy(() => import('./react-surface'));
|
|
10
9
|
export const DebugSettings = lazy(() => import('./settings'));
|
|
@@ -4,15 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import React, { useCallback } from 'react';
|
|
6
6
|
|
|
7
|
-
import {
|
|
8
|
-
Capabilities,
|
|
9
|
-
contributes,
|
|
10
|
-
createIntent,
|
|
11
|
-
createSurface,
|
|
12
|
-
useCapability,
|
|
13
|
-
type PluginsContext,
|
|
14
|
-
} from '@dxos/app-framework';
|
|
7
|
+
import { Capabilities, contributes, createIntent, createSurface, type PluginsContext } from '@dxos/app-framework';
|
|
15
8
|
import { Devtools } from '@dxos/devtools';
|
|
9
|
+
import { SettingsStore } from '@dxos/local-storage';
|
|
16
10
|
import { Graph } from '@dxos/plugin-graph';
|
|
17
11
|
import { SpaceAction, CollectionType } from '@dxos/plugin-space/types';
|
|
18
12
|
import {
|
|
@@ -52,12 +46,10 @@ export default (context: PluginsContext) =>
|
|
|
52
46
|
contributes(Capabilities.ReactSurface, [
|
|
53
47
|
createSurface({
|
|
54
48
|
id: `${DEBUG_PLUGIN}/settings`,
|
|
55
|
-
role: '
|
|
56
|
-
filter: (data): data is
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
return <DebugSettings settings={settings} />;
|
|
60
|
-
},
|
|
49
|
+
role: 'article',
|
|
50
|
+
filter: (data): data is { subject: SettingsStore<DebugSettingsProps> } =>
|
|
51
|
+
data.subject instanceof SettingsStore && data.subject.prefix === DEBUG_PLUGIN,
|
|
52
|
+
component: ({ data: { subject } }) => <DebugSettings settings={subject.value} />,
|
|
61
53
|
}),
|
|
62
54
|
createSurface({
|
|
63
55
|
id: `${DEBUG_PLUGIN}/status`,
|
|
@@ -124,7 +116,7 @@ export default (context: PluginsContext) =>
|
|
|
124
116
|
createSurface({
|
|
125
117
|
id: `${DEBUG_PLUGIN}/wireframe`,
|
|
126
118
|
role: ['article', 'section'],
|
|
127
|
-
|
|
119
|
+
position: 'hoist',
|
|
128
120
|
filter: (data): data is { subject: ReactiveEchoObject<any> } => {
|
|
129
121
|
const settings = context
|
|
130
122
|
.requestCapability(Capabilities.SettingsStore)
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Gift, DownloadSimple, FirstAidKit } from '@phosphor-icons/react';
|
|
6
5
|
import React, { useEffect, useState } from 'react';
|
|
7
6
|
|
|
8
7
|
import { Capabilities, useCapabilities } from '@dxos/app-framework';
|
|
9
8
|
import { type ConfigProto, defs, SaveConfig, Storage } from '@dxos/config';
|
|
10
9
|
import { log } from '@dxos/log';
|
|
11
10
|
import { useClient } from '@dxos/react-client';
|
|
12
|
-
import { useTranslation, Button, Toast, Input, useFileDownload, Select } from '@dxos/react-ui';
|
|
13
|
-
import { DeprecatedFormInput } from '@dxos/react-ui-form';
|
|
14
|
-
import { getSize, mx } from '@dxos/react-ui-theme';
|
|
11
|
+
import { useTranslation, Button, Toast, Input, useFileDownload, Select, Icon } from '@dxos/react-ui';
|
|
12
|
+
import { DeprecatedFormContainer, DeprecatedFormInput } from '@dxos/react-ui-form';
|
|
15
13
|
import { setDeep } from '@dxos/util';
|
|
16
14
|
|
|
17
15
|
import { DEBUG_PLUGIN } from '../meta';
|
|
@@ -79,7 +77,7 @@ export const DebugSettings = ({ settings }: { settings: DebugSettingsProps }) =>
|
|
|
79
77
|
};
|
|
80
78
|
|
|
81
79
|
return (
|
|
82
|
-
|
|
80
|
+
<DeprecatedFormContainer>
|
|
83
81
|
<DeprecatedFormInput label={t('settings show debug panel')}>
|
|
84
82
|
<Input.Switch checked={settings.debug} onCheckedChange={(checked) => (settings.debug = !!checked)} />
|
|
85
83
|
</DeprecatedFormInput>
|
|
@@ -91,12 +89,12 @@ export const DebugSettings = ({ settings }: { settings: DebugSettingsProps }) =>
|
|
|
91
89
|
</DeprecatedFormInput>
|
|
92
90
|
<DeprecatedFormInput label={t('settings download diagnostics')}>
|
|
93
91
|
<Button onClick={handleDownload}>
|
|
94
|
-
<
|
|
92
|
+
<Icon icon='ph--download-simple--regular' size={5} />
|
|
95
93
|
</Button>
|
|
96
94
|
</DeprecatedFormInput>
|
|
97
95
|
<DeprecatedFormInput label={t('settings repair')}>
|
|
98
96
|
<Button onClick={handleRepair}>
|
|
99
|
-
<
|
|
97
|
+
<Icon icon='ph--first-aid-kit--regular' size={5} />
|
|
100
98
|
</Button>
|
|
101
99
|
</DeprecatedFormInput>
|
|
102
100
|
|
|
@@ -105,7 +103,7 @@ export const DebugSettings = ({ settings }: { settings: DebugSettingsProps }) =>
|
|
|
105
103
|
<Toast.Root>
|
|
106
104
|
<Toast.Body>
|
|
107
105
|
<Toast.Title>
|
|
108
|
-
<
|
|
106
|
+
<Icon icon='ph--gift--duotone' size={5} classNames='inline mr-1' />
|
|
109
107
|
<span>{toast.title}</span>
|
|
110
108
|
</Toast.Title>
|
|
111
109
|
{toast.description && <Toast.Description>{toast.description}</Toast.Description>}
|
|
@@ -145,7 +143,7 @@ export const DebugSettings = ({ settings }: { settings: DebugSettingsProps }) =>
|
|
|
145
143
|
</Select.Portal>
|
|
146
144
|
</Select.Root>
|
|
147
145
|
</DeprecatedFormInput>
|
|
148
|
-
|
|
146
|
+
</DeprecatedFormContainer>
|
|
149
147
|
);
|
|
150
148
|
};
|
|
151
149
|
|
|
@@ -4,15 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import React, { useEffect, useRef, useState } from 'react';
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { useAppGraph, useLayout } from '@dxos/app-framework';
|
|
8
8
|
import { TimeoutError } from '@dxos/async';
|
|
9
9
|
import { StatsPanel, useStats } from '@dxos/devtools';
|
|
10
10
|
import { getActiveSpace } from '@dxos/plugin-space';
|
|
11
11
|
import { StatusBar } from '@dxos/plugin-status-bar';
|
|
12
12
|
import { ConnectionState } from '@dxos/protocols/proto/dxos/client/services';
|
|
13
13
|
import { useNetworkStatus } from '@dxos/react-client/mesh';
|
|
14
|
-
import { Icon } from '@dxos/react-ui';
|
|
15
|
-
import { mx } from '@dxos/react-ui-theme';
|
|
14
|
+
import { Icon, Popover } from '@dxos/react-ui';
|
|
16
15
|
|
|
17
16
|
const styles = {
|
|
18
17
|
success: 'text-sky-300 dark:text-green-700',
|
|
@@ -136,9 +135,9 @@ const SwarmIndicator = () => {
|
|
|
136
135
|
// TODO(burdon): Merge with SaveStatus.
|
|
137
136
|
const SavingIndicator = () => {
|
|
138
137
|
const [state, _setState] = useState(0);
|
|
139
|
-
const
|
|
140
|
-
const { graph } =
|
|
141
|
-
const _space =
|
|
138
|
+
const layout = useLayout();
|
|
139
|
+
const { graph } = useAppGraph();
|
|
140
|
+
const _space = graph ? getActiveSpace(graph, layout.active[0]) : undefined;
|
|
142
141
|
// TODO(dmaretskyi): Fix this when we have save status for automerge.
|
|
143
142
|
// useEffect(() => {
|
|
144
143
|
// if (!space) {
|
|
@@ -186,22 +185,19 @@ const PerformanceIndicator = () => {
|
|
|
186
185
|
const [stats, refreshStats] = useStats();
|
|
187
186
|
|
|
188
187
|
return (
|
|
189
|
-
|
|
190
|
-
<
|
|
191
|
-
<
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
'overflow-x-hidden overflow-y-auto scrollbar-thin',
|
|
198
|
-
'border-x border-y border-separator',
|
|
199
|
-
)}
|
|
200
|
-
>
|
|
188
|
+
<Popover.Root open={visible} onOpenChange={setVisible}>
|
|
189
|
+
<Popover.Trigger asChild>
|
|
190
|
+
<StatusBar.Button onClick={() => setVisible((visible) => !visible)} title='Performance panels'>
|
|
191
|
+
<Icon icon='ph--chart-bar--regular' size={4} />
|
|
192
|
+
</StatusBar.Button>
|
|
193
|
+
</Popover.Trigger>
|
|
194
|
+
<Popover.Portal>
|
|
195
|
+
<Popover.Content classNames='max-is-[min(var(--radix-popover-content-available-width),300px)] max-bs-[--radix-popover-content-available-height]'>
|
|
201
196
|
<StatsPanel stats={stats} onRefresh={refreshStats} />
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
<Popover.Arrow />
|
|
198
|
+
</Popover.Content>
|
|
199
|
+
</Popover.Portal>
|
|
200
|
+
</Popover.Root>
|
|
205
201
|
);
|
|
206
202
|
};
|
|
207
203
|
|
package/src/meta.ts
CHANGED
|
@@ -9,8 +9,10 @@ export const DEBUG_PLUGIN = 'dxos.org/plugin/debug';
|
|
|
9
9
|
export const meta = {
|
|
10
10
|
id: DEBUG_PLUGIN,
|
|
11
11
|
name: 'Debug',
|
|
12
|
-
description:
|
|
12
|
+
description:
|
|
13
|
+
'The debug plugin is useful for troubleshooting inside of Composer. You can also use the Debug plugin to create test data inside of sheets or tables or explore pre-built automations. Non-technical users will likely not spend much time here, but this plugin is invaluable for developers and technical users.',
|
|
13
14
|
icon: 'ph--bug--regular',
|
|
14
15
|
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug',
|
|
15
16
|
tags: ['experimental'],
|
|
17
|
+
screenshots: ['https://dxos.network/plugin-details-debug-dark.png'],
|
|
16
18
|
} satisfies PluginMeta;
|