@finos/legend-application 15.0.76 → 15.1.1
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/lib/application/LegendApplication.d.ts +5 -1
- package/lib/application/LegendApplication.d.ts.map +1 -1
- package/lib/application/LegendApplication.js +13 -1
- package/lib/application/LegendApplication.js.map +1 -1
- package/lib/application/LegendApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendApplicationConfig.js.map +1 -1
- package/lib/components/ApplicationComponentFrameworkProvider.d.ts.map +1 -1
- package/lib/components/ApplicationComponentFrameworkProvider.js +2 -1
- package/lib/components/ApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/components/ReleaseNotesManager.d.ts +28 -0
- package/lib/components/ReleaseNotesManager.d.ts.map +1 -0
- package/lib/components/ReleaseNotesManager.js +82 -0
- package/lib/components/ReleaseNotesManager.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/ApplicationStore.d.ts +2 -0
- package/lib/stores/ApplicationStore.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.js +4 -0
- package/lib/stores/ApplicationStore.js.map +1 -1
- package/lib/stores/ReleaseNotesService.d.ts +47 -0
- package/lib/stores/ReleaseNotesService.d.ts.map +1 -0
- package/lib/stores/ReleaseNotesService.js +68 -0
- package/lib/stores/ReleaseNotesService.js.map +1 -0
- package/package.json +2 -2
- package/src/application/LegendApplication.ts +21 -1
- package/src/application/LegendApplicationConfig.ts +0 -1
- package/src/components/ApplicationComponentFrameworkProvider.tsx +6 -0
- package/src/components/ReleaseNotesManager.tsx +247 -0
- package/src/index.ts +1 -0
- package/src/stores/ApplicationStore.ts +5 -0
- package/src/stores/ReleaseNotesService.ts +104 -0
- package/tsconfig.json +2 -0
|
@@ -18,7 +18,8 @@ import { type AbstractPlugin, type AbstractPreset, LogEvent, type ExtensionsConf
|
|
|
18
18
|
import type { LegendApplicationPluginManager } from './LegendApplicationPluginManager.js';
|
|
19
19
|
import { type DocumentationEntryData } from '../stores/DocumentationService.js';
|
|
20
20
|
import type { LegendApplicationPlugin } from '../stores/LegendApplicationPlugin.js';
|
|
21
|
-
import { ApplicationStore } from '../stores/ApplicationStore.js';
|
|
21
|
+
import { ApplicationStore, type GenericLegendApplicationStore } from '../stores/ApplicationStore.js';
|
|
22
|
+
import type { VersionReleaseNotes } from '../stores/ReleaseNotesService.js';
|
|
22
23
|
export declare abstract class LegendApplicationLogger {
|
|
23
24
|
abstract debug(event: LogEvent, ...data: unknown[]): void;
|
|
24
25
|
abstract info(event: LogEvent, ...data: unknown[]): void;
|
|
@@ -48,6 +49,7 @@ export declare abstract class LegendApplication {
|
|
|
48
49
|
protected _isConfigured: boolean;
|
|
49
50
|
protected downloadHelperServiceWorkerPath: string | undefined;
|
|
50
51
|
protected downloadHelper: boolean;
|
|
52
|
+
protected releaseNotes: VersionReleaseNotes[] | undefined;
|
|
51
53
|
protected constructor(pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>);
|
|
52
54
|
setup(options: {
|
|
53
55
|
/** Base URL of the application. e.g. /studio/, /query/ */
|
|
@@ -63,6 +65,8 @@ export declare abstract class LegendApplication {
|
|
|
63
65
|
withPresets(presets: AbstractPreset[]): LegendApplication;
|
|
64
66
|
withPlugins(plugins: AbstractPlugin[]): LegendApplication;
|
|
65
67
|
withDownloadHelper(path?: string | undefined): LegendApplication;
|
|
68
|
+
withReleaseNotes(releaseNotes: VersionReleaseNotes[]): LegendApplication;
|
|
69
|
+
setupApplicationStore(store: GenericLegendApplicationStore): void;
|
|
66
70
|
fetchApplicationConfiguration(baseUrl: string): Promise<[LegendApplicationConfig, ExtensionsConfigurationData]>;
|
|
67
71
|
loadDocumentationRegistryData(config: LegendApplicationConfig): Promise<void>;
|
|
68
72
|
protected abstract configureApplication(input: LegendApplicationConfigurationInput<LegendApplicationConfigurationData>): Promise<LegendApplicationConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendApplication.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EAEnB,QAAQ,EAKR,KAAK,2BAA2B,EAEjC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAEL,KAAK,sBAAsB,EAG5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,
|
|
1
|
+
{"version":3,"file":"LegendApplication.d.ts","sourceRoot":"","sources":["../../src/application/LegendApplication.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EAEnB,QAAQ,EAKR,KAAK,2BAA2B,EAEjC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAEL,KAAK,sBAAsB,EAG5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EACL,gBAAgB,EAChB,KAAK,6BAA6B,EACnC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,8BAAsB,uBAAuB;I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AAE,2BAA2B,CAAC,CAAC;IA8C5D,6BAA6B,CACjC,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,IAAI,CAAC;IAmEhB,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CACrC,KAAK,EAAE,mCAAmC,CAAC,kCAAkC,CAAC,GAC7E,OAAO,CAAC,uBAAuB,CAAC;IAEnC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAChC,gBAAgB,EAAE,gBAAgB,CAChC,uBAAuB,EACvB,8BAA8B,CAAC,uBAAuB,CAAC,CACxD,GACA,OAAO,CAAC,IAAI,CAAC;IAEV,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CA0D7B;AAED,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAG7E,eAAO,MAAM,yBAAyB,QAAO,OAY5C,CAAC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { assertErrorThrown, LogEvent, guaranteeNonEmptyString, assertNonNullable, NetworkClient, createRegExpPatternFromWildcardPattern, } from '@finos/legend-shared';
|
|
17
17
|
import { APPLICATION_EVENT } from '../__lib__/LegendApplicationEvent.js';
|
|
18
18
|
import { collectKeyedDocumentationEntriesFromConfig, } from '../stores/DocumentationService.js';
|
|
19
|
-
import { ApplicationStore } from '../stores/ApplicationStore.js';
|
|
19
|
+
import { ApplicationStore, } from '../stores/ApplicationStore.js';
|
|
20
20
|
import { registerDownloadHelperServiceWorker } from '../util/DownloadHelperServiceWorker.js';
|
|
21
21
|
export class LegendApplicationLogger {
|
|
22
22
|
}
|
|
@@ -49,6 +49,7 @@ export class LegendApplication {
|
|
|
49
49
|
_isConfigured = false;
|
|
50
50
|
downloadHelperServiceWorkerPath;
|
|
51
51
|
downloadHelper = false;
|
|
52
|
+
releaseNotes;
|
|
52
53
|
constructor(pluginManager) {
|
|
53
54
|
this.pluginManager = pluginManager;
|
|
54
55
|
this.logger = new LegendApplicationWebConsole();
|
|
@@ -80,6 +81,15 @@ export class LegendApplication {
|
|
|
80
81
|
this.downloadHelperServiceWorkerPath = path;
|
|
81
82
|
return this;
|
|
82
83
|
}
|
|
84
|
+
withReleaseNotes(releaseNotes) {
|
|
85
|
+
this.releaseNotes = releaseNotes;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
setupApplicationStore(store) {
|
|
89
|
+
if (this.releaseNotes) {
|
|
90
|
+
store.releaseNotesService.configure(this.releaseNotes);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
83
93
|
async fetchApplicationConfiguration(baseUrl) {
|
|
84
94
|
const client = new NetworkClient();
|
|
85
95
|
// app config
|
|
@@ -176,6 +186,8 @@ export class LegendApplication {
|
|
|
176
186
|
.getApplicationPlugins()
|
|
177
187
|
.flatMap((plugin) => plugin.getExtraApplicationSetups?.() ?? [])
|
|
178
188
|
.map((setup) => setup(applicationStore)));
|
|
189
|
+
// set up application
|
|
190
|
+
this.setupApplicationStore(applicationStore);
|
|
179
191
|
// load application
|
|
180
192
|
await this.loadApplication(applicationStore);
|
|
181
193
|
this.logger.info(LogEvent.create(APPLICATION_EVENT.APPLICATION_LOAD__SUCCESS), 'Legend application loaded');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplication.js","sourceRoot":"","sources":["../../src/application/LegendApplication.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EAGb,sCAAsC,GACvC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,EACL,0CAA0C,GAI3C,MAAM,mCAAmC,CAAC;AAE3C,OAAO,
|
|
1
|
+
{"version":3,"file":"LegendApplication.js","sourceRoot":"","sources":["../../src/application/LegendApplication.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,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B,GAAG,qCAAqC,CAC/D,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,IAAI,EAAE,CACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EAEpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EAOrC,uCAAuC,GACxC,MAAM,mCAAmC,CAAC;AAkC3C,MAAM,OAAgB,uBAAuB;IAClC,OAAO,CAAS;IAChB,WAAW,CAAS;IACpB,GAAG,CAAS;IACZ,qBAAqB,CAAS;IAEvC,gBAAgB;IACP,gBAAgB,CAAsB;IACtC,wBAAwB,GAA8B,EAAE,CAAC;IACzD,4BAA4B,GAAiC,EAAE,CAAC;IAChE,yBAAyB,GAA8B,EAAE,CAAC;IAC1D,oBAAoB,GAAmC,EAAE,CAAC;IAEnE,UAAU;IACD,UAAU,CAAS;IACnB,mBAAmB,CAAS;IAC5B,kBAAkB,CAAS;IAEpC,YACE,KAA8E;QAE9E,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,uBAAuB,CACpC,KAAK,CAAC,UAAU,CAAC,OAAO,EACxB,kEAAkE,CACnE,CAAC;QACF,IAAI,CAAC,GAAG,GAAG,uBAAuB,CAChC,KAAK,CAAC,UAAU,CAAC,GAAG,EACpB,8DAA8D,CAC/D,CAAC;QACF,IAAI,CAAC,qBAAqB;YACxB,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU;gBACxC,IAAI,CAAC,+BAA+B,EAAE,CAAC;QAEzC,gBAAgB;QAChB,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,GAAG,CAAC;QAC5D,IAAI,CAAC,wBAAwB,GAAG,uCAAuC,CACrE,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE,CAC5C,CAAC;QACF,IAAI,CAAC,4BAA4B;YAC/B,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,IAAI,EAAE,CAAC;QACjD,IAAI,CAAC,yBAAyB,GAAG,0CAA0C,CACzE,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,IAAI,EAAE,CAC9C,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,qCAAqC,CAC/D,KAAK,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,IAAI,EAAE,CACxD,CAAC;QACF,UAAU;QACV,IAAI,CAAC,UAAU,GAAG,oBAAoB,CACpC,KAAK,CAAC,WAAW,CAAC,OAAO,EACzB,+DAA+D,CAChE,CAAC;QACF,IAAI,CAAC,mBAAmB,GAAG,oBAAoB,CAC7C,KAAK,CAAC,WAAW,CAAC,SAAS,EAC3B,iEAAiE,CAClE,CAAC;QACF,IAAI,CAAC,kBAAkB,GAAG,oBAAoB,CAC5C,KAAK,CAAC,WAAW,CAAC,SAAS,EAC3B,iEAAiE,CAClE,CAAC;IACJ,CAAC;IAES,MAAM,CAAC,kBAAkB,CAAC,GAAW;QAC7C,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;YACzC,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC;QACtC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;CAGF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiBH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplicationComponentFrameworkProvider.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiBH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAgEnF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,UAC9B,aAAa,sDAEnB,IAIF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAE7D,CAAC;AAEF,eAAO,MAAM,qCAAqC,WACxC;IAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;CAAE;;CAuGtC,CAAC"}
|
|
@@ -26,6 +26,7 @@ import { useEffect } from 'react';
|
|
|
26
26
|
import { createKeybindingsHandler, } from '@finos/legend-shared';
|
|
27
27
|
import { VirtualAssistant } from './VirtualAssistant.js';
|
|
28
28
|
import { LegendApplicationTelemetryHelper } from '../__lib__/LegendApplicationTelemetry.js';
|
|
29
|
+
import { ReleaseLogManager, ReleaseNotesManager, } from './ReleaseNotesManager.js';
|
|
29
30
|
var APPLICATION_COMPONENT_ELEMENT_ID;
|
|
30
31
|
(function (APPLICATION_COMPONENT_ELEMENT_ID) {
|
|
31
32
|
APPLICATION_COMPONENT_ELEMENT_ID["TOP_LEVEL_CONTAINER"] = "application.top-level-container";
|
|
@@ -136,7 +137,7 @@ export const ApplicationComponentFrameworkProvider = observer((props) => {
|
|
|
136
137
|
document.removeEventListener('visibilitychange', onVisibilityChange);
|
|
137
138
|
};
|
|
138
139
|
}, [applicationStore]);
|
|
139
|
-
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), _jsx(NotificationManager, {}), _jsx(VirtualAssistant, {}), applicationStore.layoutService.showBackdrop && (
|
|
140
|
+
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), _jsx(NotificationManager, {}), _jsx(VirtualAssistant, {}), _jsx(ReleaseLogManager, {}), _jsx(ReleaseNotesManager, {}), applicationStore.layoutService.showBackdrop && (
|
|
140
141
|
// We use <Portal> here to insert backdrop into different parts of the app
|
|
141
142
|
// as backdrop relies heavily on z-index mechanism so its location in the DOM
|
|
142
143
|
// really matters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,wBAAwB,GAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"ApplicationComponentFrameworkProvider.js","sourceRoot":"","sources":["../../src/components/ApplicationComponentFrameworkProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,EAAE,M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AC;QAClE,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;QACvE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAEvB,OAAO,CACL,MAAC,mBAAmB,eAClB,KAAC,aAAa,KAAG,EACjB,KAAC,WAAW,KAAG,EACf,KAAC,mBAAmB,KAAG,EACvB,KAAC,gBAAgB,KAAG,EACpB,KAAC,iBAAiB,KAAG,EACrB,KAAC,mBAAmB,KAAG,EACtB,gBAAgB,CAAC,aAAa,CAAC,YAAY,IAAI;YAC9C,0EAA0E;YAC1E,6EAA6E;YAC7E,kBAAkB;YAClB,8EAA8E;YAC9E,iFAAiF;YACjF,qDAAqD;YACrD,KAAC,MAAM,IACL,SAAS,EACP,gBAAgB,CAAC,aAAa,CAAC,cAAc,CAC3C,gBAAgB,CAAC,aAAa,CAAC,0BAA0B;oBACvD,gCAAgC,CAAC,kBAAkB,CACtD,IAAI,IAAI,YAGX,KAAC,QAAQ,IACP,SAAS,EAAC,UAAU,EACpB,IAAI,EAAE,gBAAgB,CAAC,aAAa,CAAC,YAAY,GACjD,GACK,CACV,EACD,KAAC,WAAW,IAAC,OAAO,EAAE,YAAY,YAChC,eACE,SAAS,EAAC,gBAAgB,oBAIxB,gCAAgC,CAAC,mBAAmB;oBAEtD,0GAA0G;oBAC1G,aAAa,EAAE,kBAAkB,aAEjC,KAAC,iBAAiB,IAChB,SAAS,EAAE,gCAAgC,CAAC,kBAAkB,GAC9D,EACD,QAAQ,IACL,GACM,IACM,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { type VersionReleaseNotes } from '../stores/ReleaseNotesService.js';
|
|
17
|
+
export declare const ReleaseViewer: ((props: {
|
|
18
|
+
releaseNotes: VersionReleaseNotes;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const ReleaseNotesManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const ReleaseLogManager: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=ReleaseNotesManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReleaseNotesManager.d.ts","sourceRoot":"","sources":["../../src/components/ReleaseNotesManager.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,kCAAkC,CAAC;AA4C1C,eAAO,MAAM,aAAa,WAChB;IAAE,YAAY,EAAE,mBAAmB,CAAA;CAAE;;CAyC9C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CAgE9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;CA0D5B,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { useApplicationStore } from './ApplicationStoreProvider.js';
|
|
19
|
+
import { ArrowCircleUpIcon, BugIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, ShareIcon, clsx, } from '@finos/legend-art';
|
|
20
|
+
import { RELEASE_UPDATE_TYPE, } from '../stores/ReleaseNotesService.js';
|
|
21
|
+
import { isValidUrl, prettyCONSTName, returnUndefOnError, } from '@finos/legend-shared';
|
|
22
|
+
const ReleaseNoteViewer = observer((props) => {
|
|
23
|
+
const { note } = props;
|
|
24
|
+
const applicationStore = useApplicationStore();
|
|
25
|
+
const isBug = note.type === RELEASE_UPDATE_TYPE.BUG_FIX;
|
|
26
|
+
const visitLink = () => {
|
|
27
|
+
if (note.docLink && isValidUrl(note.docLink)) {
|
|
28
|
+
applicationStore.navigationService.navigator.visitAddress(note.docLink);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
return (_jsxs("div", { className: "release-viewer__update__item", children: [_jsx("div", { className: clsx('release-viewer__update__item-btn', {
|
|
32
|
+
'release-viewer__update__item-btn-bug': isBug,
|
|
33
|
+
}), children: isBug ? _jsx(BugIcon, {}) : _jsx(ArrowCircleUpIcon, {}) }), _jsx("div", { className: "release-viewer__update__description", children: note.description }), note.docLink && (_jsx("div", { className: "release-viewer__update__link", children: _jsx("button", { className: "release-viewer__update__link-btn", title: "Visit...", onClick: visitLink, children: _jsx(ShareIcon, {}) }) }))] }, note.description));
|
|
34
|
+
});
|
|
35
|
+
export const ReleaseViewer = observer((props) => {
|
|
36
|
+
const { releaseNotes } = props;
|
|
37
|
+
const enhancements = releaseNotes.notes?.filter((r) => r.type === RELEASE_UPDATE_TYPE.ENHANCEMENT) ?? [];
|
|
38
|
+
const bugFixes = releaseNotes.notes?.filter((r) => r.type === RELEASE_UPDATE_TYPE.BUG_FIX) ?? [];
|
|
39
|
+
return (_jsxs("div", { className: "release-viewer", children: [_jsxs("div", { className: "release-viewer__version", children: ["Version ", releaseNotes.label ?? releaseNotes.version] }), _jsxs("div", { className: "release-viewer__content", children: [Boolean(enhancements.length) && (_jsxs("div", { className: "release-viewer__update", children: [_jsx("div", { className: "release-viewer__update-type", children: "ENHANCEMENTS" }), _jsx("div", { className: "release-viewer__update__items", children: enhancements.map((e) => (_jsx(ReleaseNoteViewer, { note: e }, e.description))) })] })), Boolean(bugFixes.length) && (_jsxs("div", { className: "release-viewer__update", children: [_jsx("div", { className: "release-viewer__update-type", children: "BUG FIXES" }), _jsx("div", { className: "release-viewer__update__items", children: bugFixes.map((e) => (_jsx(ReleaseNoteViewer, { note: e }, e.description))) })] }))] })] }));
|
|
40
|
+
});
|
|
41
|
+
export const ReleaseNotesManager = observer(() => {
|
|
42
|
+
const applicationStore = useApplicationStore();
|
|
43
|
+
const releaseService = applicationStore.releaseNotesService;
|
|
44
|
+
const releaseNotes = releaseService.releaseNotes;
|
|
45
|
+
const version = applicationStore.config.appVersion;
|
|
46
|
+
const currentVersion = releaseNotes?.find((r) => r.version === version);
|
|
47
|
+
const storage = returnUndefOnError(() => releaseService.getViewedVersions());
|
|
48
|
+
const isOpen = releaseService.showCurrentReleaseModal;
|
|
49
|
+
if (!releaseService.isConfigured ||
|
|
50
|
+
!isOpen ||
|
|
51
|
+
!currentVersion ||
|
|
52
|
+
storage === version) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
const closeModal = () => {
|
|
56
|
+
releaseService.updateViewedVersion(currentVersion.version);
|
|
57
|
+
releaseService.setShowCurrentRelease(false);
|
|
58
|
+
};
|
|
59
|
+
const title = `Legend ${prettyCONSTName(applicationStore.config.appName)} has been upgraded !`;
|
|
60
|
+
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
61
|
+
root: 'release-notes__root-container',
|
|
62
|
+
container: 'release-notes__container',
|
|
63
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal release-notes__dialog", children: [_jsx(ModalHeader, { className: "release-notes__dialog__header__title", title: title }), _jsx(ModalBody, { className: "release-notes__dialog__body", children: _jsxs("div", { className: "release-notes__dialog__content", children: [_jsx("div", { className: "release-notes__dialog__content__title", children: "New features, enhancements and bug fixess that were released" }), _jsx(ReleaseViewer, { releaseNotes: currentVersion })] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: closeModal, type: 'primary', children: "Close" }) })] }) }));
|
|
64
|
+
});
|
|
65
|
+
export const ReleaseLogManager = observer(() => {
|
|
66
|
+
const applicationStore = useApplicationStore();
|
|
67
|
+
const releaseService = applicationStore.releaseNotesService;
|
|
68
|
+
if (!releaseService.isConfigured || !releaseService.showReleaseLog) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
const releaseNotes = releaseService.releaseNotes ?? [];
|
|
72
|
+
const isOpen = releaseService.showCurrentReleaseModal;
|
|
73
|
+
const closeModal = () => {
|
|
74
|
+
releaseService.setReleaseLog(false);
|
|
75
|
+
};
|
|
76
|
+
const title = `Legend ${prettyCONSTName(applicationStore.config.appName)} Release Log`;
|
|
77
|
+
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
78
|
+
root: 'release-notes__root-container',
|
|
79
|
+
container: 'release-notes__container',
|
|
80
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal release-notes__dialog", children: [_jsx(ModalHeader, { className: "release-notes__dialog__header__title", title: title }), _jsx(ModalBody, { className: "release-notes__dialog__body", children: _jsxs("div", { className: "release-notes__dialog__content", children: [_jsx("div", { className: "release-notes__dialog__content__title", children: "New features, enhancements and bug fixess that were released" }), releaseNotes.map((e) => (_jsx(ReleaseViewer, { releaseNotes: e }, e.version)))] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: closeModal, type: 'primary', children: "Close" }) })] }) }));
|
|
81
|
+
});
|
|
82
|
+
//# sourceMappingURL=ReleaseNotesManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReleaseNotesManager.js","sourceRoot":"","sources":["../../src/components/ReleaseNotesManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mBAAmB,GAGpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,UAAU,EACV,eAAe,EACf,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,iBAAiB,GAAG,QAAQ,CAAC,CAAC,KAA4B,EAAE,EAAE;IAClE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,KAAK,mBAAmB,CAAC,OAAO,CAAC;IACx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S,EAAC,0BAA0B,EACpC,OAAO,EAAE,UAAU,EACnB,IAAI,EAAE,SAAS,sBAGG,GACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-application v15.
|
|
1
|
+
/** @license @finos/legend-application v15.1.1
|
|
2
2
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
@import"xterm/css/xterm.css";:root{--color-primitive: var(--color-light-blue-200);--color-enum-value: var(--color-green-100);--color-enumeration: var(--color-medium-green-100);--color-measure: var(--color-medium-green-100);--color-unit: var(--color-medium-green-100);--color-class: var(--color-purple-100);--color-mapping: var(--color-teal-50);--color-function: var(--color-light-blue-20);--color-profile: var(--color-lime-75);--color-generated: var(--color-pink-200);--color-system: var(--color-light-blue-50);--color-dependency: var(--color-lime-50);--color-flat-data: var(--color-orange-100);--color-relational: var(--color-blue-500);--color-file-generation: var(--color-blue-50);--color-database: var(--color-orange-100);--color-schema: var(--color-medium-green-500);--color-table: var(--color-light-blue-200);--color-association: var(--color-light-grey-400);--color-service: var(--color-blue-40);--color-runtime: var(--color-red-180);--color-connection: var(--color-yellow-100);--color-data: var(--color-light-blue-50);--color-snowflake-app: var(--color-blue-40)}.color--class{color:var(--color-class)}.color--enumeration{color:var(--color-enumeration)}.color--unit{color:var(--color-unit)}.color--measure{color:var(--color-measure)}.color--association{color:var(--color-association)}.color--primitive{color:var(--color-primitive)}.color--enum-value{color:var(--color-enum-value)}.color--mapping{color:var(--color-mapping)}.color--function{color:var(--color-function)}.color--file-generation{color:var(--color-file-generation)}.color--profile{color:var(--color-profile)}.color--generated{color:var(--color-generated)}.color--system{color:var(--color-system)}.color--dependency{color:var(--color-dependency)}.color--flat-data{color:var(--color-flat-data)}.color--database{color:var(--color-database)}.color--table{color:var(--color-table)}.color--schema{color:var(--color-schema)}.color--service{color:var(--color-service)}.color--connection{color:var(--color-connection)}.color--runtime{color:var(--color-runtime)}.color--data{color:var(--color-data)}.color--snowflake-app{color:var(--color-snowflake-app)}.background--pureinstance,.background--class{background:var(--color-class)}.background--enumeration{background:var(--color-enumeration)}.background--unit{background:var(--color-unit)}.background--measure{background:var(--color-measure)}.background--association{background:var(--color-association)}.background--primitive{background:var(--color-primitive)}.background--enum-value{background:var(--color-enum-value)}.background--mapping{background:var(--color-mapping)}.background--profile{background:var(--color-profile)}.background--flat-data{background:var(--color-flat-data)}.background--database{background:var(--color-database)}.background--service{background:var(--color-service)}.background--connection{background:var(--color-connection)}.background--runtime{background:var(--color-runtime)}.background--relational{background:var(--color-relational)}.background--data{background:var(--color-data)}.app{height:100%;background:var(--color-dark-grey-50)}.app__container{height:100%;width:100%}.app__page{height:100%;background:var(--color-dark-grey-50)}.app__info__group{margin-top:1rem;background:var(--color-dark-grey-85);padding:1.5rem;border-radius:.2rem}.app__info__entry{display:flex;cursor:default;padding:.2rem 0;font-family:"Roboto Mono",monospace}.app__info__entry__title{margin-right:.5rem;color:var(--color-dark-grey-500)}.app__info__entry__value{color:var(--color-light-grey-200)}.app__info__entry__value a{text-decoration:none;font-weight:700;color:var(--color-blue-50)}.app__info__extensions{height:15rem;margin-top:1rem;width:70rem}.app__info__extensions__header{display:flex;align-items:center;height:2.2rem;background:var(--color-dark-grey-100);border-radius:.2rem .2rem 0 0;padding:0 1rem}.app__info__extensions__header__title{cursor:default;font-size:1.2rem;font-weight:700;color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace}.app__info__extensions__content{height:calc(100% - 2.2rem);overflow:auto;padding:1rem;background:var(--color-dark-grey-85);border-radius:0 0 .2rem .2rem}.app__info__extensions__tree__node__icon{flex-grow:0;flex-shrink:0;display:flex;width:4rem}.app__info__extensions__tree__node__icon__expand{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__expand svg{font-size:1.4rem}.app__info__extensions__tree__node__icon__type{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__type svg{font-size:1.4rem;color:var(--color-blue-100)}.app__info__extensions__tree__node__label{display:flex;flex:0 0 auto;height:2rem;line-height:2rem;min-width:0;white-space:normal;user-select:none;font-family:"Roboto Mono",monospace}.app__info__extensions__tree__node__label__title{font-size:1.2rem}.app__info__extensions__tree__node__label__version{display:flex;align-items:center;justify-content:center;height:2rem;margin-left:1rem}.app__info__extensions__tree__node__label__version__label{display:flex;align-items:center;justify-content:center;height:1.6rem;padding:.5rem;background:var(--color-dark-grey-280);font-size:1rem;border-radius:.2rem}.blocking-alert{padding:0}.blocking-alert__root-container{margin-top:0 !important}.blocking-alert__container{align-items:center !important}.blocking-alert .btn{display:flex;align-items:center;justify-content:center;height:2.8rem;border-radius:.1rem;border:none;color:var(--color-light-grey-50)}.blocking-alert .modal__body{line-height:2.2rem;cursor:default;text-align:justify}.blocking-alert__message{text-align:center}.blocking-alert__message__prompt{text-align:center;font-size:1.2rem;color:var(--color-blue-150);font-weight:500}.blocking-alert__summary-text{color:var(--color-light-grey-400);font-weight:500}.blocking-alert__prompt-text{color:var(--color-blue-50);font-size:1.3rem;margin-top:1rem;font-weight:500}.blocking-alert--standard{border:.1rem solid var(--color-blue-200)}.blocking-alert--caution{border:.1rem solid var(--color-pink-400)}.blocking-alert--caution .mode__header{background:var(--color-pink-400)}.blocking-alert--caution .blocking-alert__prompt-text{color:var(--color-pink-300)}.backdrop{background:var(--color-dark-shade-230) !important;z-index:100 !important}.backdrop__container{height:0;width:0;position:absolute}.backdrop__element{z-index:100;position:relative;box-shadow:var(--color-dark-shade-280) 0 .1rem .3rem .1rem}.notification__position{bottom:3rem;right:1rem}.notification__content{background:var(--color-dark-grey-200);color:var(--color-light-grey-150);border-radius:.3rem;align-items:flex-start}.notification__message__content{display:flex;align-items:flex-start;cursor:pointer}.notification__message__content:active{background:var(--color-dark-grey-100)}.notification__message__content__icon{padding-top:.2rem;padding-right:1rem}.notification__message__content__icon svg{font-size:1.6rem}.notification__message__content__icon--info{color:var(--color-light-grey-200)}.notification__message__content__icon--error{color:var(--color-red-100)}.notification__message__content__icon--warning{color:var(--color-yellow-200)}.notification__message__content__icon--success{color:var(--color-green-100)}.notification__message__content__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;max-height:20rem;max-width:60rem}.notification__message__content__text--expanded{overflow:auto;white-space:pre-line;width:60rem}.notification__actions{padding:.8rem 0 .8rem 1rem}.notification__action{display:flex;align-items:center;justify-content:center;width:2rem;color:var(--color-dark-grey-400)}.notification__action:hover{color:var(--color-light-grey-400)}.virtual-assistant{position:absolute;z-index:10100;bottom:9rem;right:1rem}.virtual-assistant__context-menu{z-index:10100}.virtual-assistant__station{display:flex;align-items:center;justify-content:space-evenly;height:4rem;width:13rem;background:var(--color-light-blue-50);opacity:.9;border:.1rem solid var(--color-blue-50);transition:width .1s ease-in-out;border-radius:1rem}.virtual-assistant__station__hide-button{color:var(--color-yellow-200);align-self:flex-start}.virtual-assistant__station__hide-button svg{font-size:1rem}.virtual-assistant__station__character{display:flex;align-items:center;justify-content:center;flex-direction:column;height:2.8rem}.virtual-assistant__station__character__hat{color:var(--color-orange-150)}.virtual-assistant__station__character__glasses{color:var(--color-dark-grey-300)}.virtual-assistant__station__character__beard{color:var(--color-yellow-200)}.virtual-assistant__station__label{font-weight:500;cursor:pointer}.virtual-assistant__station__trigger{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:50%;background:var(--color-dark-grey-85);margin:.3rem 0 .3rem .2rem}@keyframes opacity-pulse{from{opacity:.1}to{opacity:.3}}@keyframes opacity-pulse-2{from{opacity:.9}to{opacity:.55}}.virtual-assistant__station--hidden{display:none}.virtual-assistant__station__drag-handle{height:3.4rem;width:2rem;cursor:grab}.virtual-assistant__station__drag-handle__content{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.virtual-assistant__station__drag-handle--dragging{cursor:grabbing}.virtual-assistant__station__drag-handle svg{font-size:2rem;color:var(--color-dark-shade-300)}.virtual-assistant__station--active{border-color:var(--color-yellow-100);animation:border-flash .5s;animation-iteration-count:3}.virtual-assistant__station--active .virtual-assistant__station__trigger{background:var(--color-yellow-100);animation:background-flash .5s;animation-iteration-count:3}@keyframes border-flash{from{border-color:var(--color-dark-grey-50)}to{border-color:var(--color-yellow-100)}}@keyframes background-flash{from{background:var(--color-dark-grey-50)}to{background:var(--color-yellow-100)}}.virtual-assistant__panel{height:40rem;width:30rem;border-radius:.2rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-200);box-shadow:0 1.1rem 1.5rem -0.7rem,var(--color-light-shade-280),0 2.4rem 3.8rem .3rem var(--color-light-shade-280),0 .9rem 4.6rem .8rem var(--color-light-shade-280);pointer-events:all}.virtual-assistant__panel--maximized{height:max(95vh,40rem);width:max(40vw,30rem)}.virtual-assistant__panel__container{z-index:10000;pointer-events:none}.virtual-assistant__panel__container__root{margin:-1rem}.virtual-assistant__panel__header{display:flex;align-items:center;justify-content:space-between;background:var(--color-dark-grey-250);height:2.8rem}.virtual-assistant__panel__header__actions{display:flex;align-items:center}.virtual-assistant__panel__header__action{display:flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem}.virtual-assistant__panel__header__action svg{color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__action:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tabs{display:flex;height:2.8rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab{padding:0 1rem;border-right:.1rem solid var(--color-dark-grey-100)}.virtual-assistant__panel__header__tab:hover{background:var(--color-dark-grey-280)}.virtual-assistant__panel__header__tab__content{display:flex;align-items:center;justify-content:center;cursor:pointer;height:2.8rem;width:6rem;border-bottom:.3rem solid var(--color-dark-grey-300);padding-top:.1rem;position:relative}.virtual-assistant__panel__header__tab__content svg{font-size:1.5rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab__indicator{position:absolute;top:.5rem;right:1rem;height:1rem;width:1rem;border-radius:50%;background:var(--color-yellow-200)}.virtual-assistant__panel__header__tab:hover .virtual-assistant__panel__header__tab__content svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content{border-bottom:.3rem solid var(--color-yellow-300)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content svg,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content svg{color:var(--color-light-grey-200)}.virtual-assistant__panel__content{height:calc(100% - 2.8rem)}.virtual-assistant__panel__icon__close{font-size:2.4rem}.virtual-assistant__panel__placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__panel__placeholder__icon{font-size:5rem;color:var(--color-yellow-200)}.virtual-assistant__panel__placeholder__message{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:1rem}.virtual-assistant__panel__placeholder__instruction{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-dark-grey-300);margin-top:.5rem}.virtual-assistant__search{height:100%}.virtual-assistant__search__header{display:flex;align-items:center;justify-content:center;padding:.3rem;border-bottom:.1rem solid var(--color-dark-grey-250);height:3.4rem;position:relative}.virtual-assistant__search__input{font-size:1.3rem;height:2.8rem;padding-right:2.8rem;padding-left:.5rem;width:100%;background:var(--color-dark-grey-85);border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200)}.virtual-assistant__search__input--searching{padding-right:9rem}.virtual-assistant__search__input__search__count{display:flex;align-items:center;justify-content:center;position:absolute;right:5.4rem;border-radius:.8rem;height:1.6rem;padding:0 .5rem;font-size:1.1rem;font-weight:700;background:var(--color-yellow-100);color:var(--color-dark-grey-280);user-select:none;cursor:default}.virtual-assistant__search__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__search__icon svg{color:var(--color-light-shade-100)}.virtual-assistant__search__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__clear-btn svg{color:var(--color-dark-grey-400)}.virtual-assistant__search__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__search__input__config__trigger{display:flex;align-items:center;justify-content:center;position:absolute;right:3.1rem;height:2.8rem;width:1.8rem;cursor:pointer}.virtual-assistant__search__input__config__trigger svg{color:var(--color-dark-grey-400)}.virtual-assistant__search__input__config__trigger--toggled svg,.virtual-assistant__search__input__config__trigger:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__search__input__config__trigger--active svg,.virtual-assistant__search__input__config__trigger--active:hover svg{color:var(--color-blue-150)}.virtual-assistant__search__input__config__panel{width:100%;height:12rem;position:absolute;z-index:1;box-shadow:var(--color-dark-shade-280) .2rem .1rem .3rem .1rem;overflow:hidden;max-height:0;transition:max-height ease-in-out 100ms}.virtual-assistant__search__input__config__panel--toggled{max-height:12rem}.virtual-assistant__search__input__advanced-config__panel{width:100%;background:var(--color-dark-grey-250)}.virtual-assistant__search__input__advanced-config__panel__header__label{display:flex;align-items:center;font-weight:500;color:var(--color-light-grey-50);background:var(--color-dark-grey-300);padding:0 1rem;line-height:2rem;font-size:1.2rem;cursor:default;user-select:none}.virtual-assistant__search__input__advanced-config__panel__header__label__hint{display:inline-flex;align-self:center;color:var(--color-dark-grey-500);cursor:pointer;margin-left:.5rem}.virtual-assistant__search__input__advanced-config__panel__header__label__hint svg{font-size:1.2rem}.virtual-assistant__search__content{height:calc(100% - 3.4rem);position:relative}.virtual-assistant__search__results{height:100%;overflow-y:auto;padding:1rem}.virtual-assistant__search__results__placeholder{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400)}.virtual-assistant__doc-entry+.virtual-assistant__doc-entry{margin-top:.5rem}.virtual-assistant__doc-entry__header{display:flex}.virtual-assistant__doc-entry__expand-icon{display:flex;align-items:flex-start;width:2rem;min-width:2rem;padding-top:.3rem}.virtual-assistant__doc-entry__expand-icon svg{color:var(--color-light-grey-50)}.virtual-assistant__doc-entry__expand-icon--disabled svg{color:var(--color-dark-grey-300)}.virtual-assistant__doc-entry__title{line-height:1.5;font-weight:500;color:var(--color-light-grey-50);cursor:pointer;user-select:none}.virtual-assistant__doc-entry__title--link{color:var(--color-blue-40);text-decoration:none}.virtual-assistant__doc-entry__content{margin-top:.5rem;padding-left:2rem}.virtual-assistant__doc-entry__content__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem}.virtual-assistant__doc-entry__content__markdown-text{padding:1rem;border-radius:.2rem}.virtual-assistant__character{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__character__container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.virtual-assistant__character__greeting{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__question{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-light-grey-0);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__figure{display:flex;align-items:center;justify-content:center;position:relative;width:10rem;height:20rem}.virtual-assistant__character__hat{position:absolute;font-size:8rem;color:var(--color-orange-150);top:0}.virtual-assistant__character__glasses{position:absolute;font-size:8rem;color:var(--color-dark-grey-300);top:6rem}.virtual-assistant__character__beard{position:absolute;color:var(--color-yellow-200);font-size:8rem;top:11rem}.virtual-assistant__contextual-support{height:100%}.virtual-assistant__contextual-support__content{height:100%;overflow-y:auto;padding:1.5rem}.virtual-assistant__contextual-support__title{line-height:1.5;font-weight:700;color:var(--color-light-grey-50);cursor:pointer;user-select:none;font-size:1.5rem;margin-bottom:1rem}.virtual-assistant__contextual-support__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem;margin-bottom:1rem}.virtual-assistant__contextual-support__markdown-text{padding:1rem;border-radius:.2rem;margin-bottom:1rem}.virtual-assistant__contextual-support__relevant-entries__title{color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace;font-size:1.3rem;margin-bottom:1rem}/*# sourceMappingURL=index.css.map */
|
|
17
|
+
@import"xterm/css/xterm.css";:root{--color-primitive: var(--color-light-blue-200);--color-enum-value: var(--color-green-100);--color-enumeration: var(--color-medium-green-100);--color-measure: var(--color-medium-green-100);--color-unit: var(--color-medium-green-100);--color-class: var(--color-purple-100);--color-mapping: var(--color-teal-50);--color-function: var(--color-light-blue-20);--color-profile: var(--color-lime-75);--color-generated: var(--color-pink-200);--color-system: var(--color-light-blue-50);--color-dependency: var(--color-lime-50);--color-flat-data: var(--color-orange-100);--color-relational: var(--color-blue-500);--color-file-generation: var(--color-blue-50);--color-database: var(--color-orange-100);--color-schema: var(--color-medium-green-500);--color-table: var(--color-light-blue-200);--color-association: var(--color-light-grey-400);--color-service: var(--color-blue-40);--color-runtime: var(--color-red-180);--color-connection: var(--color-yellow-100);--color-data: var(--color-light-blue-50);--color-snowflake-app: var(--color-blue-40)}.color--class{color:var(--color-class)}.color--enumeration{color:var(--color-enumeration)}.color--unit{color:var(--color-unit)}.color--measure{color:var(--color-measure)}.color--association{color:var(--color-association)}.color--primitive{color:var(--color-primitive)}.color--enum-value{color:var(--color-enum-value)}.color--mapping{color:var(--color-mapping)}.color--function{color:var(--color-function)}.color--file-generation{color:var(--color-file-generation)}.color--profile{color:var(--color-profile)}.color--generated{color:var(--color-generated)}.color--system{color:var(--color-system)}.color--dependency{color:var(--color-dependency)}.color--flat-data{color:var(--color-flat-data)}.color--database{color:var(--color-database)}.color--table{color:var(--color-table)}.color--schema{color:var(--color-schema)}.color--service{color:var(--color-service)}.color--connection{color:var(--color-connection)}.color--runtime{color:var(--color-runtime)}.color--data{color:var(--color-data)}.color--snowflake-app{color:var(--color-snowflake-app)}.background--pureinstance,.background--class{background:var(--color-class)}.background--enumeration{background:var(--color-enumeration)}.background--unit{background:var(--color-unit)}.background--measure{background:var(--color-measure)}.background--association{background:var(--color-association)}.background--primitive{background:var(--color-primitive)}.background--enum-value{background:var(--color-enum-value)}.background--mapping{background:var(--color-mapping)}.background--profile{background:var(--color-profile)}.background--flat-data{background:var(--color-flat-data)}.background--database{background:var(--color-database)}.background--service{background:var(--color-service)}.background--connection{background:var(--color-connection)}.background--runtime{background:var(--color-runtime)}.background--relational{background:var(--color-relational)}.background--data{background:var(--color-data)}.app{height:100%;background:var(--color-dark-grey-50)}.app__container{height:100%;width:100%}.app__page{height:100%;background:var(--color-dark-grey-50)}.app__info__group{margin-top:1rem;background:var(--color-dark-grey-85);padding:1.5rem;border-radius:.2rem}.app__info__entry{display:flex;cursor:default;padding:.2rem 0;font-family:"Roboto Mono",monospace}.app__info__entry__title{margin-right:.5rem;color:var(--color-dark-grey-500)}.app__info__entry__value{color:var(--color-light-grey-200)}.app__info__entry__value a{text-decoration:none;font-weight:700;color:var(--color-blue-50)}.app__info__extensions{height:15rem;margin-top:1rem;width:70rem}.app__info__extensions__header{display:flex;align-items:center;height:2.2rem;background:var(--color-dark-grey-100);border-radius:.2rem .2rem 0 0;padding:0 1rem}.app__info__extensions__header__title{cursor:default;font-size:1.2rem;font-weight:700;color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace}.app__info__extensions__content{height:calc(100% - 2.2rem);overflow:auto;padding:1rem;background:var(--color-dark-grey-85);border-radius:0 0 .2rem .2rem}.app__info__extensions__tree__node__icon{flex-grow:0;flex-shrink:0;display:flex;width:4rem}.app__info__extensions__tree__node__icon__expand{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__expand svg{font-size:1.4rem}.app__info__extensions__tree__node__icon__type{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__type svg{font-size:1.4rem;color:var(--color-blue-100)}.app__info__extensions__tree__node__label{display:flex;flex:0 0 auto;height:2rem;line-height:2rem;min-width:0;white-space:normal;user-select:none;font-family:"Roboto Mono",monospace}.app__info__extensions__tree__node__label__title{font-size:1.2rem}.app__info__extensions__tree__node__label__version{display:flex;align-items:center;justify-content:center;height:2rem;margin-left:1rem}.app__info__extensions__tree__node__label__version__label{display:flex;align-items:center;justify-content:center;height:1.6rem;padding:.5rem;background:var(--color-dark-grey-280);font-size:1rem;border-radius:.2rem}.blocking-alert{padding:0}.blocking-alert__root-container{margin-top:0 !important}.blocking-alert__container{align-items:center !important}.blocking-alert .btn{display:flex;align-items:center;justify-content:center;height:2.8rem;border-radius:.1rem;border:none;color:var(--color-light-grey-50)}.blocking-alert .modal__body{line-height:2.2rem;cursor:default;text-align:justify}.blocking-alert__message{text-align:center}.blocking-alert__message__prompt{text-align:center;font-size:1.2rem;color:var(--color-blue-150);font-weight:500}.blocking-alert__summary-text{color:var(--color-light-grey-400);font-weight:500}.blocking-alert__prompt-text{color:var(--color-blue-50);font-size:1.3rem;margin-top:1rem;font-weight:500}.blocking-alert--standard{border:.1rem solid var(--color-blue-200)}.blocking-alert--caution{border:.1rem solid var(--color-pink-400)}.blocking-alert--caution .mode__header{background:var(--color-pink-400)}.blocking-alert--caution .blocking-alert__prompt-text{color:var(--color-pink-300)}.backdrop{background:var(--color-dark-shade-230) !important;z-index:100 !important}.backdrop__container{height:0;width:0;position:absolute}.backdrop__element{z-index:100;position:relative;box-shadow:var(--color-dark-shade-280) 0 .1rem .3rem .1rem}.notification__position{bottom:3rem;right:1rem}.notification__content{background:var(--color-dark-grey-200);color:var(--color-light-grey-150);border-radius:.3rem;align-items:flex-start}.notification__message__content{display:flex;align-items:flex-start;cursor:pointer}.notification__message__content:active{background:var(--color-dark-grey-100)}.notification__message__content__icon{padding-top:.2rem;padding-right:1rem}.notification__message__content__icon svg{font-size:1.6rem}.notification__message__content__icon--info{color:var(--color-light-grey-200)}.notification__message__content__icon--error{color:var(--color-red-100)}.notification__message__content__icon--warning{color:var(--color-yellow-200)}.notification__message__content__icon--success{color:var(--color-green-100)}.notification__message__content__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;max-height:20rem;max-width:60rem}.notification__message__content__text--expanded{overflow:auto;white-space:pre-line;width:60rem}.notification__actions{padding:.8rem 0 .8rem 1rem}.notification__action{display:flex;align-items:center;justify-content:center;width:2rem;color:var(--color-dark-grey-400)}.notification__action:hover{color:var(--color-light-grey-400)}.virtual-assistant{position:absolute;z-index:10100;bottom:9rem;right:1rem}.virtual-assistant__context-menu{z-index:10100}.virtual-assistant__station{display:flex;align-items:center;justify-content:space-evenly;height:4rem;width:13rem;background:var(--color-light-blue-50);opacity:.9;border:.1rem solid var(--color-blue-50);transition:width .1s ease-in-out;border-radius:1rem}.virtual-assistant__station__hide-button{color:var(--color-yellow-200);align-self:flex-start}.virtual-assistant__station__hide-button svg{font-size:1rem}.virtual-assistant__station__character{display:flex;align-items:center;justify-content:center;flex-direction:column;height:2.8rem}.virtual-assistant__station__character__hat{color:var(--color-orange-150)}.virtual-assistant__station__character__glasses{color:var(--color-dark-grey-300)}.virtual-assistant__station__character__beard{color:var(--color-yellow-200)}.virtual-assistant__station__label{font-weight:500;cursor:pointer}.virtual-assistant__station__trigger{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:50%;background:var(--color-dark-grey-85);margin:.3rem 0 .3rem .2rem}@keyframes opacity-pulse{from{opacity:.1}to{opacity:.3}}@keyframes opacity-pulse-2{from{opacity:.9}to{opacity:.55}}.virtual-assistant__station--hidden{display:none}.virtual-assistant__station__drag-handle{height:3.4rem;width:2rem;cursor:grab}.virtual-assistant__station__drag-handle__content{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.virtual-assistant__station__drag-handle--dragging{cursor:grabbing}.virtual-assistant__station__drag-handle svg{font-size:2rem;color:var(--color-dark-shade-300)}.virtual-assistant__station--active{border-color:var(--color-yellow-100);animation:border-flash .5s;animation-iteration-count:3}.virtual-assistant__station--active .virtual-assistant__station__trigger{background:var(--color-yellow-100);animation:background-flash .5s;animation-iteration-count:3}@keyframes border-flash{from{border-color:var(--color-dark-grey-50)}to{border-color:var(--color-yellow-100)}}@keyframes background-flash{from{background:var(--color-dark-grey-50)}to{background:var(--color-yellow-100)}}.virtual-assistant__panel{height:40rem;width:30rem;border-radius:.2rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-200);box-shadow:0 1.1rem 1.5rem -0.7rem,var(--color-light-shade-280),0 2.4rem 3.8rem .3rem var(--color-light-shade-280),0 .9rem 4.6rem .8rem var(--color-light-shade-280);pointer-events:all}.virtual-assistant__panel--maximized{height:max(95vh,40rem);width:max(40vw,30rem)}.virtual-assistant__panel__container{z-index:10000;pointer-events:none}.virtual-assistant__panel__container__root{margin:-1rem}.virtual-assistant__panel__header{display:flex;align-items:center;justify-content:space-between;background:var(--color-dark-grey-250);height:2.8rem}.virtual-assistant__panel__header__actions{display:flex;align-items:center}.virtual-assistant__panel__header__action{display:flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem}.virtual-assistant__panel__header__action svg{color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__action:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tabs{display:flex;height:2.8rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab{padding:0 1rem;border-right:.1rem solid var(--color-dark-grey-100)}.virtual-assistant__panel__header__tab:hover{background:var(--color-dark-grey-280)}.virtual-assistant__panel__header__tab__content{display:flex;align-items:center;justify-content:center;cursor:pointer;height:2.8rem;width:6rem;border-bottom:.3rem solid var(--color-dark-grey-300);padding-top:.1rem;position:relative}.virtual-assistant__panel__header__tab__content svg{font-size:1.5rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab__indicator{position:absolute;top:.5rem;right:1rem;height:1rem;width:1rem;border-radius:50%;background:var(--color-yellow-200)}.virtual-assistant__panel__header__tab:hover .virtual-assistant__panel__header__tab__content svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content{border-bottom:.3rem solid var(--color-yellow-300)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content svg,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content svg{color:var(--color-light-grey-200)}.virtual-assistant__panel__content{height:calc(100% - 2.8rem)}.virtual-assistant__panel__icon__close{font-size:2.4rem}.virtual-assistant__panel__placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__panel__placeholder__icon{font-size:5rem;color:var(--color-yellow-200)}.virtual-assistant__panel__placeholder__message{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:1rem}.virtual-assistant__panel__placeholder__instruction{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-dark-grey-300);margin-top:.5rem}.virtual-assistant__search{height:100%}.virtual-assistant__search__header{display:flex;align-items:center;justify-content:center;padding:.3rem;border-bottom:.1rem solid var(--color-dark-grey-250);height:3.4rem;position:relative}.virtual-assistant__search__input{font-size:1.3rem;height:2.8rem;padding-right:2.8rem;padding-left:.5rem;width:100%;background:var(--color-dark-grey-85);border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200)}.virtual-assistant__search__input--searching{padding-right:9rem}.virtual-assistant__search__input__search__count{display:flex;align-items:center;justify-content:center;position:absolute;right:5.4rem;border-radius:.8rem;height:1.6rem;padding:0 .5rem;font-size:1.1rem;font-weight:700;background:var(--color-yellow-100);color:var(--color-dark-grey-280);user-select:none;cursor:default}.virtual-assistant__search__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__search__icon svg{color:var(--color-light-shade-100)}.virtual-assistant__search__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__clear-btn svg{color:var(--color-dark-grey-400)}.virtual-assistant__search__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__search__input__config__trigger{display:flex;align-items:center;justify-content:center;position:absolute;right:3.1rem;height:2.8rem;width:1.8rem;cursor:pointer}.virtual-assistant__search__input__config__trigger svg{color:var(--color-dark-grey-400)}.virtual-assistant__search__input__config__trigger--toggled svg,.virtual-assistant__search__input__config__trigger:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__search__input__config__trigger--active svg,.virtual-assistant__search__input__config__trigger--active:hover svg{color:var(--color-blue-150)}.virtual-assistant__search__input__config__panel{width:100%;height:12rem;position:absolute;z-index:1;box-shadow:var(--color-dark-shade-280) .2rem .1rem .3rem .1rem;overflow:hidden;max-height:0;transition:max-height ease-in-out 100ms}.virtual-assistant__search__input__config__panel--toggled{max-height:12rem}.virtual-assistant__search__input__advanced-config__panel{width:100%;background:var(--color-dark-grey-250)}.virtual-assistant__search__input__advanced-config__panel__header__label{display:flex;align-items:center;font-weight:500;color:var(--color-light-grey-50);background:var(--color-dark-grey-300);padding:0 1rem;line-height:2rem;font-size:1.2rem;cursor:default;user-select:none}.virtual-assistant__search__input__advanced-config__panel__header__label__hint{display:inline-flex;align-self:center;color:var(--color-dark-grey-500);cursor:pointer;margin-left:.5rem}.virtual-assistant__search__input__advanced-config__panel__header__label__hint svg{font-size:1.2rem}.virtual-assistant__search__content{height:calc(100% - 3.4rem);position:relative}.virtual-assistant__search__results{height:100%;overflow-y:auto;padding:1rem}.virtual-assistant__search__results__placeholder{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400)}.virtual-assistant__doc-entry+.virtual-assistant__doc-entry{margin-top:.5rem}.virtual-assistant__doc-entry__header{display:flex}.virtual-assistant__doc-entry__expand-icon{display:flex;align-items:flex-start;width:2rem;min-width:2rem;padding-top:.3rem}.virtual-assistant__doc-entry__expand-icon svg{color:var(--color-light-grey-50)}.virtual-assistant__doc-entry__expand-icon--disabled svg{color:var(--color-dark-grey-300)}.virtual-assistant__doc-entry__title{line-height:1.5;font-weight:500;color:var(--color-light-grey-50);cursor:pointer;user-select:none}.virtual-assistant__doc-entry__title--link{color:var(--color-blue-40);text-decoration:none}.virtual-assistant__doc-entry__content{margin-top:.5rem;padding-left:2rem}.virtual-assistant__doc-entry__content__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem}.virtual-assistant__doc-entry__content__markdown-text{padding:1rem;border-radius:.2rem}.virtual-assistant__character{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__character__container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.virtual-assistant__character__greeting{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__question{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-light-grey-0);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__figure{display:flex;align-items:center;justify-content:center;position:relative;width:10rem;height:20rem}.virtual-assistant__character__hat{position:absolute;font-size:8rem;color:var(--color-orange-150);top:0}.virtual-assistant__character__glasses{position:absolute;font-size:8rem;color:var(--color-dark-grey-300);top:6rem}.virtual-assistant__character__beard{position:absolute;color:var(--color-yellow-200);font-size:8rem;top:11rem}.virtual-assistant__contextual-support{height:100%}.virtual-assistant__contextual-support__content{height:100%;overflow-y:auto;padding:1.5rem}.virtual-assistant__contextual-support__title{line-height:1.5;font-weight:700;color:var(--color-light-grey-50);cursor:pointer;user-select:none;font-size:1.5rem;margin-bottom:1rem}.virtual-assistant__contextual-support__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem;margin-bottom:1rem}.virtual-assistant__contextual-support__markdown-text{padding:1rem;border-radius:.2rem;margin-bottom:1rem}.virtual-assistant__contextual-support__relevant-entries__title{color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace;font-size:1.3rem;margin-bottom:1rem}.release-notes__root-container{margin-top:0 !important}.release-notes__container{align-items:center !important}.release-notes__dialog{height:50vh;width:40vw}.release-notes__dialog__body{overflow-y:overlay;padding:0 .5rem !important}.release-notes__dialog__header{display:flex;align-items:center;justify-content:space-between;height:3.4rem;padding:2rem 3rem}.release-notes__dialog__header__close-btn{color:var(--color-light-grey-300)}.release-notes__dialog__content{padding:1rem 2rem}.release-notes__dialog__content__title{font-weight:700;line-height:2rem;margin-bottom:.5rem}.release-viewer{margin-bottom:1rem;border:.1rem solid var(--color-dark-grey-400)}.release-viewer__version{font-weight:bold;padding-left:.5rem;font-size:1.5rem;line-height:2rem}.release-viewer__content{padding:.5rem}.release-viewer__update{padding-left:1rem}.release-viewer__update__description{padding-left:.5rem}.release-viewer__update-type{font-size:1.6rem;margin:.5rem 0;font-weight:normal}.release-viewer__update__items{padding-top:.5rem}.release-viewer__update__item{display:flex;margin:0 0 1rem}.release-viewer__update__item-btn{color:var(--color-blue-150)}.release-viewer__update__item-btn-bug{color:var(--color-red-200) !important}.release-viewer__update__link{padding-left:.5rem}.release-viewer__update__link-btn{color:var(--color-light-blue-50)}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_extensions.scss","../style/components/_app.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/components/_blocking-alert.scss","../style/components/_backdrop.scss","../style/components/_notification.scss","../style/components/_virtual-assistant.scss"],"names":[],"mappings":"AAgBQ,mCCCN,+CACA,2CAEA,mDACA,+CACA,4CACA,uCACA,sCACA,6CACA,sCACA,yCACA,2CACA,yCACA,2CACA,0CACA,8CACA,0CACA,8CACA,2CACA,iDACA,sCACA,sCACA,4CACA,yCACA,4CAIA,cACE,yBAGF,oBACE,+BAGF,aACE,wBAGF,gBACE,2BAGF,oBACE,+BAGF,kBACE,6BAGF,mBACE,8BAGF,gBACE,2BAGF,iBACE,4BAGF,wBACE,mCAGF,gBACE,2BAGF,kBACE,6BAGF,eACE,0BAGF,mBACE,8BAGF,kBACE,6BAGF,iBACE,4BAGF,cACE,yBAGF,eACE,0BAGF,gBACE,2BAGF,mBACE,8BAGF,gBACE,2BAGF,aACE,wBAGF,sBACE,iCAKF,6CAEE,8BAGF,yBACE,oCAGF,kBACE,6BAGF,qBACE,gCAGF,yBACE,oCAGF,uBACE,kCAGF,wBACE,mCAGF,qBACE,gCAGF,qBACE,gCAGF,uBACE,kCAGF,sBACE,iCAGF,qBACE,gCAGF,wBACE,mCAGF,qBACE,gCAGF,wBACE,mCAGF,kBACE,6BCvLJ,KACE,YACA,qCAEA,gBACE,YACA,WAGF,WACE,YACA,qCAIA,kBACE,gBACA,qCACA,eACA,oBAGF,kBACE,aACA,eACA,gBACA,oCAGF,yBACE,mBACA,iCAGF,yBACE,kCAGF,2BACE,qBACA,gBACA,2BAGF,uBACE,aACA,gBACA,YAEA,+BCrCJ,aACA,mBDuCM,cACA,sCACA,8BACA,eAEA,sCACE,eACA,iBACA,gBACA,iCACA,oCAIJ,gCACE,2BACA,cACA,aACA,qCACA,8BAIA,yCCxCN,YACA,cD0CQ,aACA,WAGF,iDC/CN,YACA,cDiDQ,WAEA,qDACE,iBAIJ,+CCzDN,YACA,cD2DQ,WAEA,mDACE,iBACA,4BAIJ,0CACE,aACA,cACA,YACA,iBACA,YACA,mBACA,iBACA,oCAEA,iDACE,iBAGF,mDC/GR,aACA,mBACA,uBDgHU,YACA,iBAGF,0DCtHR,aACA,mBACA,uBDuHU,cACA,cACA,sCACA,eACA,oBEnIZ,gBACE,UAEA,gCACE,wBAGF,2BACE,8BAGF,qBDLA,aACA,mBACA,uBCME,cACA,oBACA,YACA,iCAGF,6BACE,mBACA,eACA,mBAGF,yBACE,kBAGF,iCACE,kBACA,iBACA,4BACA,gBAGF,8BACE,kCACA,gBAGF,6BACE,2BACA,iBACA,gBACA,gBAGF,0BACE,yCAGF,yBACE,yCAEA,uCACE,iCAGF,sDACE,4BC/DN,UACE,kDACA,uBAEA,qBACE,SACA,QACA,kBAGF,mBACE,YACA,kBACA,2DCVF,wBACE,YACA,WAGF,uBACE,sCACA,kCACA,oBACA,uBAGF,gCACE,aACA,uBACA,eAEA,uCACE,sCAIJ,sCACE,kBACA,mBAGF,0CACE,iBAGF,4CACE,kCAGF,6CACE,2BAGF,+CACE,8BAGF,+CACE,6BAGF,sCH1BA,mBACA,uBACA,gBACA,sBACA,gBGyBE,iBACA,gBAEA,gDACE,cAIA,qBACA,YAIJ,uBACE,2BAGF,sBH9DA,aACA,mBACA,uBG+DE,WACA,iCAGF,4BACE,kCC5EJ,mBACE,kBAMA,cAIA,YACA,WAEA,iCAGE,cAGF,4BJRA,aACA,mBIUE,6BACA,YACA,YACA,sCACA,WACA,wCACA,iCACA,mBAGF,yCACE,8BACA,sBAEA,6CACE,eAIJ,uCJpCA,aACA,mBACA,uBIqCE,sBACA,cAEA,4CACE,8BAGF,gDACE,iCAGF,8CACE,8BAIJ,mCACE,gBACA,eAGF,qCJ5DA,aACA,mBACA,uBI6DE,cACA,aACA,kBACA,qCACA,2BAEA,yBACE,KACE,WAGF,GACE,YAIJ,2BACE,KACE,WAGF,GACE,aAKN,oCACE,aAGF,yCACE,cACA,WACA,YAEA,kDJnGF,aACA,mBACA,uBIoGI,YACA,WAGF,mDACE,gBAGF,6CACE,eACA,kCAIJ,oCACE,qCACA,2BACA,4BAGF,yEACE,mCACA,+BACA,4BAGF,wBACE,KACE,uCAGF,GACE,sCAIJ,4BACE,KACE,qCAGF,GACE,oCAKN,0BACE,aACA,YACA,oBACA,sCACA,8CACA,WACE,0JAOF,mBAEA,qCACE,uBACA,sBAGF,qCAGE,cAMA,oBAEA,2CACE,aAIJ,kCJpLA,aACA,mBIsLE,8BACA,sCACA,cAEA,2CJ3LF,aACA,mBI8LE,0CJrMF,aACA,mBACA,uBIsMI,aACA,cAEA,8CACE,iCAGF,oDACE,iCAKN,wCACE,aACA,cACA,iCAGF,uCACE,eACA,oDAEA,6CACE,sCAIJ,gDJpOA,aACA,mBACA,uBIqOE,eACA,cACA,WACA,qDACA,kBACA,kBAEA,oDACE,iBACA,iCAIJ,kDACE,kBACA,UACA,WACA,YACA,WACA,kBACA,mCAGF,iGACE,iCAGF,oMAEE,kDAEA,4MACE,kCAIJ,mCACE,2BAGF,uCACE,iBAGF,uCJnRA,aACA,mBACA,uBIoRE,sBAEA,6CACE,eACA,8BAGF,gDACE,oCACA,iBACA,kCACA,gBAGF,oDACE,oCACA,iBACA,gBACA,iCACA,iBAKN,2BACE,YAEA,mCJjTA,aACA,mBACA,uBIkTE,cACA,qDACA,cACA,kBAGF,kCACE,iBACA,cACA,qBACA,mBACA,WACA,qCACA,oBACA,8CAEA,6CACE,mBAGF,iDJxUF,aACA,mBACA,uBIyUI,kBACA,aACA,oBACA,cACA,gBACA,iBACA,gBACA,mCACA,iCACA,iBACA,eAGF,gDJxVF,aACA,mBACA,uBIyVI,kBACA,YACA,cACA,aAEA,oDACE,mCAIJ,6CJrWF,aACA,mBACA,uBIsWI,kBACA,YACA,cACA,aAEA,iDACE,iCAGF,uDACE,iCAIJ,mDJtXF,aACA,mBACA,uBIuXI,kBACA,aACA,cACA,aACA,eAEA,uDACE,iCAGF,6HAEE,iCAGF,oIAEE,4BAIJ,iDACE,WACA,aACA,kBACA,UACA,+DAGA,gBACA,aACA,wCAEA,0DACE,iBAKN,0DACE,WACA,sCAEA,yEJ9ZF,aACA,mBIgaI,gBACA,iCACA,sCACA,eACA,iBACA,iBACA,eACA,iBAGF,+EACE,oBACA,kBACA,iCACA,eACA,kBAEA,mFACE,iBAKN,oCACE,2BACA,kBAGF,oCACE,YACA,gBACA,aAGF,iDACE,oCACA,iBACA,kCAKF,4DACE,iBAGF,sCACE,aAGF,2CACE,aACA,uBACA,WACA,eACA,kBAEA,+CACE,iCAKF,yDACE,iCAIJ,qCACE,gBACA,gBACA,iCACA,eACA,iBAGF,2CACE,2BACA,qBAGF,uCACE,iBACA,kBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aAGF,sDACE,aACA,oBAIJ,8BJ3gBE,aACA,mBACA,uBI4gBA,sBAEA,yCJhhBA,aACA,mBACA,uBIihBE,WACA,YACA,gBAGF,wCACE,oCACA,iBACA,kCACA,iBACA,eACA,iBAGF,wCACE,oCACA,iBACA,gBACA,gCACA,iBACA,eACA,iBAGF,sCJ3iBA,aACA,mBACA,uBI4iBE,kBACA,YACA,aAGF,mCACE,kBACA,eACA,8BACA,MAGF,uCACE,kBACA,eACA,iCACA,SAGF,qCACE,kBACA,8BACA,eACA,UAIJ,uCACE,YAEA,gDACE,YACA,gBACA,eAGF,8CACE,gBACA,gBACA,iCACA,eACA,iBACA,iBACA,mBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aACA,mBAGF,sDACE,aACA,oBACA,mBAIA,gEACE,iCACA,oCACA,iBACA","file":"index.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_extensions.scss","../style/components/_app.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/components/_blocking-alert.scss","../style/components/_backdrop.scss","../style/components/_notification.scss","../style/components/_virtual-assistant.scss","../style/components/_release-notes.scss"],"names":[],"mappings":"AAgBQ,mCCCN,+CACA,2CAEA,mDACA,+CACA,4CACA,uCACA,sCACA,6CACA,sCACA,yCACA,2CACA,yCACA,2CACA,0CACA,8CACA,0CACA,8CACA,2CACA,iDACA,sCACA,sCACA,4CACA,yCACA,4CAIA,cACE,yBAGF,oBACE,+BAGF,aACE,wBAGF,gBACE,2BAGF,oBACE,+BAGF,kBACE,6BAGF,mBACE,8BAGF,gBACE,2BAGF,iBACE,4BAGF,wBACE,mCAGF,gBACE,2BAGF,kBACE,6BAGF,eACE,0BAGF,mBACE,8BAGF,kBACE,6BAGF,iBACE,4BAGF,cACE,yBAGF,eACE,0BAGF,gBACE,2BAGF,mBACE,8BAGF,gBACE,2BAGF,aACE,wBAGF,sBACE,iCAKF,6CAEE,8BAGF,yBACE,oCAGF,kBACE,6BAGF,qBACE,gCAGF,yBACE,oCAGF,uBACE,kCAGF,wBACE,mCAGF,qBACE,gCAGF,qBACE,gCAGF,uBACE,kCAGF,sBACE,iCAGF,qBACE,gCAGF,wBACE,mCAGF,qBACE,gCAGF,wBACE,mCAGF,kBACE,6BCvLJ,KACE,YACA,qCAEA,gBACE,YACA,WAGF,WACE,YACA,qCAIA,kBACE,gBACA,qCACA,eACA,oBAGF,kBACE,aACA,eACA,gBACA,oCAGF,yBACE,mBACA,iCAGF,yBACE,kCAGF,2BACE,qBACA,gBACA,2BAGF,uBACE,aACA,gBACA,YAEA,+BCrCJ,aACA,mBDuCM,cACA,sCACA,8BACA,eAEA,sCACE,eACA,iBACA,gBACA,iCACA,oCAIJ,gCACE,2BACA,cACA,aACA,qCACA,8BAIA,yCCxCN,YACA,cD0CQ,aACA,WAGF,iDC/CN,YACA,cDiDQ,WAEA,qDACE,iBAIJ,+CCzDN,YACA,cD2DQ,WAEA,mDACE,iBACA,4BAIJ,0CACE,aACA,cACA,YACA,iBACA,YACA,mBACA,iBACA,oCAEA,iDACE,iBAGF,mDC/GR,aACA,mBACA,uBDgHU,YACA,iBAGF,0DCtHR,aACA,mBACA,uBDuHU,cACA,cACA,sCACA,eACA,oBEnIZ,gBACE,UAEA,gCACE,wBAGF,2BACE,8BAGF,qBDLA,aACA,mBACA,uBCME,cACA,oBACA,YACA,iCAGF,6BACE,mBACA,eACA,mBAGF,yBACE,kBAGF,iCACE,kBACA,iBACA,4BACA,gBAGF,8BACE,kCACA,gBAGF,6BACE,2BACA,iBACA,gBACA,gBAGF,0BACE,yCAGF,yBACE,yCAEA,uCACE,iCAGF,sDACE,4BC/DN,UACE,kDACA,uBAEA,qBACE,SACA,QACA,kBAGF,mBACE,YACA,kBACA,2DCVF,wBACE,YACA,WAGF,uBACE,sCACA,kCACA,oBACA,uBAGF,gCACE,aACA,uBACA,eAEA,uCACE,sCAIJ,sCACE,kBACA,mBAGF,0CACE,iBAGF,4CACE,kCAGF,6CACE,2BAGF,+CACE,8BAGF,+CACE,6BAGF,sCH1BA,mBACA,uBACA,gBACA,sBACA,gBGyBE,iBACA,gBAEA,gDACE,cAIA,qBACA,YAIJ,uBACE,2BAGF,sBH9DA,aACA,mBACA,uBG+DE,WACA,iCAGF,4BACE,kCC5EJ,mBACE,kBAMA,cAIA,YACA,WAEA,iCAGE,cAGF,4BJRA,aACA,mBIUE,6BACA,YACA,YACA,sCACA,WACA,wCACA,iCACA,mBAGF,yCACE,8BACA,sBAEA,6CACE,eAIJ,uCJpCA,aACA,mBACA,uBIqCE,sBACA,cAEA,4CACE,8BAGF,gDACE,iCAGF,8CACE,8BAIJ,mCACE,gBACA,eAGF,qCJ5DA,aACA,mBACA,uBI6DE,cACA,aACA,kBACA,qCACA,2BAEA,yBACE,KACE,WAGF,GACE,YAIJ,2BACE,KACE,WAGF,GACE,aAKN,oCACE,aAGF,yCACE,cACA,WACA,YAEA,kDJnGF,aACA,mBACA,uBIoGI,YACA,WAGF,mDACE,gBAGF,6CACE,eACA,kCAIJ,oCACE,qCACA,2BACA,4BAGF,yEACE,mCACA,+BACA,4BAGF,wBACE,KACE,uCAGF,GACE,sCAIJ,4BACE,KACE,qCAGF,GACE,oCAKN,0BACE,aACA,YACA,oBACA,sCACA,8CACA,WACE,0JAOF,mBAEA,qCACE,uBACA,sBAGF,qCAGE,cAMA,oBAEA,2CACE,aAIJ,kCJpLA,aACA,mBIsLE,8BACA,sCACA,cAEA,2CJ3LF,aACA,mBI8LE,0CJrMF,aACA,mBACA,uBIsMI,aACA,cAEA,8CACE,iCAGF,oDACE,iCAKN,wCACE,aACA,cACA,iCAGF,uCACE,eACA,oDAEA,6CACE,sCAIJ,gDJpOA,aACA,mBACA,uBIqOE,eACA,cACA,WACA,qDACA,kBACA,kBAEA,oDACE,iBACA,iCAIJ,kDACE,kBACA,UACA,WACA,YACA,WACA,kBACA,mCAGF,iGACE,iCAGF,oMAEE,kDAEA,4MACE,kCAIJ,mCACE,2BAGF,uCACE,iBAGF,uCJnRA,aACA,mBACA,uBIoRE,sBAEA,6CACE,eACA,8BAGF,gDACE,oCACA,iBACA,kCACA,gBAGF,oDACE,oCACA,iBACA,gBACA,iCACA,iBAKN,2BACE,YAEA,mCJjTA,aACA,mBACA,uBIkTE,cACA,qDACA,cACA,kBAGF,kCACE,iBACA,cACA,qBACA,mBACA,WACA,qCACA,oBACA,8CAEA,6CACE,mBAGF,iDJxUF,aACA,mBACA,uBIyUI,kBACA,aACA,oBACA,cACA,gBACA,iBACA,gBACA,mCACA,iCACA,iBACA,eAGF,gDJxVF,aACA,mBACA,uBIyVI,kBACA,YACA,cACA,aAEA,oDACE,mCAIJ,6CJrWF,aACA,mBACA,uBIsWI,kBACA,YACA,cACA,aAEA,iDACE,iCAGF,uDACE,iCAIJ,mDJtXF,aACA,mBACA,uBIuXI,kBACA,aACA,cACA,aACA,eAEA,uDACE,iCAGF,6HAEE,iCAGF,oIAEE,4BAIJ,iDACE,WACA,aACA,kBACA,UACA,+DAGA,gBACA,aACA,wCAEA,0DACE,iBAKN,0DACE,WACA,sCAEA,yEJ9ZF,aACA,mBIgaI,gBACA,iCACA,sCACA,eACA,iBACA,iBACA,eACA,iBAGF,+EACE,oBACA,kBACA,iCACA,eACA,kBAEA,mFACE,iBAKN,oCACE,2BACA,kBAGF,oCACE,YACA,gBACA,aAGF,iDACE,oCACA,iBACA,kCAKF,4DACE,iBAGF,sCACE,aAGF,2CACE,aACA,uBACA,WACA,eACA,kBAEA,+CACE,iCAKF,yDACE,iCAIJ,qCACE,gBACA,gBACA,iCACA,eACA,iBAGF,2CACE,2BACA,qBAGF,uCACE,iBACA,kBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aAGF,sDACE,aACA,oBAIJ,8BJ3gBE,aACA,mBACA,uBI4gBA,sBAEA,yCJhhBA,aACA,mBACA,uBIihBE,WACA,YACA,gBAGF,wCACE,oCACA,iBACA,kCACA,iBACA,eACA,iBAGF,wCACE,oCACA,iBACA,gBACA,gCACA,iBACA,eACA,iBAGF,sCJ3iBA,aACA,mBACA,uBI4iBE,kBACA,YACA,aAGF,mCACE,kBACA,eACA,8BACA,MAGF,uCACE,kBACA,eACA,iCACA,SAGF,qCACE,kBACA,8BACA,eACA,UAIJ,uCACE,YAEA,gDACE,YACA,gBACA,eAGF,8CACE,gBACA,gBACA,iCACA,eACA,iBACA,iBACA,mBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aACA,mBAGF,sDACE,aACA,oBACA,mBAIA,gEACE,iCACA,oCACA,iBACA,mBCrnBJ,+BACE,wBAGF,0BACE,8BAGF,uBACE,YACA,WAEA,6BACE,mBACA,2BAGF,+BLNF,aACA,mBKQI,8BACA,cACA,kBAGF,0CACE,kCAGF,gCACE,kBAEA,uCACE,gBACA,iBACA,oBAMR,gBACE,mBACA,8CAEA,yBACE,iBACA,mBACA,iBACA,iBAGF,yBACE,cAGF,wBACE,kBAEA,qCACE,mBAGF,6BACE,iBACA,eACA,mBAGF,+BACE,kBAGF,8BACE,aACA,gBAGF,kCACE,4BAGF,sCACE,sCAGF,8BACE,mBAEA,kCACE","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export * from './stores/event/IframeEventNotifierPlugin.js';
|
|
|
41
41
|
export * from './stores/TelemetryService.js';
|
|
42
42
|
export * from './stores/NotificationService.js';
|
|
43
43
|
export * from './stores/AlertService.js';
|
|
44
|
+
export * from './stores/ReleaseNotesService.js';
|
|
44
45
|
export * from './stores/AssistantService.js';
|
|
45
46
|
export * from './stores/ApplicationNavigationContextService.js';
|
|
46
47
|
export * from './stores/LegendApplicationPlugin.js';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;G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+B,CAAC;AAE9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAEhE,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE1F,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iDAAiD,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,uDAAuD,CAAC;AAE/D,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -41,6 +41,7 @@ export * from './stores/event/IframeEventNotifierPlugin.js';
|
|
|
41
41
|
export * from './stores/TelemetryService.js';
|
|
42
42
|
export * from './stores/NotificationService.js';
|
|
43
43
|
export * from './stores/AlertService.js';
|
|
44
|
+
export * from './stores/ReleaseNotesService.js';
|
|
44
45
|
export * from './stores/AssistantService.js';
|
|
45
46
|
export * from './stores/ApplicationNavigationContextService.js';
|
|
46
47
|
export * from './stores/LegendApplicationPlugin.js';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,+BAA+B,CAAC;AAE9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAEhE,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE1F,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,iDAAiD,CAAC;AAChE,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,uDAAuD,CAAC;AAE/D,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,GAIlB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;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ChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/lib/package.json
CHANGED
|
@@ -36,6 +36,7 @@ import { NavigationService } from './navigation/NavigationService.js';
|
|
|
36
36
|
import { SettingService } from './SettingService.js';
|
|
37
37
|
import type { ApplicationPlatform } from './platform/ApplicationPlatform.js';
|
|
38
38
|
import { UserDataService } from './UserDataService.js';
|
|
39
|
+
import { ReleaseNotesService } from './ReleaseNotesService.js';
|
|
39
40
|
export type GenericLegendApplicationStore = ApplicationStore<LegendApplicationConfig, LegendApplicationPluginManager<LegendApplicationPlugin>>;
|
|
40
41
|
export declare abstract class ApplicationExtensionState {
|
|
41
42
|
/**
|
|
@@ -74,6 +75,7 @@ export declare class ApplicationStore<T extends LegendApplicationConfig, V exten
|
|
|
74
75
|
readonly navigationContextService: ApplicationNavigationContextService;
|
|
75
76
|
readonly documentationService: DocumentationService;
|
|
76
77
|
readonly assistantService: AssistantService;
|
|
78
|
+
readonly releaseNotesService: ReleaseNotesService;
|
|
77
79
|
readonly eventService: EventService;
|
|
78
80
|
readonly telemetryService: TelemetryService;
|
|
79
81
|
readonly tracerService: TracerService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStore.d.ts","sourceRoot":"","sources":["../../src/stores/ApplicationStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,UAAU,EAGV,WAAW,EAKZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,E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;IACpD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAG5C,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAGlD,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;gBAE1B,MAAM,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC;IAoDjC,UAAU,CAAC,QAAQ,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IA+B9D;;;OAGG;IACH,mBAAmB,UAAW,KAAK,KAAG,IAAI,CAOxC;IAEF;;OAEG;IACH,mBAAmB,aACN,MAAM,QAAQ,IAAI,CAAC,KAAG,CAAC,MAAM,IAAI,CAAC,CAG3C;CACL"}
|
|
@@ -34,6 +34,7 @@ import { NavigationService } from './navigation/NavigationService.js';
|
|
|
34
34
|
import { SettingService } from './SettingService.js';
|
|
35
35
|
import { DefaultNavigator } from './navigation/DefaultNavigator.js';
|
|
36
36
|
import { UserDataService } from './UserDataService.js';
|
|
37
|
+
import { ReleaseNotesService } from './ReleaseNotesService.js';
|
|
37
38
|
export class ApplicationExtensionState {
|
|
38
39
|
/**
|
|
39
40
|
* This helps to better type-check for this empty abtract type
|
|
@@ -72,6 +73,8 @@ export class ApplicationStore {
|
|
|
72
73
|
// support
|
|
73
74
|
documentationService;
|
|
74
75
|
assistantService;
|
|
76
|
+
// release
|
|
77
|
+
releaseNotesService;
|
|
75
78
|
// event
|
|
76
79
|
eventService;
|
|
77
80
|
telemetryService;
|
|
@@ -98,6 +101,7 @@ export class ApplicationStore {
|
|
|
98
101
|
this.navigationContextService = new ApplicationNavigationContextService(this);
|
|
99
102
|
this.documentationService = new DocumentationService(this);
|
|
100
103
|
this.assistantService = new AssistantService(this);
|
|
104
|
+
this.releaseNotesService = new ReleaseNotesService(this);
|
|
101
105
|
this.eventService = new EventService();
|
|
102
106
|
this.eventService.registerEventNotifierPlugins(pluginManager.getEventNotifierPlugins());
|
|
103
107
|
this.telemetryService = new TelemetryService(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStore.js","sourceRoot":"","sources":["../../src/stores/ApplicationStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EAEjB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAGzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAE/F,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CA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,IAAI,iBAAiB,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC;YAEjD,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC;YAE5B,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC5C,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAC5D,mCAAmC,CACpC,CAAC;YACF,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,mBAAmB,GAAG,CAAC,KAAY,EAAQ,EAAE;QAC3C,IAAI,CAAC,UAAU,CAAC,KAAK,CACnB,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,EACrE,+CAA+C,EAC/C,KAAK,CACN,CAAC;QACF,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC7D,CAAC,CAAC;IAEF;;OAEG;IACH,mBAAmB,GACjB,CAAC,QAA6B,EAAgB,EAAE,CAChD,GAAS,EAAE;QACT,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC,CAAC;CACL"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { GenericLegendApplicationStore } from './ApplicationStore.js';
|
|
17
|
+
export declare enum RELEASE_UPDATE_TYPE {
|
|
18
|
+
BUG_FIX = "BUG_FIX",
|
|
19
|
+
ENHANCEMENT = "ENHANCEMENT"
|
|
20
|
+
}
|
|
21
|
+
export interface ReleaseNote {
|
|
22
|
+
type: RELEASE_UPDATE_TYPE;
|
|
23
|
+
description: string;
|
|
24
|
+
docLink?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface VersionReleaseNotes {
|
|
27
|
+
version: string;
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
docLink?: string | undefined;
|
|
30
|
+
notes?: ReleaseNote[] | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare const collectReleaseNotes: (releaseNotes: VersionReleaseNotes[]) => VersionReleaseNotes[];
|
|
33
|
+
export declare class ReleaseNotesService {
|
|
34
|
+
static STORAGE_NAME: string;
|
|
35
|
+
applicationStore: GenericLegendApplicationStore;
|
|
36
|
+
releaseNotes: VersionReleaseNotes[] | undefined;
|
|
37
|
+
showCurrentReleaseModal: boolean;
|
|
38
|
+
showReleaseLog: boolean;
|
|
39
|
+
isConfigured: boolean;
|
|
40
|
+
constructor(applicationStore: GenericLegendApplicationStore);
|
|
41
|
+
configure(releaseNotes: VersionReleaseNotes[]): void;
|
|
42
|
+
setShowCurrentRelease(val: boolean): void;
|
|
43
|
+
setReleaseLog(val: boolean): void;
|
|
44
|
+
getViewedVersions(): string | undefined;
|
|
45
|
+
updateViewedVersion(version: string): void;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=ReleaseNotesService.d.ts.map
|
|
@@ -0,0 +1 @@
|
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c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { guaranteeNonEmptyString } from '@finos/legend-shared';
|
|
17
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
18
|
+
export var RELEASE_UPDATE_TYPE;
|
|
19
|
+
(function (RELEASE_UPDATE_TYPE) {
|
|
20
|
+
RELEASE_UPDATE_TYPE["BUG_FIX"] = "BUG_FIX";
|
|
21
|
+
RELEASE_UPDATE_TYPE["ENHANCEMENT"] = "ENHANCEMENT";
|
|
22
|
+
})(RELEASE_UPDATE_TYPE || (RELEASE_UPDATE_TYPE = {}));
|
|
23
|
+
export const collectReleaseNotes = (releaseNotes) => releaseNotes.map((release) => {
|
|
24
|
+
guaranteeNonEmptyString(release.version, "Release notes 'version' is missing");
|
|
25
|
+
release.notes?.map((note) => {
|
|
26
|
+
guaranteeNonEmptyString(note.type, "Release note 'type' is missing");
|
|
27
|
+
guaranteeNonEmptyString(note.description, "Release note 'description' is missing");
|
|
28
|
+
return note;
|
|
29
|
+
});
|
|
30
|
+
return release;
|
|
31
|
+
});
|
|
32
|
+
export class ReleaseNotesService {
|
|
33
|
+
static STORAGE_NAME = 'application.release-notes.lastOpenedVersion';
|
|
34
|
+
applicationStore;
|
|
35
|
+
releaseNotes;
|
|
36
|
+
showCurrentReleaseModal = true;
|
|
37
|
+
showReleaseLog = false;
|
|
38
|
+
isConfigured = false;
|
|
39
|
+
constructor(applicationStore) {
|
|
40
|
+
makeObservable(this, {
|
|
41
|
+
showCurrentReleaseModal: observable,
|
|
42
|
+
showReleaseLog: observable,
|
|
43
|
+
isConfigured: observable,
|
|
44
|
+
setShowCurrentRelease: action,
|
|
45
|
+
configure: action,
|
|
46
|
+
updateViewedVersion: action,
|
|
47
|
+
setReleaseLog: action,
|
|
48
|
+
});
|
|
49
|
+
this.applicationStore = applicationStore;
|
|
50
|
+
}
|
|
51
|
+
configure(releaseNotes) {
|
|
52
|
+
this.isConfigured = true;
|
|
53
|
+
this.releaseNotes = collectReleaseNotes(releaseNotes);
|
|
54
|
+
}
|
|
55
|
+
setShowCurrentRelease(val) {
|
|
56
|
+
this.showCurrentReleaseModal = val;
|
|
57
|
+
}
|
|
58
|
+
setReleaseLog(val) {
|
|
59
|
+
this.showReleaseLog = val;
|
|
60
|
+
}
|
|
61
|
+
getViewedVersions() {
|
|
62
|
+
return this.applicationStore.settingService.getStringValue(ReleaseNotesService.STORAGE_NAME);
|
|
63
|
+
}
|
|
64
|
+
updateViewedVersion(version) {
|
|
65
|
+
return this.applicationStore.settingService.persistValue(ReleaseNotesService.STORAGE_NAME, version);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=ReleaseNotesService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReleaseNotesService.js","sourceRoot":"","sources":["../../src/stores/ReleaseNotesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;AAC7B,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;A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ACxB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,iBAAiB;QACf,OAAO,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,cAAc,CACxD,mBAAmB,CAAC,YAAY,CACjC,CAAC;IACJ,CAAC;IAED,mBAAmB,CAAC,OAAe;QACjC,OAAO,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,YAAY,CACtD,mBAAmB,CAAC,YAAY,EAChC,OAAO,CACR,CAAC;IACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.1",
|
|
4
4
|
"description": "Legend application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test:watch": "jest --watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@finos/legend-art": "7.1.
|
|
48
|
+
"@finos/legend-art": "7.1.30",
|
|
49
49
|
"@finos/legend-shared": "10.0.35",
|
|
50
50
|
"@types/react": "18.3.2",
|
|
51
51
|
"@types/react-dom": "18.3.0",
|
|
@@ -40,8 +40,12 @@ import {
|
|
|
40
40
|
type DocumentationRegistryEntry,
|
|
41
41
|
} from '../stores/DocumentationService.js';
|
|
42
42
|
import type { LegendApplicationPlugin } from '../stores/LegendApplicationPlugin.js';
|
|
43
|
-
import {
|
|
43
|
+
import {
|
|
44
|
+
ApplicationStore,
|
|
45
|
+
type GenericLegendApplicationStore,
|
|
46
|
+
} from '../stores/ApplicationStore.js';
|
|
44
47
|
import { registerDownloadHelperServiceWorker } from '../util/DownloadHelperServiceWorker.js';
|
|
48
|
+
import type { VersionReleaseNotes } from '../stores/ReleaseNotesService.js';
|
|
45
49
|
|
|
46
50
|
export abstract class LegendApplicationLogger {
|
|
47
51
|
abstract debug(event: LogEvent, ...data: unknown[]): void;
|
|
@@ -113,6 +117,8 @@ export abstract class LegendApplication {
|
|
|
113
117
|
protected downloadHelperServiceWorkerPath: string | undefined;
|
|
114
118
|
protected downloadHelper = false;
|
|
115
119
|
|
|
120
|
+
protected releaseNotes: VersionReleaseNotes[] | undefined;
|
|
121
|
+
|
|
116
122
|
protected constructor(
|
|
117
123
|
pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>,
|
|
118
124
|
) {
|
|
@@ -167,6 +173,17 @@ export abstract class LegendApplication {
|
|
|
167
173
|
return this;
|
|
168
174
|
}
|
|
169
175
|
|
|
176
|
+
withReleaseNotes(releaseNotes: VersionReleaseNotes[]): LegendApplication {
|
|
177
|
+
this.releaseNotes = releaseNotes;
|
|
178
|
+
return this;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
setupApplicationStore(store: GenericLegendApplicationStore): void {
|
|
182
|
+
if (this.releaseNotes) {
|
|
183
|
+
store.releaseNotesService.configure(this.releaseNotes);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
170
187
|
async fetchApplicationConfiguration(
|
|
171
188
|
baseUrl: string,
|
|
172
189
|
): Promise<[LegendApplicationConfig, ExtensionsConfigurationData]> {
|
|
@@ -329,6 +346,9 @@ export abstract class LegendApplication {
|
|
|
329
346
|
.map((setup) => setup(applicationStore)),
|
|
330
347
|
);
|
|
331
348
|
|
|
349
|
+
// set up application
|
|
350
|
+
this.setupApplicationStore(applicationStore);
|
|
351
|
+
|
|
332
352
|
// load application
|
|
333
353
|
await this.loadApplication(applicationStore);
|
|
334
354
|
|
|
@@ -112,7 +112,6 @@ export abstract class LegendApplicationConfig {
|
|
|
112
112
|
this.contextualDocEntries = collectContextualDocumentationEntries(
|
|
113
113
|
input.configData.documentation?.contextualEntries ?? {},
|
|
114
114
|
);
|
|
115
|
-
|
|
116
115
|
// Version
|
|
117
116
|
this.appVersion = guaranteeNonNullable(
|
|
118
117
|
input.versionData.version,
|
|
@@ -30,6 +30,10 @@ import {
|
|
|
30
30
|
import { VirtualAssistant } from './VirtualAssistant.js';
|
|
31
31
|
import { LegendApplicationTelemetryHelper } from '../__lib__/LegendApplicationTelemetry.js';
|
|
32
32
|
import type { GenericLegendApplicationStore } from '../stores/ApplicationStore.js';
|
|
33
|
+
import {
|
|
34
|
+
ReleaseLogManager,
|
|
35
|
+
ReleaseNotesManager,
|
|
36
|
+
} from './ReleaseNotesManager.js';
|
|
33
37
|
|
|
34
38
|
enum APPLICATION_COMPONENT_ELEMENT_ID {
|
|
35
39
|
TOP_LEVEL_CONTAINER = 'application.top-level-container',
|
|
@@ -175,6 +179,8 @@ export const ApplicationComponentFrameworkProvider = observer(
|
|
|
175
179
|
<ActionAlert />
|
|
176
180
|
<NotificationManager />
|
|
177
181
|
<VirtualAssistant />
|
|
182
|
+
<ReleaseLogManager />
|
|
183
|
+
<ReleaseNotesManager />
|
|
178
184
|
{applicationStore.layoutService.showBackdrop && (
|
|
179
185
|
// We use <Portal> here to insert backdrop into different parts of the app
|
|
180
186
|
// as backdrop relies heavily on z-index mechanism so its location in the DOM
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { useApplicationStore } from './ApplicationStoreProvider.js';
|
|
19
|
+
import {
|
|
20
|
+
ArrowCircleUpIcon,
|
|
21
|
+
BugIcon,
|
|
22
|
+
Dialog,
|
|
23
|
+
Modal,
|
|
24
|
+
ModalBody,
|
|
25
|
+
ModalFooter,
|
|
26
|
+
ModalFooterButton,
|
|
27
|
+
ModalHeader,
|
|
28
|
+
ShareIcon,
|
|
29
|
+
clsx,
|
|
30
|
+
} from '@finos/legend-art';
|
|
31
|
+
import {
|
|
32
|
+
RELEASE_UPDATE_TYPE,
|
|
33
|
+
type ReleaseNote,
|
|
34
|
+
type VersionReleaseNotes,
|
|
35
|
+
} from '../stores/ReleaseNotesService.js';
|
|
36
|
+
import {
|
|
37
|
+
isValidUrl,
|
|
38
|
+
prettyCONSTName,
|
|
39
|
+
returnUndefOnError,
|
|
40
|
+
} from '@finos/legend-shared';
|
|
41
|
+
|
|
42
|
+
const ReleaseNoteViewer = observer((props: { note: ReleaseNote }) => {
|
|
43
|
+
const { note } = props;
|
|
44
|
+
const applicationStore = useApplicationStore();
|
|
45
|
+
const isBug = note.type === RELEASE_UPDATE_TYPE.BUG_FIX;
|
|
46
|
+
const visitLink = (): void => {
|
|
47
|
+
if (note.docLink && isValidUrl(note.docLink)) {
|
|
48
|
+
applicationStore.navigationService.navigator.visitAddress(note.docLink);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<div className="release-viewer__update__item" key={note.description}>
|
|
54
|
+
<div
|
|
55
|
+
className={clsx('release-viewer__update__item-btn', {
|
|
56
|
+
'release-viewer__update__item-btn-bug': isBug,
|
|
57
|
+
})}
|
|
58
|
+
>
|
|
59
|
+
{isBug ? <BugIcon /> : <ArrowCircleUpIcon />}
|
|
60
|
+
</div>
|
|
61
|
+
<div className="release-viewer__update__description">
|
|
62
|
+
{note.description}
|
|
63
|
+
</div>
|
|
64
|
+
{note.docLink && (
|
|
65
|
+
<div className="release-viewer__update__link">
|
|
66
|
+
<button
|
|
67
|
+
className="release-viewer__update__link-btn"
|
|
68
|
+
title="Visit..."
|
|
69
|
+
onClick={visitLink}
|
|
70
|
+
>
|
|
71
|
+
<ShareIcon />
|
|
72
|
+
</button>
|
|
73
|
+
</div>
|
|
74
|
+
)}
|
|
75
|
+
</div>
|
|
76
|
+
);
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export const ReleaseViewer = observer(
|
|
80
|
+
(props: { releaseNotes: VersionReleaseNotes }) => {
|
|
81
|
+
const { releaseNotes } = props;
|
|
82
|
+
const enhancements =
|
|
83
|
+
releaseNotes.notes?.filter(
|
|
84
|
+
(r) => r.type === RELEASE_UPDATE_TYPE.ENHANCEMENT,
|
|
85
|
+
) ?? [];
|
|
86
|
+
const bugFixes =
|
|
87
|
+
releaseNotes.notes?.filter(
|
|
88
|
+
(r) => r.type === RELEASE_UPDATE_TYPE.BUG_FIX,
|
|
89
|
+
) ?? [];
|
|
90
|
+
|
|
91
|
+
return (
|
|
92
|
+
<div className="release-viewer">
|
|
93
|
+
<div className="release-viewer__version">
|
|
94
|
+
Version {releaseNotes.label ?? releaseNotes.version}
|
|
95
|
+
</div>
|
|
96
|
+
<div className="release-viewer__content">
|
|
97
|
+
{Boolean(enhancements.length) && (
|
|
98
|
+
<div className="release-viewer__update">
|
|
99
|
+
<div className="release-viewer__update-type">ENHANCEMENTS</div>
|
|
100
|
+
<div className="release-viewer__update__items">
|
|
101
|
+
{enhancements.map((e) => (
|
|
102
|
+
<ReleaseNoteViewer note={e} key={e.description} />
|
|
103
|
+
))}
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
)}
|
|
107
|
+
{Boolean(bugFixes.length) && (
|
|
108
|
+
<div className="release-viewer__update">
|
|
109
|
+
<div className="release-viewer__update-type">BUG FIXES</div>
|
|
110
|
+
<div className="release-viewer__update__items">
|
|
111
|
+
{bugFixes.map((e) => (
|
|
112
|
+
<ReleaseNoteViewer note={e} key={e.description} />
|
|
113
|
+
))}
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
)}
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
120
|
+
},
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
export const ReleaseNotesManager = observer(() => {
|
|
124
|
+
const applicationStore = useApplicationStore();
|
|
125
|
+
const releaseService = applicationStore.releaseNotesService;
|
|
126
|
+
const releaseNotes = releaseService.releaseNotes;
|
|
127
|
+
const version = applicationStore.config.appVersion;
|
|
128
|
+
const currentVersion = releaseNotes?.find((r) => r.version === version);
|
|
129
|
+
const storage = returnUndefOnError(() => releaseService.getViewedVersions());
|
|
130
|
+
const isOpen = releaseService.showCurrentReleaseModal;
|
|
131
|
+
if (
|
|
132
|
+
!releaseService.isConfigured ||
|
|
133
|
+
!isOpen ||
|
|
134
|
+
!currentVersion ||
|
|
135
|
+
storage === version
|
|
136
|
+
) {
|
|
137
|
+
return null;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const closeModal = (): void => {
|
|
141
|
+
releaseService.updateViewedVersion(currentVersion.version);
|
|
142
|
+
releaseService.setShowCurrentRelease(false);
|
|
143
|
+
};
|
|
144
|
+
const title = `Legend ${prettyCONSTName(
|
|
145
|
+
applicationStore.config.appName,
|
|
146
|
+
)} has been upgraded !`;
|
|
147
|
+
return (
|
|
148
|
+
<Dialog
|
|
149
|
+
open={isOpen}
|
|
150
|
+
onClose={closeModal}
|
|
151
|
+
classes={{
|
|
152
|
+
root: 'release-notes__root-container',
|
|
153
|
+
container: 'release-notes__container',
|
|
154
|
+
}}
|
|
155
|
+
>
|
|
156
|
+
<Modal
|
|
157
|
+
darkMode={
|
|
158
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
|
159
|
+
}
|
|
160
|
+
className="editor-modal release-notes__dialog"
|
|
161
|
+
>
|
|
162
|
+
<ModalHeader
|
|
163
|
+
className="release-notes__dialog__header__title"
|
|
164
|
+
title={title}
|
|
165
|
+
/>
|
|
166
|
+
|
|
167
|
+
<ModalBody className="release-notes__dialog__body">
|
|
168
|
+
<div className="release-notes__dialog__content">
|
|
169
|
+
<div className="release-notes__dialog__content__title">
|
|
170
|
+
New features, enhancements and bug fixess that were released
|
|
171
|
+
</div>
|
|
172
|
+
<ReleaseViewer releaseNotes={currentVersion} />
|
|
173
|
+
</div>
|
|
174
|
+
</ModalBody>
|
|
175
|
+
<ModalFooter>
|
|
176
|
+
<ModalFooterButton
|
|
177
|
+
className="modal__footer__close-btn"
|
|
178
|
+
onClick={closeModal}
|
|
179
|
+
type={'primary'}
|
|
180
|
+
>
|
|
181
|
+
Close
|
|
182
|
+
</ModalFooterButton>
|
|
183
|
+
</ModalFooter>
|
|
184
|
+
</Modal>
|
|
185
|
+
</Dialog>
|
|
186
|
+
);
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
export const ReleaseLogManager = observer(() => {
|
|
190
|
+
const applicationStore = useApplicationStore();
|
|
191
|
+
const releaseService = applicationStore.releaseNotesService;
|
|
192
|
+
|
|
193
|
+
if (!releaseService.isConfigured || !releaseService.showReleaseLog) {
|
|
194
|
+
return null;
|
|
195
|
+
}
|
|
196
|
+
const releaseNotes = releaseService.releaseNotes ?? [];
|
|
197
|
+
|
|
198
|
+
const isOpen = releaseService.showCurrentReleaseModal;
|
|
199
|
+
const closeModal = (): void => {
|
|
200
|
+
releaseService.setReleaseLog(false);
|
|
201
|
+
};
|
|
202
|
+
const title = `Legend ${prettyCONSTName(
|
|
203
|
+
applicationStore.config.appName,
|
|
204
|
+
)} Release Log`;
|
|
205
|
+
return (
|
|
206
|
+
<Dialog
|
|
207
|
+
open={isOpen}
|
|
208
|
+
onClose={closeModal}
|
|
209
|
+
classes={{
|
|
210
|
+
root: 'release-notes__root-container',
|
|
211
|
+
container: 'release-notes__container',
|
|
212
|
+
}}
|
|
213
|
+
>
|
|
214
|
+
<Modal
|
|
215
|
+
darkMode={
|
|
216
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
|
217
|
+
}
|
|
218
|
+
className="editor-modal release-notes__dialog"
|
|
219
|
+
>
|
|
220
|
+
<ModalHeader
|
|
221
|
+
className="release-notes__dialog__header__title"
|
|
222
|
+
title={title}
|
|
223
|
+
/>
|
|
224
|
+
|
|
225
|
+
<ModalBody className="release-notes__dialog__body">
|
|
226
|
+
<div className="release-notes__dialog__content">
|
|
227
|
+
<div className="release-notes__dialog__content__title">
|
|
228
|
+
New features, enhancements and bug fixess that were released
|
|
229
|
+
</div>
|
|
230
|
+
{releaseNotes.map((e) => (
|
|
231
|
+
<ReleaseViewer key={e.version} releaseNotes={e} />
|
|
232
|
+
))}
|
|
233
|
+
</div>
|
|
234
|
+
</ModalBody>
|
|
235
|
+
<ModalFooter>
|
|
236
|
+
<ModalFooterButton
|
|
237
|
+
className="modal__footer__close-btn"
|
|
238
|
+
onClick={closeModal}
|
|
239
|
+
type={'primary'}
|
|
240
|
+
>
|
|
241
|
+
Close
|
|
242
|
+
</ModalFooterButton>
|
|
243
|
+
</ModalFooter>
|
|
244
|
+
</Modal>
|
|
245
|
+
</Dialog>
|
|
246
|
+
);
|
|
247
|
+
});
|
package/src/index.ts
CHANGED
|
@@ -55,6 +55,7 @@ export * from './stores/event/IframeEventNotifierPlugin.js';
|
|
|
55
55
|
export * from './stores/TelemetryService.js';
|
|
56
56
|
export * from './stores/NotificationService.js';
|
|
57
57
|
export * from './stores/AlertService.js';
|
|
58
|
+
export * from './stores/ReleaseNotesService.js';
|
|
58
59
|
export * from './stores/AssistantService.js';
|
|
59
60
|
export * from './stores/ApplicationNavigationContextService.js';
|
|
60
61
|
export * from './stores/LegendApplicationPlugin.js';
|
|
@@ -49,6 +49,7 @@ import { SettingService } from './SettingService.js';
|
|
|
49
49
|
import { DefaultNavigator } from './navigation/DefaultNavigator.js';
|
|
50
50
|
import type { ApplicationPlatform } from './platform/ApplicationPlatform.js';
|
|
51
51
|
import { UserDataService } from './UserDataService.js';
|
|
52
|
+
import { ReleaseNotesService } from './ReleaseNotesService.js';
|
|
52
53
|
|
|
53
54
|
export type GenericLegendApplicationStore = ApplicationStore<
|
|
54
55
|
LegendApplicationConfig,
|
|
@@ -105,6 +106,9 @@ export class ApplicationStore<
|
|
|
105
106
|
readonly documentationService: DocumentationService;
|
|
106
107
|
readonly assistantService: AssistantService;
|
|
107
108
|
|
|
109
|
+
// release
|
|
110
|
+
readonly releaseNotesService: ReleaseNotesService;
|
|
111
|
+
|
|
108
112
|
// event
|
|
109
113
|
readonly eventService: EventService;
|
|
110
114
|
readonly telemetryService: TelemetryService;
|
|
@@ -138,6 +142,7 @@ export class ApplicationStore<
|
|
|
138
142
|
|
|
139
143
|
this.documentationService = new DocumentationService(this);
|
|
140
144
|
this.assistantService = new AssistantService(this);
|
|
145
|
+
this.releaseNotesService = new ReleaseNotesService(this);
|
|
141
146
|
|
|
142
147
|
this.eventService = new EventService();
|
|
143
148
|
this.eventService.registerEventNotifierPlugins(
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { guaranteeNonEmptyString } from '@finos/legend-shared';
|
|
18
|
+
import type { GenericLegendApplicationStore } from './ApplicationStore.js';
|
|
19
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
20
|
+
|
|
21
|
+
export enum RELEASE_UPDATE_TYPE {
|
|
22
|
+
BUG_FIX = 'BUG_FIX',
|
|
23
|
+
ENHANCEMENT = 'ENHANCEMENT',
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface ReleaseNote {
|
|
27
|
+
type: RELEASE_UPDATE_TYPE;
|
|
28
|
+
description: string;
|
|
29
|
+
docLink?: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface VersionReleaseNotes {
|
|
33
|
+
version: string;
|
|
34
|
+
label?: string | undefined;
|
|
35
|
+
docLink?: string | undefined;
|
|
36
|
+
notes?: ReleaseNote[] | undefined;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const collectReleaseNotes = (
|
|
40
|
+
releaseNotes: VersionReleaseNotes[],
|
|
41
|
+
): VersionReleaseNotes[] =>
|
|
42
|
+
releaseNotes.map((release) => {
|
|
43
|
+
guaranteeNonEmptyString(
|
|
44
|
+
release.version,
|
|
45
|
+
"Release notes 'version' is missing",
|
|
46
|
+
);
|
|
47
|
+
release.notes?.map((note) => {
|
|
48
|
+
guaranteeNonEmptyString(note.type, "Release note 'type' is missing");
|
|
49
|
+
guaranteeNonEmptyString(
|
|
50
|
+
note.description,
|
|
51
|
+
"Release note 'description' is missing",
|
|
52
|
+
);
|
|
53
|
+
return note;
|
|
54
|
+
});
|
|
55
|
+
return release;
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export class ReleaseNotesService {
|
|
59
|
+
static STORAGE_NAME = 'application.release-notes.lastOpenedVersion';
|
|
60
|
+
applicationStore: GenericLegendApplicationStore;
|
|
61
|
+
releaseNotes: VersionReleaseNotes[] | undefined;
|
|
62
|
+
showCurrentReleaseModal = true;
|
|
63
|
+
showReleaseLog = false;
|
|
64
|
+
isConfigured = false;
|
|
65
|
+
|
|
66
|
+
constructor(applicationStore: GenericLegendApplicationStore) {
|
|
67
|
+
makeObservable(this, {
|
|
68
|
+
showCurrentReleaseModal: observable,
|
|
69
|
+
showReleaseLog: observable,
|
|
70
|
+
isConfigured: observable,
|
|
71
|
+
setShowCurrentRelease: action,
|
|
72
|
+
configure: action,
|
|
73
|
+
updateViewedVersion: action,
|
|
74
|
+
setReleaseLog: action,
|
|
75
|
+
});
|
|
76
|
+
this.applicationStore = applicationStore;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
configure(releaseNotes: VersionReleaseNotes[]): void {
|
|
80
|
+
this.isConfigured = true;
|
|
81
|
+
this.releaseNotes = collectReleaseNotes(releaseNotes);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
setShowCurrentRelease(val: boolean): void {
|
|
85
|
+
this.showCurrentReleaseModal = val;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
setReleaseLog(val: boolean): void {
|
|
89
|
+
this.showReleaseLog = val;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
getViewedVersions(): string | undefined {
|
|
93
|
+
return this.applicationStore.settingService.getStringValue(
|
|
94
|
+
ReleaseNotesService.STORAGE_NAME,
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
updateViewedVersion(version: string): void {
|
|
99
|
+
return this.applicationStore.settingService.persistValue(
|
|
100
|
+
ReleaseNotesService.STORAGE_NAME,
|
|
101
|
+
version,
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"./src/stores/LayoutService.ts",
|
|
75
75
|
"./src/stores/LegendApplicationPlugin.ts",
|
|
76
76
|
"./src/stores/NotificationService.ts",
|
|
77
|
+
"./src/stores/ReleaseNotesService.ts",
|
|
77
78
|
"./src/stores/SettingService.ts",
|
|
78
79
|
"./src/stores/TelemetryService.ts",
|
|
79
80
|
"./src/stores/TerminalService.ts",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"./src/components/BlockingAlert.tsx",
|
|
101
102
|
"./src/components/BrowserEnvironmentProvider.tsx",
|
|
102
103
|
"./src/components/NotificationManager.tsx",
|
|
104
|
+
"./src/components/ReleaseNotesManager.tsx",
|
|
103
105
|
"./src/components/VirtualAssistant.tsx",
|
|
104
106
|
"./src/components/useApplicationNavigationContext.tsx",
|
|
105
107
|
"./src/components/useCommands.tsx",
|