@xh/hoist 73.0.0-SNAPSHOT.1747350649241 → 73.0.0-SNAPSHOT.1747359414796

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.
@@ -66,21 +66,20 @@ export class HoistAppModel extends HoistModel {
66
66
  */
67
67
  getAboutDialogItems(): AboutDialogItem[] {
68
68
  const XH = window['XH'],
69
- svc = XH.environmentService;
70
-
69
+ svc = XH.environmentService,
70
+ clientVersionBuild = `${svc.get('clientVersion')} (build ${svc.get('clientBuild')})`,
71
+ serverVersionBuild = `${svc.get('appVersion')} (build ${svc.get('appBuild')})`;
71
72
  return [
72
73
  {label: 'App', value: `${svc.get('appName')} (${svc.get('appCode')})`},
73
74
  {label: 'Current User', value: XH.identityService.username},
74
75
  {label: 'Environment', value: svc.get('appEnvironment')},
75
- {label: 'Instance', value: svc.serverInstance},
76
- {label: 'Server', value: `${svc.get('appVersion')} (build ${svc.get('appBuild')})`},
77
- {
78
- label: 'Client',
79
- value: `${svc.get('clientVersion')} (build ${svc.get('clientBuild')})`
80
- },
76
+ {label: 'Server', value: serverVersionBuild},
77
+ {label: 'Client', value: clientVersionBuild},
81
78
  {label: 'Hoist Core', value: svc.get('hoistCoreVersion')},
82
79
  {label: 'Hoist React', value: svc.get('hoistReactVersion')},
83
80
  {label: 'User Agent', value: window.navigator.userAgent},
81
+ {label: 'Tab/Load IDs', value: XH.tabId + ' / ' + XH.loadId},
82
+ {label: 'Server', value: svc.serverInstance},
84
83
  {label: 'WebSockets', value: webSocketIndicator()}
85
84
  ];
86
85
  }
@@ -42,7 +42,8 @@
42
42
  margin-left: var(--xh-pad-px);
43
43
  }
44
44
 
45
- &__instance {
45
+ &__tabid {
46
+ margin-left: var(--xh-pad-px);
46
47
  cursor: pointer;
47
48
  }
48
49
 
@@ -19,24 +19,20 @@ export const versionBar = hoistCmp.factory({
19
19
  envSvc = XH.environmentService,
20
20
  env = envSvc.get('appEnvironment'),
21
21
  version = envSvc.get('clientVersion'),
22
- build = envSvc.get('clientBuild'),
23
- instance = envSvc.serverInstance,
24
- isAdminApp = window.location.pathname?.startsWith('/admin/'),
25
- versionAndBuild =
26
- !build || build === 'UNKNOWN' ? version : `${version} (build ${build})`;
22
+ isAdminApp = window.location.pathname?.startsWith('/admin/');
27
23
 
28
24
  return box({
29
25
  className: `xh-version-bar xh-version-bar--${env.toLowerCase()}`,
30
26
  items: [
31
- [XH.appName, env, versionAndBuild].join(' • '),
27
+ [XH.appName, env, version].join(' • '),
32
28
  span({
33
29
  className: 'xh-version-bar__spacer',
34
30
  items: '|'
35
31
  }),
36
32
  span({
37
- className: 'xh-version-bar__instance',
38
- title: 'Currently Connected Server Instance',
39
- items: [Icon.server(), instance]
33
+ className: 'xh-version-bar__tabid',
34
+ title: 'Tab ID',
35
+ item: XH.tabId
40
36
  }),
41
37
  span({
42
38
  className: 'xh-version-bar__spacer',
@@ -20,7 +20,7 @@ export const versionBar = hoistCmp.factory({
20
20
  const svc = XH.environmentService,
21
21
  env = svc.get('appEnvironment'),
22
22
  version = svc.get('clientVersion'),
23
- instance = svc.serverInstance;
23
+ tabId = XH.tabId
24
24
 
25
25
  return box({
26
26
  justifyContent: 'center',
@@ -28,7 +28,7 @@ export const versionBar = hoistCmp.factory({
28
28
  flex: 'none',
29
29
  className: `xh-version-bar xh-version-bar--${env.toLowerCase()}`,
30
30
  items: [
31
- [env, version, instance].join(' • '),
31
+ [env, version, tabId].join(' • '),
32
32
  button({
33
33
  icon: Icon.info(),
34
34
  minimal: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1747350649241",
3
+ "version": "73.0.0-SNAPSHOT.1747359414796",
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",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@auth0/auth0-spa-js": "~2.1.3",
32
- "@azure/msal-browser": "~4.8.0",
32
+ "@azure/msal-browser": "~4.12.0",
33
33
  "@blueprintjs/core": "^5.10.5",
34
34
  "@blueprintjs/datetime": "^5.3.7",
35
35
  "@blueprintjs/datetime2": "^2.3.7",
@@ -141,11 +141,7 @@ export class ClientHealthService extends HoistService {
141
141
  message: 'Submitted health report',
142
142
  ...rest,
143
143
  ...opts,
144
- data: {
145
- loadId: XH.loadId,
146
- tabId: XH.tabId,
147
- ...this.getReport()
148
- }
144
+ data: this.getReport()
149
145
  });
150
146
  }
151
147
  }