@finos/legend-application-studio 28.18.18 → 28.18.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"LegendStudioAppInfo.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioAppInfo.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8IH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CA+JA,CAAC"}
1
+ {"version":3,"file":"LegendStudioAppInfo.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioAppInfo.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8IH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CA0KA,CAAC"}
@@ -98,7 +98,11 @@ export const LegendStudioAppInfo = (props) => {
98
98
  ?.map((id) => appExtensionInfoTreeData.nodes.get(id))
99
99
  .filter(isNonNullable) ?? [];
100
100
  const isAppExtensionInfoEmpty = !appExtensionInfoTreeData.nodes.size;
101
- return (_jsx(Dialog, { onClose: closeModal, open: open, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable app__info", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { icon: _jsx(InfoCircleIcon, {}), title: "About" }), _jsxs(ModalHeaderActions, { children: [_jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: copyInfo, title: "Copy application info", children: _jsx(CopyIcon, {}) }), _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsx(TimesIcon, {}) })] })] }), _jsxs(ModalBody, { children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Environment:" }), _jsx("div", { className: "app__info__entry__value", children: config.env })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Version:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersion })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Revision:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionCommitId })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Build Time:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionBuildTime })] }), _jsxs("div", { className: "app__info__group", children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "SDLC Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.sdlcServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.sdlcServerUrl }) })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Engine Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.engineServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.engineServerUrl }) })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Depot Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.depotServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.depotServerUrl }) })] })] }), _jsxs("div", { className: "app__info__extensions", children: [_jsx("div", { className: "app__info__extensions__header", children: _jsx("div", { className: "app__info__extensions__header__title", children: "EXTENSIONS" }) }), _jsxs("div", { className: "app__info__extensions__content", children: [isAppExtensionInfoEmpty && (_jsx(BlankPanelContent, { children: "no extensions available" })), !isAppExtensionInfoEmpty && (_jsx(TreeView, { components: {
101
+ const goToReleaseLog = () => {
102
+ applicationStore.releaseNotesService.setReleaseLog(true);
103
+ closeModal();
104
+ };
105
+ return (_jsx(Dialog, { onClose: closeModal, open: open, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable app__info", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { icon: _jsx(InfoCircleIcon, {}), title: "About" }), _jsxs(ModalHeaderActions, { children: [_jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: copyInfo, title: "Copy application info", children: _jsx(CopyIcon, {}) }), _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsx(TimesIcon, {}) })] })] }), _jsxs(ModalBody, { children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Environment:" }), _jsx("div", { className: "app__info__entry__value", children: config.env })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Version:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersion })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Revision:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionCommitId })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Build Time:" }), _jsx("div", { className: "app__info__entry__value", children: config.appVersionBuildTime })] }), _jsx("div", { className: "app__info__entry", children: _jsx("div", { onClick: goToReleaseLog, className: "app__info__entry__value app__info__entry__value__action", children: "Details of Released Versions" }) }), _jsxs("div", { className: "app__info__group", children: [_jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "SDLC Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.sdlcServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.sdlcServerUrl }) })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Engine Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.engineServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.engineServerUrl }) })] }), _jsxs("div", { className: "app__info__entry", children: [_jsx("div", { className: "app__info__entry__title", children: "Depot Server:" }), _jsx("div", { className: "app__info__entry__value", children: _jsx("a", { href: config.depotServerUrl, target: "_blank", rel: "noopener noreferrer", children: config.depotServerUrl }) })] })] }), _jsxs("div", { className: "app__info__extensions", children: [_jsx("div", { className: "app__info__extensions__header", children: _jsx("div", { className: "app__info__extensions__header__title", children: "EXTENSIONS" }) }), _jsxs("div", { className: "app__info__extensions__content", children: [isAppExtensionInfoEmpty && (_jsx(BlankPanelContent, { children: "no extensions available" })), !isAppExtensionInfoEmpty && (_jsx(TreeView, { components: {
102
106
  TreeNodeContainer: AppExtensionInfoTreeNodeContainer,
103
107
  }, treeData: appExtensionInfoTreeData, getChildNodes: getAppExtensionInfoTreeChildNodes, onNodeSelect: onAppExtensionInfoTreeNodeSelect, innerProps: {} }))] })] })] })] }) }));
