@finos/legend-application 15.1.2 → 15.1.4
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/components/ApplicationComponentFrameworkProvider.d.ts.map +1 -1
- package/lib/components/ApplicationComponentFrameworkProvider.js +1 -2
- package/lib/components/ApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/components/ReleaseNotesManager.d.ts.map +1 -1
- package/lib/components/ReleaseNotesManager.js +8 -13
- package/lib/components/ReleaseNotesManager.js.map +1 -1
- 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 +3 -3
- package/lib/stores/ReleaseNotesService.d.ts +5 -3
- package/lib/stores/ReleaseNotesService.d.ts.map +1 -1
- package/lib/stores/ReleaseNotesService.js +24 -7
- package/lib/stores/ReleaseNotesService.js.map +1 -1
- package/lib/stores/__test-utils__/ApplicationStoreTestUtils.js +1 -1
- package/lib/stores/__test-utils__/ApplicationStoreTestUtils.js.map +1 -1
- package/package.json +6 -6
- package/src/components/ApplicationComponentFrameworkProvider.tsx +0 -6
- package/src/components/ReleaseNotesManager.tsx +11 -23
- package/src/index.ts +1 -0
- package/src/stores/ReleaseNotesService.ts +39 -10
- package/src/stores/__test-utils__/ApplicationStoreTestUtils.ts +1 -1
|
@@ -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;AA4DnF;;;;;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;;CAqGtC,CAAC"}
|
|
@@ -26,7 +26,6 @@ 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';
|
|
30
29
|
var APPLICATION_COMPONENT_ELEMENT_ID;
|
|
31
30
|
(function (APPLICATION_COMPONENT_ELEMENT_ID) {
|
|
32
31
|
APPLICATION_COMPONENT_ELEMENT_ID["TOP_LEVEL_CONTAINER"] = "application.top-level-container";
|
|
@@ -137,7 +136,7 @@ export const ApplicationComponentFrameworkProvider = observer((props) => {
|
|
|
137
136
|
document.removeEventListener('visibilitychange', onVisibilityChange);
|
|
138
137
|
};
|
|
139
138
|
}, [applicationStore]);
|
|
140
|
-
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), _jsx(NotificationManager, {}), _jsx(VirtualAssistant, {}),
|
|
139
|
+
return (_jsxs(LegendStyleProvider, { children: [_jsx(BlockingAlert, {}), _jsx(ActionAlert, {}), _jsx(NotificationManager, {}), _jsx(VirtualAssistant, {}), applicationStore.layoutService.showBackdrop && (
|
|
141
140
|
// We use <Portal> here to insert backdrop into different parts of the app
|
|
142
141
|
// as backdrop relies heavily on z-index mechanism so its location in the DOM
|
|
143
142
|
// 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,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,C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AAW,KAAG,EACf,KAAC,mBAAmB,KAAG,EACvB,KAAC,gBAAgB,KAAG,EACnB,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"}
|
|
@@ -1 +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;
|
|
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;AAwC1C,eAAO,MAAM,aAAa,WAChB;IAAE,YAAY,EAAE,mBAAmB,CAAA;CAAE;;CAyC9C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CA0D9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;CAwD5B,CAAC"}
|
|
@@ -18,7 +18,7 @@ import { observer } from 'mobx-react-lite';
|
|
|
18
18
|
import { useApplicationStore } from './ApplicationStoreProvider.js';
|
|
19
19
|
import { ArrowCircleUpIcon, BugIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, ShareIcon, clsx, } from '@finos/legend-art';
|
|
20
20
|
import { RELEASE_UPDATE_TYPE, } from '../stores/ReleaseNotesService.js';
|
|
21
|
-
import { isValidUrl, prettyCONSTName
|
|
21
|
+
import { isValidUrl, prettyCONSTName } from '@finos/legend-shared';
|
|
22
22
|
const ReleaseNoteViewer = observer((props) => {
|
|
23
23
|
const { note } = props;
|
|
24
24
|
const applicationStore = useApplicationStore();
|
|
@@ -41,26 +41,20 @@ export const ReleaseViewer = observer((props) => {
|
|
|
41
41
|
export const ReleaseNotesManager = observer(() => {
|
|
42
42
|
const applicationStore = useApplicationStore();
|
|
43
43
|
const releaseService = applicationStore.releaseNotesService;
|
|
44
|
-
const releaseNotes = releaseService.
|
|
45
|
-
const version = applicationStore.config.appVersion;
|
|
46
|
-
const currentVersion = releaseNotes?.find((r) => r.version === version);
|
|
47
|
-
const storage = returnUndefOnError(() => releaseService.getViewedVersions());
|
|
44
|
+
const releaseNotes = releaseService.showableVersions();
|
|
48
45
|
const isOpen = releaseService.showCurrentReleaseModal;
|
|
49
|
-
if (!releaseService.isConfigured ||
|
|
50
|
-
!isOpen ||
|
|
51
|
-
!currentVersion ||
|
|
52
|
-
storage === version) {
|
|
46
|
+
if (!releaseService.isConfigured || !isOpen || !releaseNotes?.length) {
|
|
53
47
|
return null;
|
|
54
48
|
}
|
|
55
49
|
const closeModal = () => {
|
|
56
|
-
releaseService.updateViewedVersion(currentVersion.version);
|
|
57
50
|
releaseService.setShowCurrentRelease(false);
|
|
51
|
+
releaseService.updateViewedVersion();
|
|
58
52
|
};
|
|
59
53
|
const title = `Legend ${prettyCONSTName(applicationStore.config.appName)} has been upgraded !`;
|
|
60
54
|
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
61
55
|
root: 'release-notes__root-container',
|
|
62
56
|
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
|
|
57
|
+
}, 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 fixes 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" }) })] }) }));
|
|
64
58
|
});
|
|
65
59
|
export const ReleaseLogManager = observer(() => {
|
|
66
60
|
const applicationStore = useApplicationStore();
|
|
@@ -72,11 +66,12 @@ export const ReleaseLogManager = observer(() => {
|
|
|
72
66
|
const isOpen = releaseService.showCurrentReleaseModal;
|
|
73
67
|
const closeModal = () => {
|
|
74
68
|
releaseService.setReleaseLog(false);
|
|
69
|
+
releaseService.updateViewedVersion();
|
|
75
70
|
};
|
|
76
|
-
const title = `
|
|
71
|
+
const title = `Release Notes`;
|
|
77
72
|
return (_jsx(Dialog, { open: isOpen, onClose: closeModal, classes: {
|
|
78
73
|
root: 'release-notes__root-container',
|
|
79
74
|
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
|
|
75
|
+
}, 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 fixes 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
76
|
});
|
|
82
77
|
//# sourceMappingURL=ReleaseNotesManager.js.map
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"Rele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AAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,oCAAoC,aAE9C,KAAC,WAAW,IACV,SAAS,EAAC,sCAAsC,EAChD,KAAK,EAAE,KAAK,GACZ,EAEF,KAAC,SAAS,IAAC,SAAS,EAAC,6BAA6B,YAChD,eAAK,SAAS,EAAC,gCAAgC,aAC7C,cAAK,SAAS,EAAC,uCAAuC,4EAEhD,EACL,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACvB,KAAC,aAAa,IAAiB,YAAY,EAAE,CAAC,IAA1B,CAAC,CAAC,OAAO,CAAqB,CACnD,CAAC,IACE,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,SAAS,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.
|
|
1
|
+
/** @license @finos/legend-application v15.1.4
|
|
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}.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 */
|
|
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__entry__value__action{text-decoration:none;font-weight:700;color:var(--color-blue-50);cursor:pointer}.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","../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,+
|
|
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,iCACE,qBACA,gBACA,2BACA,eAGF,uBACE,aACA,gBACA,YAEA,+BC5CJ,aACA,mBD8CM,cACA,sCACA,8BACA,eAEA,sCACE,eACA,iBACA,gBACA,iCACA,oCAIJ,gCACE,2BACA,cACA,aACA,qCACA,8BAIA,yCC/CN,YACA,cDiDQ,aACA,WAGF,iDCtDN,YACA,cDwDQ,WAEA,qDACE,iBAIJ,+CChEN,YACA,cDkEQ,WAEA,mDACE,iBACA,4BAIJ,0CACE,aACA,cACA,YACA,iBACA,YACA,mBACA,iBACA,oCAEA,iDACE,iBAGF,mDCtHR,aACA,mBACA,uBDuHU,YACA,iBAGF,0DC7HR,aACA,mBACA,uBD8HU,cACA,cACA,sCACA,eACA,oBE1IZ,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
|
@@ -26,6 +26,7 @@ export * from './components/ApplicationStoreProvider.js';
|
|
|
26
26
|
export * from './components/ApplicationFrameworkProvider.js';
|
|
27
27
|
export * from './components/useApplicationNavigationContext.js';
|
|
28
28
|
export * from './components/useCommands.js';
|
|
29
|
+
export * from './components/ReleaseNotesManager.js';
|
|
29
30
|
export { forceDispatchKeyboardEvent, BackdropContainer, } from './components/ApplicationComponentFrameworkProvider.js';
|
|
30
31
|
export * from './stores/ApplicationStore.js';
|
|
31
32
|
export { NAVIGATION_ZONE_SEPARATOR, NavigationService, type NavigationAddress, type NavigationLocation, type NavigationZone, } from './stores/navigation/NavigationService.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;;;;;;;;;;;;;;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,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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AC7C,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
|
@@ -26,6 +26,7 @@ export * from './components/ApplicationStoreProvider.js';
|
|
|
26
26
|
export * from './components/ApplicationFrameworkProvider.js';
|
|
27
27
|
export * from './components/useApplicationNavigationContext.js';
|
|
28
28
|
export * from './components/useCommands.js';
|
|
29
|
+
export * from './components/ReleaseNotesManager.js';
|
|
29
30
|
export { forceDispatchKeyboardEvent, BackdropContainer, } from './components/ApplicationComponentFrameworkProvider.js';
|
|
30
31
|
export * from './stores/ApplicationStore.js';
|
|
31
32
|
export { NAVIGATION_ZONE_SEPARATOR, NavigationService, } from './stores/navigation/NavigationService.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,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c,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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.4",
|
|
4
4
|
"description": "Legend application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@finos/legend-art": "workspace:*",
|
|
49
49
|
"@finos/legend-shared": "workspace:*",
|
|
50
|
-
"@types/react": "18.3.
|
|
50
|
+
"@types/react": "18.3.3",
|
|
51
51
|
"@types/react-dom": "18.3.0",
|
|
52
52
|
"@types/react-router-dom": "5.3.3",
|
|
53
53
|
"history": "5.3.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"jest": "29.7.0",
|
|
76
76
|
"npm-run-all": "4.1.5",
|
|
77
77
|
"rimraf": "5.0.7",
|
|
78
|
-
"sass": "1.77.
|
|
78
|
+
"sass": "1.77.3",
|
|
79
79
|
"typescript": "5.4.5"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
@@ -30,8 +30,8 @@ export interface VersionReleaseNotes {
|
|
|
30
30
|
notes?: ReleaseNote[] | undefined;
|
|
31
31
|
}
|
|
32
32
|
export declare const collectReleaseNotes: (releaseNotes: VersionReleaseNotes[]) => VersionReleaseNotes[];
|
|
33
|
+
export declare const APPLICATION_LAST_OPENED_VERSION = "application.lastOpenedVersion";
|
|
33
34
|
export declare class ReleaseNotesService {
|
|
34
|
-
static STORAGE_NAME: string;
|
|
35
35
|
applicationStore: GenericLegendApplicationStore;
|
|
36
36
|
releaseNotes: VersionReleaseNotes[] | undefined;
|
|
37
37
|
showCurrentReleaseModal: boolean;
|
|
@@ -41,7 +41,9 @@ export declare class ReleaseNotesService {
|
|
|
41
41
|
configure(releaseNotes: VersionReleaseNotes[]): void;
|
|
42
42
|
setShowCurrentRelease(val: boolean): void;
|
|
43
43
|
setReleaseLog(val: boolean): void;
|
|
44
|
-
|
|
45
|
-
updateViewedVersion(
|
|
44
|
+
getViewedVersion(): string | undefined;
|
|
45
|
+
updateViewedVersion(): void;
|
|
46
|
+
showVersion(versionNotes: VersionReleaseNotes, lastOpenedVersion: string): boolean;
|
|
47
|
+
showableVersions(): VersionReleaseNotes[] | undefined;
|
|
46
48
|
}
|
|
47
49
|
//# sourceMappingURL=ReleaseNotesService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseNotesService.d.ts","sourceRoot":"","sources":["../../src/stores/ReleaseNotesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"ReleaseNotesService.d.ts","sourceRoot":"","sources":["../../src/stores/ReleaseNotesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAG3E,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC;CACnC;AAED,eAAO,MAAM,mBAAmB,iBAChB,mBAAmB,EAAE,KAClC,mBAAmB,EAelB,CAAC;AAEL,eAAO,MAAM,+BAA+B,kCAAkC,CAAC;AAE/E,qBAAa,mBAAmB;IAC9B,gBAAgB,EAAE,6BAA6B,CAAC;IAChD,YAAY,EAAE,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAChD,uBAAuB,UAAQ;IAC/B,cAAc,UAAS;IACvB,YAAY,UAAS;gBAET,gBAAgB,EAAE,6BAA6B;IAY3D,SAAS,CAAC,YAAY,EAAE,mBAAmB,EAAE,GAAG,IAAI;IAKpD,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIjC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAMtC,mBAAmB,IAAI,IAAI;IAO3B,WAAW,CACT,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,MAAM,GACxB,OAAO;IAUV,gBAAgB,IAAI,mBAAmB,EAAE,GAAG,SAAS;CAWtD"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { guaranteeNonEmptyString } from '@finos/legend-shared';
|
|
16
|
+
import { compareSemVerVersions, guaranteeNonEmptyString, isSemVer, } from '@finos/legend-shared';
|
|
17
17
|
import { action, makeObservable, observable } from 'mobx';
|
|
18
18
|
export var RELEASE_UPDATE_TYPE;
|
|
19
19
|
(function (RELEASE_UPDATE_TYPE) {
|
|
@@ -29,8 +29,8 @@ export const collectReleaseNotes = (releaseNotes) => releaseNotes.map((release)
|
|
|
29
29
|
});
|
|
30
30
|
return release;
|
|
31
31
|
});
|
|
32
|
+
export const APPLICATION_LAST_OPENED_VERSION = 'application.lastOpenedVersion';
|
|
32
33
|
export class ReleaseNotesService {
|
|
33
|
-
static STORAGE_NAME = 'application.release-notes.lastOpenedVersion';
|
|
34
34
|
applicationStore;
|
|
35
35
|
releaseNotes;
|
|
36
36
|
showCurrentReleaseModal = true;
|
|
@@ -43,7 +43,6 @@ export class ReleaseNotesService {
|
|
|
43
43
|
isConfigured: observable,
|
|
44
44
|
setShowCurrentRelease: action,
|
|
45
45
|
configure: action,
|
|
46
|
-
updateViewedVersion: action,
|
|
47
46
|
setReleaseLog: action,
|
|
48
47
|
});
|
|
49
48
|
this.applicationStore = applicationStore;
|
|
@@ -58,11 +57,29 @@ export class ReleaseNotesService {
|
|
|
58
57
|
setReleaseLog(val) {
|
|
59
58
|
this.showReleaseLog = val;
|
|
60
59
|
}
|
|
61
|
-
|
|
62
|
-
return this.applicationStore.
|
|
60
|
+
getViewedVersion() {
|
|
61
|
+
return this.applicationStore.userDataService.getStringValue(APPLICATION_LAST_OPENED_VERSION);
|
|
63
62
|
}
|
|
64
|
-
updateViewedVersion(
|
|
65
|
-
|
|
63
|
+
updateViewedVersion() {
|
|
64
|
+
this.applicationStore.userDataService.persistValue(APPLICATION_LAST_OPENED_VERSION, this.applicationStore.config.appVersion);
|
|
65
|
+
}
|
|
66
|
+
showVersion(versionNotes, lastOpenedVersion) {
|
|
67
|
+
const version = versionNotes.version;
|
|
68
|
+
if (isSemVer(version) && isSemVer(lastOpenedVersion)) {
|
|
69
|
+
if (compareSemVerVersions(version, lastOpenedVersion) === 1) {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
showableVersions() {
|
|
76
|
+
const lastOpenedVersion = this.getViewedVersion();
|
|
77
|
+
if (!lastOpenedVersion) {
|
|
78
|
+
// TODO: change after release
|
|
79
|
+
// return undefined;
|
|
80
|
+
return this.releaseNotes;
|
|
81
|
+
}
|
|
82
|
+
return this.releaseNotes?.filter((val) => this.showVersion(val, lastOpenedVersion));
|
|
66
83
|
}
|
|
67
84
|
}
|
|
68
85
|
//# sourceMappingURL=ReleaseNotesService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseNotesService.js","sourceRoot":"","sources":["../../src/stores/ReleaseNotesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"ReleaseNotesService.js","sourceRoot":"","sources":["../../src/stores/ReleaseNotesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAE9B,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;AAeD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,YAAmC,EACZ,EAAE,CACzB,YAAY,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;IAC3B,uBAAuB,CACrB,OAAO,CAAC,OAAO,EACf,oCAAoC,CACrC,CAAC;IACF,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC1B,uBAAuB,CAAC,IAAI,CAAC,IAAI,EAAE,gCAAgC,CAAC,CAAC;QACrE,uBAAuB,CACrB,IAAI,CAAC,WAAW,EAChB,uCAAuC,CACxC,CAAC;QACF,OAAO,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,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACrD,IAAI,qBAAqB,CAAC,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC5D,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,gBAAgB;QACd,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAClD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,6BAA6B;YAC7B,oBAAoB;YACpB,OAAO,IAAI,CAAC,YAAY,CAAC;QAC3B,CAAC;QACD,OAAO,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CACvC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACzC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationStoreTestUtils.js","sourceRoot":"","sources":["../../../src/stores/__test-utils__/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,CAAC,MAAM,+BAA+B,GAC1C,GAAiC,EAAE,CAAC,CAAC;IACnC,SAAS,EAAE,0BAA0B;IACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ApplicationStoreTestUtils.js","sourceRoot":"","sources":["../../../src/stores/__test-utils__/ApplicationStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,CAAC,MAAM,+BAA+B,GAC1C,GAAiC,EAAE,CAAC,CAAC;IACnC,SAAS,EAAE,0BAA0B;IACrC,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE,gBAAgB;CAC5B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.4",
|
|
4
4
|
"description": "Legend application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"test:watch": "jest --watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@finos/legend-art": "7.1.
|
|
49
|
-
"@finos/legend-shared": "10.0.
|
|
50
|
-
"@types/react": "18.3.
|
|
48
|
+
"@finos/legend-art": "7.1.33",
|
|
49
|
+
"@finos/legend-shared": "10.0.37",
|
|
50
|
+
"@types/react": "18.3.3",
|
|
51
51
|
"@types/react-dom": "18.3.0",
|
|
52
52
|
"@types/react-router-dom": "5.3.3",
|
|
53
53
|
"history": "5.3.0",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"xterm-addon-webgl": "0.16.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@finos/legend-dev-utils": "2.1.
|
|
71
|
+
"@finos/legend-dev-utils": "2.1.6",
|
|
72
72
|
"@jest/globals": "29.7.0",
|
|
73
73
|
"cross-env": "7.0.3",
|
|
74
74
|
"eslint": "8.57.0",
|
|
75
75
|
"jest": "29.7.0",
|
|
76
76
|
"npm-run-all": "4.1.5",
|
|
77
77
|
"rimraf": "5.0.7",
|
|
78
|
-
"sass": "1.77.
|
|
78
|
+
"sass": "1.77.3",
|
|
79
79
|
"typescript": "5.4.5"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
@@ -30,10 +30,6 @@ 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';
|
|
37
33
|
|
|
38
34
|
enum APPLICATION_COMPONENT_ELEMENT_ID {
|
|
39
35
|
TOP_LEVEL_CONTAINER = 'application.top-level-container',
|
|
@@ -179,8 +175,6 @@ export const ApplicationComponentFrameworkProvider = observer(
|
|
|
179
175
|
<ActionAlert />
|
|
180
176
|
<NotificationManager />
|
|
181
177
|
<VirtualAssistant />
|
|
182
|
-
<ReleaseLogManager />
|
|
183
|
-
<ReleaseNotesManager />
|
|
184
178
|
{applicationStore.layoutService.showBackdrop && (
|
|
185
179
|
// We use <Portal> here to insert backdrop into different parts of the app
|
|
186
180
|
// as backdrop relies heavily on z-index mechanism so its location in the DOM
|
|
@@ -33,11 +33,7 @@ import {
|
|
|
33
33
|
type ReleaseNote,
|
|
34
34
|
type VersionReleaseNotes,
|
|
35
35
|
} from '../stores/ReleaseNotesService.js';
|
|
36
|
-
import {
|
|
37
|
-
isValidUrl,
|
|
38
|
-
prettyCONSTName,
|
|
39
|
-
returnUndefOnError,
|
|
40
|
-
} from '@finos/legend-shared';
|
|
36
|
+
import { isValidUrl, prettyCONSTName } from '@finos/legend-shared';
|
|
41
37
|
|
|
42
38
|
const ReleaseNoteViewer = observer((props: { note: ReleaseNote }) => {
|
|
43
39
|
const { note } = props;
|
|
@@ -123,23 +119,15 @@ export const ReleaseViewer = observer(
|
|
|
123
119
|
export const ReleaseNotesManager = observer(() => {
|
|
124
120
|
const applicationStore = useApplicationStore();
|
|
125
121
|
const releaseService = applicationStore.releaseNotesService;
|
|
126
|
-
const releaseNotes = releaseService.
|
|
127
|
-
const version = applicationStore.config.appVersion;
|
|
128
|
-
const currentVersion = releaseNotes?.find((r) => r.version === version);
|
|
129
|
-
const storage = returnUndefOnError(() => releaseService.getViewedVersions());
|
|
122
|
+
const releaseNotes = releaseService.showableVersions();
|
|
130
123
|
const isOpen = releaseService.showCurrentReleaseModal;
|
|
131
|
-
if (
|
|
132
|
-
!releaseService.isConfigured ||
|
|
133
|
-
!isOpen ||
|
|
134
|
-
!currentVersion ||
|
|
135
|
-
storage === version
|
|
136
|
-
) {
|
|
124
|
+
if (!releaseService.isConfigured || !isOpen || !releaseNotes?.length) {
|
|
137
125
|
return null;
|
|
138
126
|
}
|
|
139
127
|
|
|
140
128
|
const closeModal = (): void => {
|
|
141
|
-
releaseService.updateViewedVersion(currentVersion.version);
|
|
142
129
|
releaseService.setShowCurrentRelease(false);
|
|
130
|
+
releaseService.updateViewedVersion();
|
|
143
131
|
};
|
|
144
132
|
const title = `Legend ${prettyCONSTName(
|
|
145
133
|
applicationStore.config.appName,
|
|
@@ -167,9 +155,11 @@ export const ReleaseNotesManager = observer(() => {
|
|
|
167
155
|
<ModalBody className="release-notes__dialog__body">
|
|
168
156
|
<div className="release-notes__dialog__content">
|
|
169
157
|
<div className="release-notes__dialog__content__title">
|
|
170
|
-
New features, enhancements and bug
|
|
158
|
+
New features, enhancements and bug fixes that were released
|
|
171
159
|
</div>
|
|
172
|
-
|
|
160
|
+
{releaseNotes.map((e) => (
|
|
161
|
+
<ReleaseViewer key={e.version} releaseNotes={e} />
|
|
162
|
+
))}
|
|
173
163
|
</div>
|
|
174
164
|
</ModalBody>
|
|
175
165
|
<ModalFooter>
|
|
@@ -194,14 +184,12 @@ export const ReleaseLogManager = observer(() => {
|
|
|
194
184
|
return null;
|
|
195
185
|
}
|
|
196
186
|
const releaseNotes = releaseService.releaseNotes ?? [];
|
|
197
|
-
|
|
198
187
|
const isOpen = releaseService.showCurrentReleaseModal;
|
|
199
188
|
const closeModal = (): void => {
|
|
200
189
|
releaseService.setReleaseLog(false);
|
|
190
|
+
releaseService.updateViewedVersion();
|
|
201
191
|
};
|
|
202
|
-
const title = `
|
|
203
|
-
applicationStore.config.appName,
|
|
204
|
-
)} Release Log`;
|
|
192
|
+
const title = `Release Notes`;
|
|
205
193
|
return (
|
|
206
194
|
<Dialog
|
|
207
195
|
open={isOpen}
|
|
@@ -225,7 +213,7 @@ export const ReleaseLogManager = observer(() => {
|
|
|
225
213
|
<ModalBody className="release-notes__dialog__body">
|
|
226
214
|
<div className="release-notes__dialog__content">
|
|
227
215
|
<div className="release-notes__dialog__content__title">
|
|
228
|
-
New features, enhancements and bug
|
|
216
|
+
New features, enhancements and bug fixes that were released
|
|
229
217
|
</div>
|
|
230
218
|
{releaseNotes.map((e) => (
|
|
231
219
|
<ReleaseViewer key={e.version} releaseNotes={e} />
|
package/src/index.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './components/ApplicationStoreProvider.js';
|
|
|
30
30
|
export * from './components/ApplicationFrameworkProvider.js';
|
|
31
31
|
export * from './components/useApplicationNavigationContext.js';
|
|
32
32
|
export * from './components/useCommands.js';
|
|
33
|
+
export * from './components/ReleaseNotesManager.js';
|
|
33
34
|
export {
|
|
34
35
|
forceDispatchKeyboardEvent,
|
|
35
36
|
BackdropContainer,
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
compareSemVerVersions,
|
|
19
|
+
guaranteeNonEmptyString,
|
|
20
|
+
isSemVer,
|
|
21
|
+
} from '@finos/legend-shared';
|
|
18
22
|
import type { GenericLegendApplicationStore } from './ApplicationStore.js';
|
|
19
23
|
import { action, makeObservable, observable } from 'mobx';
|
|
20
24
|
|
|
@@ -55,8 +59,9 @@ export const collectReleaseNotes = (
|
|
|
55
59
|
return release;
|
|
56
60
|
});
|
|
57
61
|
|
|
62
|
+
export const APPLICATION_LAST_OPENED_VERSION = 'application.lastOpenedVersion';
|
|
63
|
+
|
|
58
64
|
export class ReleaseNotesService {
|
|
59
|
-
static STORAGE_NAME = 'application.release-notes.lastOpenedVersion';
|
|
60
65
|
applicationStore: GenericLegendApplicationStore;
|
|
61
66
|
releaseNotes: VersionReleaseNotes[] | undefined;
|
|
62
67
|
showCurrentReleaseModal = true;
|
|
@@ -70,7 +75,6 @@ export class ReleaseNotesService {
|
|
|
70
75
|
isConfigured: observable,
|
|
71
76
|
setShowCurrentRelease: action,
|
|
72
77
|
configure: action,
|
|
73
|
-
updateViewedVersion: action,
|
|
74
78
|
setReleaseLog: action,
|
|
75
79
|
});
|
|
76
80
|
this.applicationStore = applicationStore;
|
|
@@ -89,16 +93,41 @@ export class ReleaseNotesService {
|
|
|
89
93
|
this.showReleaseLog = val;
|
|
90
94
|
}
|
|
91
95
|
|
|
92
|
-
|
|
93
|
-
return this.applicationStore.
|
|
94
|
-
|
|
96
|
+
getViewedVersion(): string | undefined {
|
|
97
|
+
return this.applicationStore.userDataService.getStringValue(
|
|
98
|
+
APPLICATION_LAST_OPENED_VERSION,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
updateViewedVersion(): void {
|
|
103
|
+
this.applicationStore.userDataService.persistValue(
|
|
104
|
+
APPLICATION_LAST_OPENED_VERSION,
|
|
105
|
+
this.applicationStore.config.appVersion,
|
|
95
106
|
);
|
|
96
107
|
}
|
|
97
108
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
109
|
+
showVersion(
|
|
110
|
+
versionNotes: VersionReleaseNotes,
|
|
111
|
+
lastOpenedVersion: string,
|
|
112
|
+
): boolean {
|
|
113
|
+
const version = versionNotes.version;
|
|
114
|
+
if (isSemVer(version) && isSemVer(lastOpenedVersion)) {
|
|
115
|
+
if (compareSemVerVersions(version, lastOpenedVersion) === 1) {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
showableVersions(): VersionReleaseNotes[] | undefined {
|
|
123
|
+
const lastOpenedVersion = this.getViewedVersion();
|
|
124
|
+
if (!lastOpenedVersion) {
|
|
125
|
+
// TODO: change after release
|
|
126
|
+
// return undefined;
|
|
127
|
+
return this.releaseNotes;
|
|
128
|
+
}
|
|
129
|
+
return this.releaseNotes?.filter((val) =>
|
|
130
|
+
this.showVersion(val, lastOpenedVersion),
|
|
102
131
|
);
|
|
103
132
|
}
|
|
104
133
|
}
|
|
@@ -19,6 +19,6 @@ import type { LegendApplicationVersionData } from '../../application/LegendAppli
|
|
|
19
19
|
export const TEST__getApplicationVersionData =
|
|
20
20
|
(): LegendApplicationVersionData => ({
|
|
21
21
|
buildTime: '2000-01-01T00:00:00-0000',
|
|
22
|
-
version: '
|
|
22
|
+
version: '4.0.0',
|
|
23
23
|
commitSHA: 'test-commit-id',
|
|
24
24
|
});
|