@xh/hoist 68.0.0-SNAPSHOT.1725402609804 → 68.0.0-SNAPSHOT.1725994463211
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.
|
@@ -242,14 +242,17 @@ export class ExceptionHandler {
|
|
|
242
242
|
ret = this.cloneAndTrim(ret);
|
|
243
243
|
|
|
244
244
|
// 3) Additional ad-hoc cleanups
|
|
245
|
+
// Remove finger pointing at Hoist
|
|
246
|
+
delete ret.isHoistException;
|
|
247
|
+
|
|
245
248
|
// Remove noisy grails exception wrapper info
|
|
246
|
-
// Remove verbose loadSpec from fetchOptions
|
|
247
249
|
const {serverDetails} = ret;
|
|
248
250
|
if (serverDetails?.className === 'GrailsCompressingFilter') {
|
|
249
251
|
delete serverDetails.className;
|
|
250
252
|
delete serverDetails.lineNumber;
|
|
251
253
|
}
|
|
252
254
|
|
|
255
|
+
// Remove verbose loadSpec from fetchOptions
|
|
253
256
|
const {fetchOptions} = ret;
|
|
254
257
|
if (fetchOptions?.loadSpec) {
|
|
255
258
|
fetchOptions.loadType = fetchOptions.loadSpec.typeDisplay;
|
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
.xh-version-bar {
|
|
9
|
+
align-items: center;
|
|
9
10
|
background-color: var(--xh-gray-dark);
|
|
10
11
|
color: white;
|
|
12
|
+
flex: none;
|
|
13
|
+
justify-content: center;
|
|
11
14
|
padding: var(--xh-pad-half-px);
|
|
12
15
|
|
|
13
16
|
&--development {
|
|
@@ -35,6 +38,14 @@
|
|
|
35
38
|
background-color: hsl(180, 100%, 25%);
|
|
36
39
|
}
|
|
37
40
|
|
|
41
|
+
&__spacer {
|
|
42
|
+
margin-left: var(--xh-pad-px);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__instance {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
|
|
38
49
|
svg {
|
|
39
50
|
cursor: pointer;
|
|
40
51
|
margin-left: var(--xh-pad-px);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Copyright © 2024 Extremely Heavy Industries Inc.
|
|
6
6
|
*/
|
|
7
|
-
import {box} from '@xh/hoist/cmp/layout';
|
|
7
|
+
import {box, span} from '@xh/hoist/cmp/layout';
|
|
8
8
|
import {hoistCmp, XH} from '@xh/hoist/core';
|
|
9
9
|
import {Icon} from '@xh/hoist/icon';
|
|
10
10
|
import './VersionBar.scss';
|
|
@@ -26,22 +26,35 @@ export const versionBar = hoistCmp.factory({
|
|
|
26
26
|
!build || build === 'UNKNOWN' ? version : `${version} (build ${build})`;
|
|
27
27
|
|
|
28
28
|
return box({
|
|
29
|
-
justifyContent: 'center',
|
|
30
|
-
alignItems: 'center',
|
|
31
|
-
flex: 'none',
|
|
32
29
|
className: `xh-version-bar xh-version-bar--${env.toLowerCase()}`,
|
|
33
30
|
items: [
|
|
34
|
-
[XH.appName, env, versionAndBuild
|
|
31
|
+
[XH.appName, env, versionAndBuild].join(' • '),
|
|
32
|
+
span({
|
|
33
|
+
className: 'xh-version-bar__spacer',
|
|
34
|
+
items: '|'
|
|
35
|
+
}),
|
|
36
|
+
span({
|
|
37
|
+
className: 'xh-version-bar__instance',
|
|
38
|
+
title: 'Currently Connected Server Instance',
|
|
39
|
+
items: [Icon.server(), instance]
|
|
40
|
+
}),
|
|
41
|
+
span({
|
|
42
|
+
className: 'xh-version-bar__spacer',
|
|
43
|
+
items: '|'
|
|
44
|
+
}),
|
|
35
45
|
Icon.info({
|
|
36
46
|
omit: !XH.appContainerModel.hasAboutDialog(),
|
|
47
|
+
title: 'Show About Dialog',
|
|
37
48
|
onClick: () => XH.showAboutDialog()
|
|
38
49
|
}),
|
|
39
50
|
Icon.search({
|
|
40
51
|
omit: !inspectorSvc.enabled,
|
|
52
|
+
title: 'Toggle Hoist Inspector',
|
|
41
53
|
onClick: () => inspectorSvc.toggleActive()
|
|
42
54
|
}),
|
|
43
55
|
Icon.wrench({
|
|
44
56
|
omit: isAdminApp || !XH.getUser().isHoistAdminReader,
|
|
57
|
+
title: 'Open Admin Console',
|
|
45
58
|
onClick: () => window.open('/admin')
|
|
46
59
|
})
|
|
47
60
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "68.0.0-SNAPSHOT.
|
|
3
|
+
"version": "68.0.0-SNAPSHOT.1725994463211",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|