104
108
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LegendStudioAppInfo.js","sourceRoot":"","sources":["../../src/components/LegendStudioAppInfo.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,SAAS,EACT,QAAQ,GAIT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,aAAa,EAEb,UAAU,GAEX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAErF,MAAM,4BAA4B;IAChC,EAAE,CAAS;IACX,KAAK,CAAS;IACd,UAAU,CAAW;IACrB,MAAM,CAAW;IACjB,WAAW,CAAY;IACvB,IAAI,CAA0B;IAE9B,YAAY,EAAU,EAAE,KAAa,EAAE,IAA6B;QAClE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAA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C,cAAK,SAAS,EAAC,sCAAsC,2BAE/C,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,uBAAuB,IAAI,CAC1B,KAAC,iBAAiB,0CAA4C,CAC/D,EACA,CAAC,uBAAuB,IAAI,CAC3B,KAAC,QAAQ,IACP,UAAU,EAAE;gDACV,iBAAiB,EAAE,iCAAiC;6CACrD,EACD,QAAQ,EAAE,wBAAwB,EAClC,aAAa,EAAE,iCAAiC,EAChD,YAAY,EAAE,gCAAgC,EAC9C,UAAU,EAAE,EAAE,GACd,CACH,IACG,IACF,IACI,IACN,GACD,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"LegendStudioAppInfo.js","sourceRoot":"","sources":["../../src/components/LegendStudioAppInfo.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,SAAS,EACT,QAAQ,GAIT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,aAAa,EAEb,UAAU,GAEX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAErF,MAAM,4BAA4B;IAChC,EAAE,CAAS;IACX,KAAK,CAAS;IACd,UAAU,CAAW;IACrB,MAAM,CAAW;IACjB,WAAW,CAAY;IACvB,IAAI,CAA0B;IAE9B,YAAY,EAAU,EAAE,KAAa,EAAE,IAA6B;QAClE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAED,MAA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,EAC3B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,YAExB,MAAM,CAAC,cAAc,GACpB,GACA,IACF,IACF,EACN,eAAK,SAAS,EAAC,uBAAuB,aACpC,cAAK,SAAS,EAAC,+BAA+B,YAC5C,cAAK,SAAS,EAAC,sCAAsC,2BAE/C,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,uBAAuB,IAAI,CAC1B,KAAC,iBAAiB,0CAA4C,CAC/D,EACA,CAAC,uBAAuB,IAAI,CAC3B,KAAC,QAAQ,IACP,UAAU,EAAE;gDACV,iBAAiB,EAAE,iCAAiC;6CACrD,EACD,QAAQ,EAAE,wBAAwB,EAClC,aAAa,EAAE,iCAAiC,EAChD,YAAY,EAAE,gCAAgC,EAC9C,UAAU,EAAE,EAAE,GACd,CACH,IACG,IACF,IACI,IACN,GACD,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiEH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAmFnC,CAAC;AAEF,eAAO,MAAM,WAAW;;CA2RtB,CAAC"}
1
+ {"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqEH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EA0FnC,CAAC;AAEF,eAAO,MAAM,WAAW;;CA2RtB,CAAC"}
@@ -19,8 +19,8 @@ import { ACTIVITY_MODE, EDITOR_MODE, PANEL_MODE, USER_JOURNEYS, } from '../../st
19
19
  import { LEGEND_STUDIO_TEST_ID } from '../../__lib__/LegendStudioTesting.js';
20
20
  import { clsx, ControlledDropdownMenu, RepoIcon, MenuContent, MenuContentItem, MenuContentItemLabel, GitPullRequestIcon, GitMergeIcon, CloudDownloadIcon, CogIcon, CodeBranchIcon, EmptyClockIcon, WrenchIcon, FileTrayIcon, MenuIcon, MenuContentDivider, FlaskIcon, RobotIcon, WorkflowIcon, ReadMeIcon, } from '@finos/legend-art';
21
21
  import { useEditorStore } from './EditorStoreProvider.js';
22
- import { forwardRef, useState } from 'react';
23
- import { VIRTUAL_ASSISTANT_TAB } from '@finos/legend-application';
22
+ import { forwardRef, useEffect, useState } from 'react';
23
+ import { ReleaseLogManager, ReleaseNotesManager, VIRTUAL_ASSISTANT_TAB, } from '@finos/legend-application';
24
24
  import { LegendStudioAppInfo } from '../LegendStudioAppInfo.js';
25
25
  import { generateSetupRoute } from '../../__lib__/LegendStudioNavigation.js';
26
26
  import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
@@ -61,11 +61,15 @@ export const ActivityBarMenu = () => {
61
61
  };
62
62
  // showcases
63
63
  const showcaseManagerState = ShowcaseManagerState.retrieveNullableState(applicationStore);
64
+ // release notification
65
+ useEffect(() => {
66
+ applicationStore.releaseNotesService.updateViewedVersion();
67
+ }, [applicationStore]);
64
68
  return (_jsxs(_Fragment, { children: [_jsx("div", { className: "activity-bar__menu", children: _jsx(ControlledDropdownMenu, { className: "activity-bar__menu-item", menuProps: {
65
69
  anchorOrigin: { vertical: 'top', horizontal: 'right' },
66
70
  transformOrigin: { vertical: 'top', horizontal: 'left' },
67
71
  elevation: 7,
68
- }, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: showAppInfo, children: "About" }), showcaseManagerState?.isEnabled && (_jsx(MenuContentItem, { onClick: () => openShowcaseManager(applicationStore), children: "See Showcases" })), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentItem, { onClick: openHelp, children: "Help..." }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { onClick: goToWorkspaceSetup, children: "Back to workspace setup" })] }), children: _jsx(MenuIcon, {}) }) }), _jsx(LegendStudioAppInfo, { open: openAppInfo, closeModal: hideAppInfo })] }));
72
+ }, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: showAppInfo, children: "About" }), showcaseManagerState?.isEnabled && (_jsx(MenuContentItem, { onClick: () => openShowcaseManager(applicationStore), children: "See Showcases" })), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentItem, { onClick: openHelp, children: "Help..." }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { onClick: goToWorkspaceSetup, children: "Back to workspace setup" })] }), children: _jsx(MenuIcon, {}) }) }), _jsx(LegendStudioAppInfo, { open: openAppInfo, closeModal: hideAppInfo }), _jsx(ReleaseLogManager, {}), _jsx(ReleaseNotesManager, {})] }));
69
73
  };
70
74
  export const ActivityBar = observer(() => {
71
75
  const editorStore = useEditorStore();
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityBar.js","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,IAAI,EACJ,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,cAAc,EACd,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,YAAY,EACZ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AAU,EAChB,OAAO,EAAE,KAAC,YAAY,KAAG,EACzB,SAAS,EAAE;oBACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oBACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE;oBAC3D,SAAS,EAAE,CAAC;iBACb,YAED,KAAC,OAAO,KAAG,GACY,IACrB,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceReview.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8BH,eAAO,MAAM,oBAAoB;;CAkD/B,CAAC;AAEH,eAAO,MAAM,eAAe;;CA2O1B,CAAC"}
1
+ {"version":3,"file":"WorkspaceReview.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+BH,eAAO,MAAM,oBAAoB;;CAkD/B,CAAC;AAEH,eAAO,MAAM,eAAe;;CA2O1B,CAAC"}
@@ -28,6 +28,7 @@ import { entityDiffSorter } from '../../../stores/editor/EditorSDLCState.js';
28
28
  import { useEditorStore } from '../EditorStoreProvider.js';
29
29
  import { useLegendStudioApplicationStore } from '../../LegendStudioFrameworkProvider.js';
30
30
  import { formatDistanceToNow } from '@finos/legend-shared';
31
+ import { STUDIO_SDLC_USER_ERRORS } from '../../shared/StudioSDLCErrors.js';
31
32
  export const WorkspaceReviewDiffs = observer(() => {
32
33
  const editorStore = useEditorStore();
33
34
  const workspaceReviewState = editorStore.workspaceReviewState;
@@ -75,7 +76,7 @@ export const WorkspaceReview = observer(() => {
75
76
  workspaceContainsSnapshotDependencies ||
76
77
  !workspaceReviewState.canMergeReview;
77
78
  const commitReviewTitle = workspaceContainsSnapshotDependencies
78
- ? `Can't commit review: workspace has snapshot dependencies`
79
+ ? STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT
79
80
  : workspaceReviewState.sdlcState.isActiveProjectSandbox
80
81
  ? `Can't commit review: reviews are not allowed on sandbox projects`
81
82
  : !workspaceReviewState.canMergeReview
@@ -97,7 +98,7 @@ export const WorkspaceReview = observer(() => {
97
98
  !workspaceReviewState.canCreateReview ||
98
99
  workspaceReviewState.sdlcState.isActiveProjectSandbox;
99
100
  const createReviewTitle = workspaceContainsSnapshotDependencies
100
- ? `Can't create review: workspace has snapshot dependencies`
101
+ ? STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT
101
102
  : workspaceReviewState.sdlcState.isActiveProjectSandbox
102
103
  ? `Can't create review: reviews are not allowed on sandbox projects`
103
104
  : !workspaceReviewState.canCreateReview
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceReview.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qFAAqF,CAAC;AAC1H,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAA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Q,EAAE,sBAAsB,EAChC,KAAK,EAAE,iBAAiB,YAExB,KAAC,QAAQ,KAAG,GACL,IACJ,GACN,CACJ,EACA,eAAe,IAAI,CAClB,8BACE,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,kCAAkC,YAC/C,cACE,SAAS,EAAC,4FAA4F,EACtG,KAAK,EAAC,mBAAmB,YAEzB,kBACE,SAAS,EAAC,+CAA+C,EACzD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,GAAS,EAAE,CAClB,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CACvD,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,eAAe,CAC1D,mBAAmB,CACjB,eAAe,CAAC,SAAS,EACzB,eAAe,CAAC,EAAE,CACnB,CACF,CACF,aAGH,eAAM,SAAS,EAAC,4DAA4D,YACzE,eAAe,CAAC,KAAK,GACjB,EACP,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,sBAAsB,KAAG,GACtB,IACC,GACL,GACF,EACN,iBACE,SAAS,EAAE,IAAI,CACb,sDAAsD,EACtD,EAAE,YAAY,EAAE,qCAAqC,EAAE,CACxD,EACD,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,sBAAsB,EAChC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,iBAAiB,YAExB,KAAC,qBAAqB,KAAG,GAClB,IACL,EACN,cAAK,SAAS,EAAC,iDAAiD,YAC7D,WAAW,mBAAmB,CAAC,eAAe,CAAC,SAAS,EAAE;4CACzD,cAAc,EAAE,IAAI;4CACpB,SAAS,EAAE,IAAI;yCAChB,CAAC,EAAE,GACA,IACL,CACJ,EACD,KAAC,oBAAoB,KAAG,IACpB,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"WorkspaceReview.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":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,CAAC,KAAK,GACjB,EACP,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,sBAAsB,KAAG,GACtB,IACC,GACL,GACF,EACN,iBACE,SAAS,EAAE,IAAI,CACb,sDAAsD,EACtD,EAAE,YAAY,EAAE,qCAAqC,EAAE,CACxD,EACD,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,sBAAsB,EAChC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,iBAAiB,YAExB,KAAC,qBAAqB,KAAG,GAClB,IACL,EACN,cAAK,SAAS,EAAC,iDAAiD,YAC7D,WAAW,mBAAmB,CAAC,eAAe,CAAC,SAAS,EAAE;4CACzD,cAAc,EAAE,IAAI;4CACpB,SAAS,EAAE,IAAI;yCAChB,CAAC,EAAE,GACA,IACL,CACJ,EACD,KAAC,oBAAoB,KAAG,IACpB,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectReviewSideBar.d.ts","sourceRoot":"","sources":["../../../src/components/project-reviewer/ProjectReviewSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,eAAO,MAAM,sBAAsB;;CA4RjC,CAAC"}
1
+ {"version":3,"file":"ProjectReviewSideBar.d.ts","sourceRoot":"","sources":["../../../src/components/project-reviewer/ProjectReviewSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,eAAO,MAAM,sBAAsB;;CA4RjC,CAAC"}
@@ -28,6 +28,7 @@ import { useApplicationStore } from '@finos/legend-application';
28
28
  import { formatDistanceToNow } from '@finos/legend-shared';
29
29
  import { SPECIAL_REVISION_ALIAS } from '../../stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
30
30
  import { ProjectConfigurationDiffEditorState } from '../../stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js';
31
+ import { STUDIO_SDLC_USER_ERRORS } from '../shared/StudioSDLCErrors.js';
31
32
  export const ProjectReviewerSideBar = observer(() => {
32
33
  const reviewStore = useProjectReviewerStore();
33
34
  const editorStore = useEditorStore();
@@ -111,7 +112,7 @@ export const ProjectReviewerSideBar = observer(() => {
111
112
  // TODO: when we improve approval APIs we can know when to hide/disable this button altogether
112
113
  disabled: isDispatchingAction || workspaceContainsSnapshotDependencies, tabIndex: -1, title: !workspaceContainsSnapshotDependencies
113
114
  ? 'Commit review'
114
- : `Can't commit review: workspace has snapshot dependencies`, children: _jsx(TruncatedGitMergeIcon, {}) })] }))] }), approvalString && (_jsx("div", { className: "workspace-review__side-bar__review__info__content__status", children: approvalString })), _jsx("div", { className: "workspace-review__side-bar__review__info__content__status", children: reviewStatus }), _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length })] }), _jsxs(PanelContent, { children: [changes
115
+ : STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT, children: _jsx(TruncatedGitMergeIcon, {}) })] }))] }), approvalString && (_jsx("div", { className: "workspace-review__side-bar__review__info__content__status", children: approvalString })), _jsx("div", { className: "workspace-review__side-bar__review__info__content__status", children: reviewStatus }), _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length })] }), _jsxs(PanelContent, { children: [changes
115
116
  .slice()
116
117
  .sort(entityDiffSorter)
117
118
  .map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key))), Boolean(reviewStore.reviewReport?.fromToProjectConfig) && (_jsxs("button", { className: clsx('side-bar__panel__item', {
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectReviewSideBar.js","sourceRoot":"","sources":["../../../src/components/project-reviewer/ProjectReviewSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,cAAc,EACd,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kFAAkF,CAAC;AACvH,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,WAAW,EACX,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oFAAoF,CAAC;AAC5H,OAAO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,iCAAiC,EAC/B,WAAW,CAAC,eAAe,CAAC,UAAU;wDACtC,mCAAmC;iDACtC,CAAC,EACF,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,gCAAgC,EACvC,OAAO,EAAE,iBAAiB,aAE1B,eAAK,SAAS,EAAC,wBAAwB,aACrC,eACE,SAAS,EAAE,IAAI,CACb,6BAA6B,EAC7B,gCAAgC,gBAAgB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CACxE,uBAGI,EACP,eAAM,SAAS,EAAC,6BAA6B,sCAEtC,IACH,EACN,cACE,SAAS,EAAE,IAAI,CACb,wBAAwB,EACxB,2BAA2B,gBAAgB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CACnE,YAEA,2BAA2B,CAAC,gBAAgB,CAAC,MAAM,CAAC,GACjD,IACC,CACV,IACY,IACX,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ProjectReviewSideBar.js","sourceRoot":"","sources":["../../../src/components/project-reviewer/ProjectReviewSideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,cAAc,EACd,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kFAAkF,CAAC;AACvH,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEL,WAAW,EACX,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAA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,CAAC,gBAAgB,CAAC;iDACtB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACb,KAAC,qBAAqB,IAEpB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,cAAc,CAAC,IAAI,CAAC,EAChC,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,IAHrB,IAAI,CAAC,GAAG,CAIb,CACH,CAAC,EAEH,OAAO,CAAC,WAAW,CAAC,YAAY,EAAE,mBAAmB,CAAC,IAAI,CACzD,kBACE,SAAS,EAAE,IAAI,CAAC,uBAAuB,EAAE;oDACvC,iCAAiC,EAC/B,WAAW,CAAC,eAAe,CAAC,UAAU;wDACtC,mCAAmC;iDACtC,CAAC,EACF,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,gCAAgC,EACvC,OAAO,EAAE,iBAAiB,aAE1B,eAAK,SAAS,EAAC,wBAAwB,aACrC,eACE,SAAS,EAAE,IAAI,CACb,6BAA6B,EAC7B,gCAAgC,gBAAgB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CACxE,uBAGI,EACP,eAAM,SAAS,EAAC,6BAA6B,sCAEtC,IACH,EACN,cACE,SAAS,EAAE,IAAI,CACb,wBAAwB,EACxB,2BAA2B,gBAAgB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,CACnE,YAEA,2BAA2B,CAAC,gBAAgB,CAAC,MAAM,CAAC,GACjD,IACC,CACV,IACY,IACX,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,19 @@
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
+ export declare enum STUDIO_SDLC_USER_ERRORS {
17
+ COMMIT_WORKSPACE_WITH_SNAPSHOT = "Can't create review: Snapshot dependencies are mutable and should be only used in the context of your workspace for testing. Once ready to merge to master you should choose a fixed version of said project to be able to commit your changes."
18
+ }
19
+ //# sourceMappingURL=StudioSDLCErrors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioSDLCErrors.d.ts","sourceRoot":"","sources":["../../../src/components/shared/StudioSDLCErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,uBAAuB;IACjC,8BAA8B,qPAAqP;CACpR"}
@@ -0,0 +1,20 @@
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
+ export var STUDIO_SDLC_USER_ERRORS;
17
+ (function (STUDIO_SDLC_USER_ERRORS) {
18
+ STUDIO_SDLC_USER_ERRORS["COMMIT_WORKSPACE_WITH_SNAPSHOT"] = "Can't create review: Snapshot dependencies are mutable and should be only used in the context of your workspace for testing. Once ready to merge to master you should choose a fixed version of said project to be able to commit your changes.";
19
+ })(STUDIO_SDLC_USER_ERRORS || (STUDIO_SDLC_USER_ERRORS = {}));
20
+ //# sourceMappingURL=StudioSDLCErrors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioSDLCErrors.js","sourceRoot":"","sources":["../../../src/components/shared/StudioSDLCErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IACjC,8SAAmR,CAAA;AACrR,CAAC,EAFW,uBAAuB,KAAvB,uBAAuB,QAElC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-studio v28.18.18
1
+ /** @license @finos/legend-application-studio v28.18.20
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.18",
3
+ "version": "28.18.20",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.18",
3
+ "version": "28.18.20",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,11 +45,11 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-application": "15.1.23",
48
+ "@finos/legend-application": "15.1.24",
49
49
  "@finos/legend-art": "7.1.51",
50
50
  "@finos/legend-graph": "31.10.23",
51
- "@finos/legend-lego": "1.2.59",
52
- "@finos/legend-query-builder": "4.14.76",
51
+ "@finos/legend-lego": "1.2.60",
52
+ "@finos/legend-query-builder": "4.14.78",
53
53
  "@finos/legend-server-depot": "6.0.57",
54
54
  "@finos/legend-server-sdlc": "5.3.28",
55
55
  "@finos/legend-server-showcase": "0.2.25",
@@ -201,7 +201,10 @@ export const LegendStudioAppInfo: React.FC<{
201
201
  ?.map((id) => appExtensionInfoTreeData.nodes.get(id))
202
202
  .filter(isNonNullable) ?? [];
203
203
  const isAppExtensionInfoEmpty = !appExtensionInfoTreeData.nodes.size;
204
-
204
+ const goToReleaseLog = (): void => {
205
+ applicationStore.releaseNotesService.setReleaseLog(true);
206
+ closeModal();
207
+ };
205
208
  return (
206
209
  <Dialog onClose={closeModal} open={open}>
207
210
  <Modal
@@ -251,6 +254,14 @@ export const LegendStudioAppInfo: React.FC<{
251
254
  {config.appVersionBuildTime}
252
255
  </div>
253
256
  </div>
257
+ <div className="app__info__entry">
258
+ <div
259
+ onClick={goToReleaseLog}
260
+ className="app__info__entry__value app__info__entry__value__action"
261
+ >
262
+ Details of Released Versions
263
+ </div>
264
+ </div>
254
265
  <div className="app__info__group">
255
266
  <div className="app__info__entry">
256
267
  <div className="app__info__entry__title">SDLC Server:</div>
@@ -45,8 +45,12 @@ import {
45
45
  ReadMeIcon,
46
46
  } from '@finos/legend-art';
47
47
  import { useEditorStore } from './EditorStoreProvider.js';
48
- import { forwardRef, useState } from 'react';
49
- import { VIRTUAL_ASSISTANT_TAB } from '@finos/legend-application';
48
+ import { forwardRef, useEffect, useState } from 'react';
49
+ import {
50
+ ReleaseLogManager,
51
+ ReleaseNotesManager,
52
+ VIRTUAL_ASSISTANT_TAB,
53
+ } from '@finos/legend-application';
50
54
  import { LegendStudioAppInfo } from '../LegendStudioAppInfo.js';
51
55
  import { generateSetupRoute } from '../../__lib__/LegendStudioNavigation.js';
52
56
  import { useLegendStudioApplicationStore } from '../LegendStudioFrameworkProvider.js';
@@ -112,6 +116,11 @@ export const ActivityBarMenu: React.FC = () => {
112
116
  // showcases
113
117
  const showcaseManagerState =
114
118
  ShowcaseManagerState.retrieveNullableState(applicationStore);
119
+ // release notification
120
+ useEffect(() => {
121
+ applicationStore.releaseNotesService.updateViewedVersion();
122
+ }, [applicationStore]);
123
+
115
124
  return (
116
125
  <>
117
126
  <div className="activity-bar__menu">
@@ -158,6 +167,8 @@ export const ActivityBarMenu: React.FC = () => {
158
167
  </ControlledDropdownMenu>
159
168
  </div>
160
169
  <LegendStudioAppInfo open={openAppInfo} closeModal={hideAppInfo} />
170
+ <ReleaseLogManager />
171
+ <ReleaseNotesManager />
161
172
  </>
162
173
  );
163
174
  };
@@ -41,6 +41,7 @@ import { entityDiffSorter } from '../../../stores/editor/EditorSDLCState.js';
41
41
  import { useEditorStore } from '../EditorStoreProvider.js';
42
42
  import { useLegendStudioApplicationStore } from '../../LegendStudioFrameworkProvider.js';
43
43
  import { formatDistanceToNow } from '@finos/legend-shared';
44
+ import { STUDIO_SDLC_USER_ERRORS } from '../../shared/StudioSDLCErrors.js';
44
45
 
45
46
  export const WorkspaceReviewDiffs = observer(() => {
46
47
  const editorStore = useEditorStore();
@@ -138,7 +139,7 @@ export const WorkspaceReview = observer(() => {
138
139
  workspaceContainsSnapshotDependencies ||
139
140
  !workspaceReviewState.canMergeReview;
140
141
  const commitReviewTitle = workspaceContainsSnapshotDependencies
141
- ? `Can't commit review: workspace has snapshot dependencies`
142
+ ? STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT
142
143
  : workspaceReviewState.sdlcState.isActiveProjectSandbox
143
144
  ? `Can't commit review: reviews are not allowed on sandbox projects`
144
145
  : !workspaceReviewState.canMergeReview
@@ -165,7 +166,7 @@ export const WorkspaceReview = observer(() => {
165
166
  !workspaceReviewState.canCreateReview ||
166
167
  workspaceReviewState.sdlcState.isActiveProjectSandbox;
167
168
  const createReviewTitle = workspaceContainsSnapshotDependencies
168
- ? `Can't create review: workspace has snapshot dependencies`
169
+ ? STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT
169
170
  : workspaceReviewState.sdlcState.isActiveProjectSandbox
170
171
  ? `Can't create review: reviews are not allowed on sandbox projects`
171
172
  : !workspaceReviewState.canCreateReview
@@ -43,6 +43,7 @@ import { useApplicationStore } from '@finos/legend-application';
43
43
  import { formatDistanceToNow } from '@finos/legend-shared';
44
44
  import { SPECIAL_REVISION_ALIAS } from '../../stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
45
45
  import { ProjectConfigurationDiffEditorState } from '../../stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js';
46
+ import { STUDIO_SDLC_USER_ERRORS } from '../shared/StudioSDLCErrors.js';
46
47
 
47
48
  export const ProjectReviewerSideBar = observer(() => {
48
49
  const reviewStore = useProjectReviewerStore();
@@ -239,7 +240,7 @@ export const ProjectReviewerSideBar = observer(() => {
239
240
  title={
240
241
  !workspaceContainsSnapshotDependencies
241
242
  ? 'Commit review'
242
- : `Can't commit review: workspace has snapshot dependencies`
243
+ : STUDIO_SDLC_USER_ERRORS.COMMIT_WORKSPACE_WITH_SNAPSHOT
243
244
  }
244
245
  >
245
246
  <TruncatedGitMergeIcon />
@@ -0,0 +1,19 @@
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
+ export enum STUDIO_SDLC_USER_ERRORS {
18
+ COMMIT_WORKSPACE_WITH_SNAPSHOT = "Can't create review: Snapshot dependencies are mutable and should be only used in the context of your workspace for testing. Once ready to merge to master you should choose a fixed version of said project to be able to commit your changes.",
19
+ }
package/tsconfig.json CHANGED
@@ -67,6 +67,7 @@
67
67
  "./src/application/LegendStudioApplicationConfig.ts",
68
68
  "./src/application/LegendStudioPluginManager.ts",
69
69
  "./src/components/__test-utils__/EmbeddedQueryBuilderTestUtils.ts",
70
+ "./src/components/shared/StudioSDLCErrors.ts",
70
71
  "./src/stores/LegendStudioApplicationPlugin.ts",
71
72
  "./src/stores/LegendStudioBaseStore.ts",
72
73
  "./src/stores/ShowcaseManagerState.ts",