@finos/legend-application-studio 28.15.3 → 28.15.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/lib/__lib__/LegendStudioNavigation.d.ts +1 -1
  2. package/lib/components/LegendStudioWebApplication.js +2 -2
  3. package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -0
  4. package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts.map +1 -1
  5. package/lib/components/editor/editor-group/UnsupportedElementEditor.js +12 -3
  6. package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
  7. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +22 -0
  8. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts.map +1 -0
  9. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +26 -0
  10. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -0
  11. package/lib/components/{workspace-review/WorkspaceReviewSideBar.d.ts → project-reviewer/ProjectReviewSideBar.d.ts} +2 -2
  12. package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts.map +1 -0
  13. package/lib/components/{workspace-review/WorkspaceReviewSideBar.js → project-reviewer/ProjectReviewSideBar.js} +34 -18
  14. package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -0
  15. package/lib/components/{workspace-review/WorkspaceReviewStoreProvider.d.ts → project-reviewer/ProjectReviewStoreProvider.d.ts} +5 -5
  16. package/lib/components/project-reviewer/ProjectReviewStoreProvider.d.ts.map +1 -0
  17. package/lib/components/{workspace-review/WorkspaceReviewStoreProvider.js → project-reviewer/ProjectReviewStoreProvider.js} +9 -9
  18. package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -0
  19. package/lib/components/{workspace-review/WorkspaceReview.d.ts → project-reviewer/ProjectReviewer.d.ts} +2 -2
  20. package/lib/components/project-reviewer/ProjectReviewer.d.ts.map +1 -0
  21. package/lib/components/{workspace-review/WorkspaceReview.js → project-reviewer/ProjectReviewer.js} +19 -28
  22. package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -0
  23. package/lib/components/{workspace-review/WorkspaceReviewPanel.d.ts → project-reviewer/ProjectReviewerPanel.d.ts} +2 -2
  24. package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts.map +1 -0
  25. package/lib/components/{workspace-review/WorkspaceReviewPanel.js → project-reviewer/ProjectReviewerPanel.js} +26 -10
  26. package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -0
  27. package/lib/index.css +2 -2
  28. package/lib/index.css.map +1 -1
  29. package/lib/package.json +1 -1
  30. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.d.ts +24 -0
  31. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.d.ts.map +1 -0
  32. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.js +26 -0
  33. package/lib/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.js.map +1 -0
  34. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.d.ts +31 -0
  35. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.d.ts.map +1 -0
  36. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js +39 -0
  37. package/lib/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.js.map +1 -0
  38. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
  39. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +10 -3
  40. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  41. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.d.ts.map +1 -1
  42. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js +2 -2
  43. package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -1
  44. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts +1 -1
  45. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.d.ts.map +1 -1
  46. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js +5 -4
  47. package/lib/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js.map +1 -1
  48. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +1 -1
  49. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  50. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts +2 -2
  51. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -1
  52. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +2 -2
  53. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -1
  54. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -2
  55. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -1
  56. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +1 -3
  57. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
  58. package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts +75 -0
  59. package/lib/stores/project-reviewer/ProjectReviewerStore.d.ts.map +1 -0
  60. package/lib/stores/project-reviewer/ProjectReviewerStore.js +325 -0
  61. package/lib/stores/project-reviewer/ProjectReviewerStore.js.map +1 -0
  62. package/package.json +5 -5
  63. package/src/__lib__/LegendStudioNavigation.ts +1 -1
  64. package/src/components/LegendStudioWebApplication.tsx +2 -2
  65. package/src/components/editor/editor-group/UnsupportedElementEditor.tsx +38 -9
  66. package/src/components/editor/editor-group/diff-editor/ProjectConfigDiffView.tsx +60 -0
  67. package/src/components/{workspace-review/WorkspaceReviewSideBar.tsx → project-reviewer/ProjectReviewSideBar.tsx} +91 -11
  68. package/src/components/{workspace-review/WorkspaceReviewStoreProvider.tsx → project-reviewer/ProjectReviewStoreProvider.tsx} +13 -13
  69. package/src/components/{workspace-review/WorkspaceReview.tsx → project-reviewer/ProjectReviewer.tsx} +25 -55
  70. package/src/components/{workspace-review/WorkspaceReviewPanel.tsx → project-reviewer/ProjectReviewerPanel.tsx} +54 -36
  71. package/src/stores/editor/editor-state/diff-viewer-state/EditorDiffViewerState.ts +34 -0
  72. package/src/stores/editor/editor-state/diff-viewer-state/ProjectConfigurationDiffEditorState.ts +56 -0
  73. package/src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts +22 -5
  74. package/src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts +2 -1
  75. package/src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts +6 -3
  76. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +1 -1
  77. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts +2 -2
  78. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +1 -3
  79. package/src/stores/project-reviewer/ProjectReviewerStore.ts +515 -0
  80. package/tsconfig.json +8 -5
  81. package/lib/components/workspace-review/WorkspaceReview.d.ts.map +0 -1
  82. package/lib/components/workspace-review/WorkspaceReview.js.map +0 -1
  83. package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +0 -1
  84. package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +0 -1
  85. package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +0 -1
  86. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +0 -1
  87. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.d.ts.map +0 -1
  88. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +0 -1
  89. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +0 -47
  90. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +0 -1
  91. package/lib/stores/workspace-review/WorkspaceReviewStore.js +0 -207
  92. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +0 -1
  93. package/src/stores/workspace-review/WorkspaceReviewStore.ts +0 -312
@@ -1 +1 @@
1
- {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,mCAAmC,EACnC,2CAA2C,EAC3C,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,OAAO,wCAAyC,SAAQ,kBAAkB;IACrE,aAAa,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IACrC,WAAW,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAE5C,YAAY,WAAwB,EAAE,OAAqB;QACzD,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAE5B,cAAc,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,MAAM;YACjB,WAAW,EAAE,MAAM;YACnB,oBAAoB,EAAE,MAAM;YAC5B,qBAAqB,EAAE,MAAM;YAC7B,gBAAgB,EAAE,MAAM;YACxB,QAAQ,EAAE,IAAI;YACd,eAAe,EAAE,IAAI;SACtB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,SAAS;QACX,OAAO,oBA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CAAC,UAAU,EAAE,CAAC;QAC9B,IAAI;YACF,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,iCAAiC,CACrF,IAAI,CAAC,SAAS,EACd,IAAI,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAChE,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACjE,gEAAgE,CACjE,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;gBAAS;YACR,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;SAC7B;IACH,CAAC;IAED,SAAS,CACP,UAAwB,EACxB,WAAwB;QAExB,OAAO,IAAI,wCAAwC,CACjD,WAAW,EACX,UAAU,CACX,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"SnowflakeAppFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,mCAAmC,EACnC,2CAA2C,EAC3C,oBAAoB,EACpB,eAAe,EACf,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,MAAM,OAAO,wCAAyC,SAAQ,k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ACJ,CAAC;CACF"}
@@ -106,7 +106,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
106
106
  currentMode = ENTITY_CHANGE_CONFLICT_EDITOR_VIEW_MODE.MERGE_VIEW;
107
107
  conflictResolutionState;
108
108
  constructor(editorStore, conflictResolutionState, entityPath, baseRevision, currentChangeRevision, incomingChangeRevision, baseEntity, currentChangeEntity, incomingChangeEntity, baseEntityGetter, currentChangeEntityGetter, incomingChangeEntityGetter) {
109
- super(editorStore);
109
+ super(baseRevision, currentChangeRevision, editorStore);
110
110
  makeObservable(this, {
111
111
  entityPath: observable,
112
112
  baseRevision: observable,
@@ -1 +1 @@
1
- {"version":3,"file":"EntityChangeConflictEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AAEd,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIlD,MAAM,mBAAmB,GAAG,SAAS,CAAC;AACtC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AACrC,MAAM,eAAe,GAAG,SAAS,CAAC;AAClC,MAAM,iBAAiB,GAAG,SAAS,CAAC;AAgBpC,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAmB,EAAE;IAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,K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,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB;aACjF,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAED,iBAAiB,CAAC,QAAuB;QACvC,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE;YACjC,OAAO;SACR;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,aAAa,CAChB,KAAK;aACF,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,WAAW,GAAG,CAAC,CAAC;aAClC,MAAM,CACL,QAAQ,CAAC,UAAU;YACjB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,QAAQ,GAAG,CAAC,CAAC;YACzD,CAAC,CAAC,EAAE,CACP,CAAC,OAAO;aACR,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;CACF"}
1
+ {"version":3,"file":"EntityChangeConflictEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AAEd,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO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AC,EAAE,CACP,CAAC,OAAO;aACR,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;aACrD,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;QACF,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;CACF"}
@@ -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 { EditorState } from '../../editor-state/EditorState.js';
16
+ import { EditorDiffViewerState } from '../diff-viewer-state/EditorDiffViewerState.js';
17
17
  export declare enum SPECIAL_REVISION_ALIAS {
18
18
  LOCAL = "LOCAL_REVISION",
19
19
  WORKSPACE_BASE = "WORKSPACE_BASE",
@@ -22,7 +22,7 @@ export declare enum SPECIAL_REVISION_ALIAS {
22
22
  PROJECT_HEAD = "PROJECT_HEAD"
23
23
  }
24
24
  export declare const getPrettyLabelForRevision: (revision: SPECIAL_REVISION_ALIAS | string) => string;
25
- export declare abstract class EntityDiffViewerState extends EditorState {
25
+ export declare abstract class EntityDiffViewerState extends EditorDiffViewerState {
26
26
  abstract refresh(): void;
27
27
  }
28
28
  //# sourceMappingURL=EntityDiffEditorState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,oBAAY,sBAAsB;IAChC,KAAK,mBAAmB;IACxB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,yBAAyB,aAC1B,sBAAsB,GAAG,MAAM,KACxC,MAeF,CAAC;AAEF,8BAAsB,qBAAsB,SAAQ,WAAW;IAC7D,QAAQ,CAAC,OAAO,IAAI,IAAI;CACzB"}
1
+ {"version":3,"file":"EntityDiffEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,oBAAY,sBAAsB;IAChC,KAAK,mBAAmB;IACxB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,yBAAyB,aAC1B,sBAAsB,GAAG,MAAM,KACxC,MAeF,CAAC;AAEF,8BAAsB,qBAAsB,SAAQ,qBAAqB;IACvE,QAAQ,CAAC,OAAO,IAAI,IAAI;CACzB"}
@@ -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 { EditorState } from '../../editor-state/EditorState.js';
16
+ import { EditorDiffViewerState } from '../diff-viewer-state/EditorDiffViewerState.js';
17
17
  export var SPECIAL_REVISION_ALIAS;
18
18
  (function (SPECIAL_REVISION_ALIAS) {
19
19
  SPECIAL_REVISION_ALIAS["LOCAL"] = "LOCAL_REVISION";
@@ -38,6 +38,6 @@ export const getPrettyLabelForRevision = (revision) => {
38
38
  return revision;
39
39
  }
40
40
  };
41
- export class EntityDiffViewerState extends EditorState {
41
+ export class EntityDiffViewerState extends EditorDiffViewerState {
42
42
  }
43
43
  //# sourceMappingURL=EntityDiffEditorState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,kDAAwB,CAAA;IACxB,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+DAAqC,CAAA;IACrC,uDAA6B,CAAA;AAC/B,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,QAAyC,EACjC,EAAE;IACV,QAAQ,QAAQ,EAAE;QAChB,KAAK,sBAAsB,CAAC,KAAK;YAC/B,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,gBAAgB;YAC1C,OAAO,kBAAkB,CAAC;QAC5B,KAAK,sBAAsB,CAAC,YAAY;YACtC,OAAO,cAAc,CAAC;QACxB;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC,CAAC;AAEF,MAAM,OAAgB,qBAAsB,SAAQ,WAAW;CAE9D"}
1
+ {"version":3,"file":"EntityDiffEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,MAAM,CAAN,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,kDAAwB,CAAA;IACxB,2DAAiC,CAAA;IACjC,2DAAiC,CAAA;IACjC,+DAAqC,CAAA;IACrC,uDAA6B,CAAA;AAC/B,CAAC,EANW,sBAAsB,KAAtB,sBAAsB,QAMjC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,QAAyC,EACjC,EAAE;IACV,QAAQ,QAAQ,EAAE;QAChB,KAAK,sBAAsB,CAAC,KAAK;YAC/B,OAAO,OAAO,CAAC;QACjB,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,cAAc;YACxC,OAAO,gBAAgB,CAAC;QAC1B,KAAK,sBAAsB,CAAC,gBAAgB;YAC1C,OAAO,kBAAkB,CAAC;QAC5B,KAAK,sBAAsB,CAAC,YAAY;YACtC,OAAO,cAAc,CAAC;QACxB;YACE,OAAO,QAAQ,CAAC;KACnB;AACH,CAAC,CAAC;AAEF,MAAM,OAAgB,qBAAsB,SAAQ,qBAAqB;CAExE"}
@@ -33,8 +33,6 @@ export declare class EntityDiffViewState extends EntityDiffViewerState {
33
33
  diffMode: DIFF_VIEW_MODE;
34
34
  fromEntityPath?: string | undefined;
35
35
  toEntityPath?: string | undefined;
36
- fromRevision: SPECIAL_REVISION_ALIAS | string;
37
- toRevision: SPECIAL_REVISION_ALIAS | string;
38
36
  fromEntity?: Entity | undefined;
39
37
  toEntity?: Entity | undefined;
40
38
  fromGrammarText?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffViewState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,sBAAsB,EAC3B,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAA6B,MAAM,uBAAuB,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;;;;GAKG;AAEH,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,mBAAoB,SAAQ,qBAAqB;IAC5D,QAAQ,i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ED,IAAI,WAAW,IAAI,MAAM,CAcxB;IAED,WAAW,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAI3C,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,kBAAkB;IAIjB,KAAK,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO;IAUzC,OAAO,IAAI,IAAI;IASd,cAAc,IAAI,WAAW,CAAC,IAAI,CAAC;IAwBnC,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;CAuBnC"}
1
+ {"version":3,"file":"EntityDiffViewState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,sBAAsB,EAC3B,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAA6B,MAAM,uBAAuB,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;;;;GAKG;AAEH,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,mBAAoB,SAAQ,qBAAqB;IAC5D,QAAQ,iBAA0B;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,SA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_MODE.GRAMMAR;
34
34
  fromEntityPath;
35
35
  toEntityPath;
36
- fromRevision;
37
- toRevision;
38
36
  // to and from entities
39
37
  fromEntity;
40
38
  toEntity;
@@ -44,7 +42,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
44
42
  fromEntityGetter;
45
43
  toEntityGetter;
46
44
  constructor(editorStore, fromRevision, toRevision, fromEntityPath, toEntityPath, fromEntity, toEntity, fromEntityGetter, toEntityGetter) {
47
- super(editorStore);
45
+ super(fromRevision, toRevision, editorStore);
48
46
  makeObservable(this, {
49
47
  diffMode: observable,
50
48
  fromEntityPath: observable,
@@ -1 +1 @@
1
- {"version":3,"file":"EntityDiffViewState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAInF;;;;;GAKG;AAEH,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,OAAO,mBAAoB,SAAQ,qBAAqB;IAC5D,QAAQ,GAAG,cAAc,CAAC,OAAO,CAAC;IAClC,cAAc,CAAsB;IACpC,YAAY,CAAsB;IAClC,YAAY,CAAkC;IAC9C,UAAU,CAAkC;IAC5C,uBAAuB;IACvB,UAA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M,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;aACH;SACF;aAAM;YACL,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;SAC7B;IACH,CAAC;IAED,CAAC,YAAY;QACX,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI;gBACF,MAAM,cAAc,GAClB,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CACvE,CAAC,IAAI,CAAC,QAAQ,CAAC,EACf,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAW,CAAC;gBACf,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;aACvC;YAAC,OAAO,KAAK,EAAE;gBACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACzB,IAAI,CAAC,kBAAkB,CACrB,+DAA+D,CAChE,CAAC;gBACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;aACH;SACF;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;SAC3B;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"EntityDiffViewState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAe,yBAAyB,EAA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 * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type GeneratorFn, type PlainObject, ActionState } from '@finos/legend-shared';
17
+ import type { EditorStore } from '../editor/EditorStore.js';
18
+ import { EntityDiff, type ProjectConfiguration, Project, Review, type Patch, ReviewApproval } from '@finos/legend-server-sdlc';
19
+ import type { Entity } from '@finos/legend-storage';
20
+ export declare class ProjectReviewReport {
21
+ diffs: EntityDiff[];
22
+ fromEntities: Entity[];
23
+ toEntities: Entity[];
24
+ private fromConfig;
25
+ private toConfig;
26
+ fromToProjectConfig: [PlainObject<ProjectConfiguration>, PlainObject<ProjectConfiguration>] | undefined;
27
+ constructor(diffs: EntityDiff[]);
28
+ addFromConfig(config: PlainObject<ProjectConfiguration>): void;
29
+ addToConfig(config: PlainObject<ProjectConfiguration>): void;
30
+ private createFromToConfigIfPossible;
31
+ findFromEntity(entityPath: string): Entity | undefined;
32
+ addFromEntity(entity: Entity): ProjectReviewReport;
33
+ addToEntity(entity: Entity): ProjectReviewReport;
34
+ findToEntity(entityPath: string): Entity | undefined;
35
+ }
36
+ export declare class ProjectReviewerStore {
37
+ readonly editorStore: EditorStore;
38
+ currentProjectId?: string | undefined;
39
+ currentProject?: Project | undefined;
40
+ currentPatch?: Patch | undefined;
41
+ currentReviewId?: string | undefined;
42
+ currentReview?: Review | undefined;
43
+ buildReviewReportState: ActionState;
44
+ reviewReport?: ProjectReviewReport | undefined;
45
+ fetchCurrentReviewState: ActionState;
46
+ approveState: ActionState;
47
+ reviewApproval: ReviewApproval | undefined;
48
+ closeState: ActionState;
49
+ commitState: ActionState;
50
+ reOpenState: ActionState;
51
+ constructor(editorStore: EditorStore);
52
+ get projectId(): string;
53
+ get patchReleaseVersionId(): string | undefined;
54
+ get reviewId(): string;
55
+ get review(): Review;
56
+ get approvalString(): string | undefined;
57
+ setProjectIdAndReviewId(projectId: string, reviewId: string): void;
58
+ initialize(): void;
59
+ initializeEngine(): GeneratorFn<void>;
60
+ openReviewChange(diff: EntityDiff): void;
61
+ refresh(): void;
62
+ /**
63
+ * To save load time, this function will levergae the reviewId coming from the URl and doesn't
64
+ * assume the review has completed been fetched
65
+ */
66
+ fetchReviewComparison(): GeneratorFn<void>;
67
+ fetchProject(): GeneratorFn<void>;
68
+ fetchReviewApprovals(): GeneratorFn<void>;
69
+ fetchReview(): GeneratorFn<void>;
70
+ approveReview(): GeneratorFn<void>;
71
+ commitReview(): GeneratorFn<void>;
72
+ reOpenReview(): GeneratorFn<void>;
73
+ closeReview(): GeneratorFn<void>;
74
+ }
75
+ //# sourceMappingURL=ProjectReviewerStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectReviewerStore.d.ts","sourceRoot":"","sources":["../../../src/stores/project-reviewer/ProjectReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,WAAW,EAIhB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EAGzB,OAAO,EACP,MAAM,EACN,KAAK,KAAK,EACV,cAAc,EACf,MAAM,2BAA2B,CAAC;AAGnC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAIpD,qBAAa,mBAAmB;IAC9B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAM;IAC5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ED,IAAI,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAE9C;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,SAAS,CAMvC;IAED,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKlE,UAAU,IAAI,IAAI;IAkBjB,gBAAgB,IAAI,WAAW,CAAC,IAAI,CAAC;IA4BtC,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI;IAuCxC,OAAO,IAAI,IAAI;IAQf;;;OAGG;IACF,qBAAqB,IAAI,WAAW,CAAC,IAAI,CAAC;IAyE1C,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBjC,oBAAoB,IAAI,WAAW,CAAC,IAAI,CAAC;IAkBzC,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IA2BhC,aAAa,IAAI,WAAW,CAAC,IAAI,CAAC;IAsBlC,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAuBjC,YAAY,IAAI,WAAW,CAAC,IAAI,CAAC;IAsBjC,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;CAqBlC"}
@@ -0,0 +1,325 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { assertErrorThrown, LogEvent, guaranteeNonNullable, ActionState, assertNonEmptyString, isNonNullable, } from '@finos/legend-shared';
17
+ import { makeObservable, action, observable, flow, computed, flowResult, } from 'mobx';
18
+ import { ACTIVITY_MODE } from '../editor/EditorConfig.js';
19
+ import { EntityDiff, Comparison, reprocessEntityDiffs, Project, Review, ReviewApproval, } from '@finos/legend-server-sdlc';
20
+ import { LEGEND_STUDIO_APP_EVENT } from '../../__lib__/LegendStudioEvent.js';
21
+ import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
22
+ import { EntityDiffViewState } from '../editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
23
+ import { SPECIAL_REVISION_ALIAS } from '../editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
24
+ export class ProjectReviewReport {
25
+ diffs;
26
+ fromEntities = [];
27
+ toEntities = [];
28
+ fromConfig;
29
+ toConfig;
30
+ fromToProjectConfig;
31
+ constructor(diffs) {
32
+ this.diffs = diffs;
33
+ makeObservable(this, {
34
+ fromEntities: observable,
35
+ toEntities: observable,
36
+ fromToProjectConfig: observable,
37
+ addFromConfig: action,
38
+ addToConfig: action,
39
+ });
40
+ }
41
+ addFromConfig(config) {
42
+ this.fromConfig = config;
43
+ this.createFromToConfigIfPossible();
44
+ }
45
+ addToConfig(config) {
46
+ this.toConfig = config;
47
+ this.createFromToConfigIfPossible();
48
+ }
49
+ createFromToConfigIfPossible() {
50
+ if (this.fromConfig && this.toConfig) {
51
+ this.fromToProjectConfig = [this.fromConfig, this.toConfig];
52
+ }
53
+ }
54
+ findFromEntity(entityPath) {
55
+ return this.fromEntities.find((e) => e.path === entityPath);
56
+ }
57
+ addFromEntity(entity) {
58
+ this.fromEntities.push(entity);
59
+ return this;
60
+ }
61
+ addToEntity(entity) {
62
+ this.toEntities.push(entity);
63
+ return this;
64
+ }
65
+ findToEntity(entityPath) {
66
+ return this.toEntities.find((e) => e.path === entityPath);
67
+ }
68
+ }
69
+ export class ProjectReviewerStore {
70
+ editorStore;
71
+ currentProjectId;
72
+ currentProject;
73
+ currentPatch;
74
+ currentReviewId;
75
+ currentReview;
76
+ // comparison
77
+ buildReviewReportState = ActionState.create();
78
+ reviewReport;
79
+ fetchCurrentReviewState = ActionState.create();
80
+ approveState = ActionState.create();
81
+ reviewApproval;
82
+ closeState = ActionState.create();
83
+ commitState = ActionState.create();
84
+ reOpenState = ActionState.create();
85
+ constructor(editorStore) {
86
+ makeObservable(this, {
87
+ currentProjectId: observable,
88
+ currentProject: observable,
89
+ currentPatch: observable,
90
+ currentReviewId: observable,
91
+ currentReview: observable,
92
+ fetchCurrentReviewState: observable,
93
+ buildReviewReportState: observable,
94
+ approveState: observable,
95
+ closeState: observable,
96
+ commitState: observable,
97
+ reOpenState: observable,
98
+ reviewReport: observable,
99
+ reviewApproval: observable,
100
+ projectId: computed,
101
+ patchReleaseVersionId: computed,
102
+ reviewId: computed,
103
+ review: computed,
104
+ setProjectIdAndReviewId: action,
105
+ refresh: action,
106
+ initializeEngine: flow,
107
+ fetchReviewComparison: flow,
108
+ fetchProject: flow,
109
+ fetchReviewApprovals: flow,
110
+ fetchReview: flow,
111
+ approveReview: flow,
112
+ commitReview: flow,
113
+ reOpenReview: flow,
114
+ closeReview: flow,
115
+ });
116
+ this.editorStore = editorStore;
117
+ this.editorStore.activeActivity = ACTIVITY_MODE.REVIEW;
118
+ }
119
+ get projectId() {
120
+ return guaranteeNonNullable(this.currentProjectId, 'Project ID must exist');
121
+ }
122
+ get patchReleaseVersionId() {
123
+ return this.currentPatch?.patchReleaseVersionId.id;
124
+ }
125
+ get reviewId() {
126
+ return guaranteeNonNullable(this.currentReviewId, 'Review ID must exist');
127
+ }
128
+ get review() {
129
+ return guaranteeNonNullable(this.currentReview, 'Review must exist');
130
+ }
131
+ get approvalString() {
132
+ const approvals = this.reviewApproval?.approvedBy;
133
+ if (approvals?.length) {
134
+ return `Approved by ${approvals.map((e) => e.name).join(',')}.`;
135
+ }
136
+ return undefined;
137
+ }
138
+ setProjectIdAndReviewId(projectId, reviewId) {
139
+ this.currentProjectId = projectId;
140
+ this.currentReviewId = reviewId;
141
+ }
142
+ initialize() {
143
+ flowResult(this.initializeEngine()).catch(this.editorStore.applicationStore.alertUnhandledError);
144
+ flowResult(this.fetchReview()).catch(this.editorStore.applicationStore.alertUnhandledError);
145
+ flowResult(this.fetchProject()).catch(this.editorStore.applicationStore.alertUnhandledError);
146
+ flowResult(this.fetchReviewApprovals()).catch(this.editorStore.applicationStore.alertUnhandledError);
147
+ flowResult(this.fetchReviewComparison()).catch(this.editorStore.applicationStore.alertUnhandledError);
148
+ }
149
+ *initializeEngine() {
150
+ try {
151
+ // setup engine used for to/from grammar transfomation
152
+ yield this.editorStore.graphManagerState.graphManager.initialize({
153
+ env: this.editorStore.applicationStore.config.env,
154
+ tabSize: DEFAULT_TAB_SIZE,
155
+ clientConfig: {
156
+ baseUrl: this.editorStore.applicationStore.config.engineServerUrl,
157
+ queryBaseUrl: this.editorStore.applicationStore.config.engineQueryServerUrl,
158
+ enableCompression: true,
159
+ },
160
+ }, {
161
+ tracerService: this.editorStore.applicationStore.tracerService,
162
+ });
163
+ }
164
+ catch (error) {
165
+ assertErrorThrown(error);
166
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
167
+ this.editorStore.applicationStore.notificationService.notifyError(error);
168
+ }
169
+ }
170
+ openReviewChange(diff) {
171
+ const fromEntityGetter = (entityPath) => entityPath ? this.reviewReport?.findFromEntity(entityPath) : undefined;
172
+ const toEntityGetter = (entityPath) => entityPath ? this.reviewReport?.findToEntity(entityPath) : undefined;
173
+ const fromEntity = EntityDiff.shouldOldEntityExist(diff)
174
+ ? guaranteeNonNullable(fromEntityGetter(diff.getValidatedOldPath()), `Can't find entity with path '${diff.oldPath}'`)
175
+ : undefined;
176
+ const toEntity = EntityDiff.shouldNewEntityExist(diff)
177
+ ? guaranteeNonNullable(toEntityGetter(diff.getValidatedNewPath()), `Can't find entity with path '${diff.newPath}'`)
178
+ : undefined;
179
+ const diffState = new EntityDiffViewState(this.editorStore, SPECIAL_REVISION_ALIAS.WORKSPACE_BASE, SPECIAL_REVISION_ALIAS.WORKSPACE_HEAD, diff.oldPath, diff.newPath, fromEntity, toEntity, fromEntityGetter, toEntityGetter);
180
+ this.editorStore.tabManagerState.openTab(this.editorStore.tabManagerState.tabs.find((t) => t.match(diffState)) ??
181
+ diffState);
182
+ }
183
+ refresh() {
184
+ this.editorStore.tabManagerState.closeAllTabs();
185
+ this.reviewReport = undefined;
186
+ flowResult(this.fetchReviewComparison()).catch(this.editorStore.applicationStore.alertUnhandledError);
187
+ }
188
+ /**
189
+ * To save load time, this function will levergae the reviewId coming from the URl and doesn't
190
+ * assume the review has completed been fetched
191
+ */
192
+ *fetchReviewComparison() {
193
+ this.buildReviewReportState.inProgress();
194
+ try {
195
+ const comparison = Comparison.serialization.fromJson((yield this.editorStore.sdlcServerClient.getReviewComparision(this.projectId, this.patchReleaseVersionId, this.reviewId)));
196
+ const report = new ProjectReviewReport(reprocessEntityDiffs(comparison.entityDiffs));
197
+ this.reviewReport = report;
198
+ const fromToRequests = Promise.all([
199
+ ...report.diffs
200
+ .map((diff) => diff.oldPath)
201
+ .filter(isNonNullable)
202
+ .map((fromDiff) => this.editorStore.sdlcServerClient
203
+ .getReviewFromEntity(this.projectId, this.patchReleaseVersionId, this.reviewId, fromDiff)
204
+ .then((fromEntity) => report.addFromEntity(fromEntity))),
205
+ ...report.diffs
206
+ .map((diff) => diff.newPath)
207
+ .filter(isNonNullable)
208
+ .map((toDiff) => this.editorStore.sdlcServerClient
209
+ .getReviewToEntity(this.projectId, this.patchReleaseVersionId, this.reviewId, toDiff)
210
+ .then((toEntity) => report.addToEntity(toEntity))),
211
+ ]);
212
+ if (comparison.projectConfigurationUpdated) {
213
+ [
214
+ this.editorStore.sdlcServerClient
215
+ .getReviewFromConfiguration(this.projectId, this.patchReleaseVersionId, this.reviewId)
216
+ .then((config) => report.addFromConfig(config)),
217
+ this.editorStore.sdlcServerClient
218
+ .getReviewToConfiguration(this.projectId, this.patchReleaseVersionId, this.reviewId)
219
+ .then((config) => report.addToConfig(config)),
220
+ ];
221
+ }
222
+ yield fromToRequests;
223
+ }
224
+ catch (error) {
225
+ assertErrorThrown(error);
226
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
227
+ this.editorStore.applicationStore.notificationService.notifyError(error);
228
+ }
229
+ finally {
230
+ this.buildReviewReportState.complete();
231
+ }
232
+ }
233
+ *fetchProject() {
234
+ try {
235
+ this.currentProject = Project.serialization.fromJson((yield this.editorStore.sdlcServerClient.getProject(this.projectId)));
236
+ }
237
+ catch (error) {
238
+ assertErrorThrown(error);
239
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
240
+ this.editorStore.applicationStore.notificationService.notifyError(error);
241
+ }
242
+ }
243
+ *fetchReviewApprovals() {
244
+ try {
245
+ this.reviewApproval = ReviewApproval.serialization.fromJson((yield this.editorStore.sdlcServerClient.getReviewApprovals(this.projectId, this.patchReleaseVersionId, this.reviewId)));
246
+ }
247
+ catch (error) {
248
+ assertErrorThrown(error);
249
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
250
+ }
251
+ }
252
+ *fetchReview() {
253
+ try {
254
+ // TODO: can we assume review also an integer ?
255
+ assertNonEmptyString(this.currentReviewId, 'Review ID provided must be a valid non empty string');
256
+ this.fetchCurrentReviewState.inProgress();
257
+ this.currentReview = Review.serialization.fromJson((yield this.editorStore.sdlcServerClient.getReview(this.projectId, this.patchReleaseVersionId, this.reviewId)));
258
+ }
259
+ catch (error) {
260
+ assertErrorThrown(error);
261
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
262
+ this.editorStore.applicationStore.notificationService.notifyError(error);
263
+ }
264
+ finally {
265
+ this.fetchCurrentReviewState.complete();
266
+ }
267
+ }
268
+ *approveReview() {
269
+ this.approveState.inProgress();
270
+ try {
271
+ this.currentReview = Review.serialization.fromJson((yield this.editorStore.sdlcServerClient.approveReview(this.projectId, this.patchReleaseVersionId, this.review.id)));
272
+ }
273
+ catch (error) {
274
+ assertErrorThrown(error);
275
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
276
+ this.editorStore.applicationStore.notificationService.notifyError(error);
277
+ }
278
+ finally {
279
+ this.approveState.complete();
280
+ }
281
+ }
282
+ *commitReview() {
283
+ this.commitState.inProgress();
284
+ try {
285
+ this.currentReview = Review.serialization.fromJson((yield this.editorStore.sdlcServerClient.commitReview(this.projectId, this.patchReleaseVersionId, this.review.id, { message: `${this.review.title} [review]` })));
286
+ }
287
+ catch (error) {
288
+ assertErrorThrown(error);
289
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
290
+ this.editorStore.applicationStore.notificationService.notifyError(error);
291
+ }
292
+ finally {
293
+ this.commitState.complete();
294
+ }
295
+ }
296
+ *reOpenReview() {
297
+ this.reOpenState.inProgress();
298
+ try {
299
+ this.currentReview = Review.serialization.fromJson((yield this.editorStore.sdlcServerClient.reopenReview(this.projectId, this.patchReleaseVersionId, this.review.id)));
300
+ }
301
+ catch (error) {
302
+ assertErrorThrown(error);
303
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
304
+ this.editorStore.applicationStore.notificationService.notifyError(error);
305
+ }
306
+ finally {
307
+ this.reOpenState.complete();
308
+ }
309
+ }
310
+ *closeReview() {
311
+ this.closeState.inProgress();
312
+ try {
313
+ this.currentReview = Review.serialization.fromJson((yield this.editorStore.sdlcServerClient.closeReview(this.projectId, this.patchReleaseVersionId, this.review.id)));
314
+ }
315
+ catch (error) {
316
+ assertErrorThrown(error);
317
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE), error);
318
+ this.editorStore.applicationStore.notificationService.notifyError(error);
319
+ }
320
+ finally {
321
+ this.closeState.complete();
322
+ }
323
+ }
324
+ }
325
+ //# sourceMappingURL=ProjectReviewerStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectReviewerStore.js","sourceRoot":"","sources":["../../../src/stores/project-reviewer/ProjectReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EACpB,WAAW,EACX,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,MAAM,EACN,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AAEd,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EACL,UAAU,EAEV,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EAEN,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wEAAwE,CAAC;AAC7G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0EAA0E,CAAC;AAElH,MAAM,OAAO,mBAAmB;IAC9B,KAAK,CAAe;IACpB,YAAY,GAAa,EAAE,CAAC;IAC5B,UAAU,GAAa,EAAE,CAAC;IAClB,UAAU,CAAgD;IAC1D,QAAQ,CAAgD;IAChE,mBAAmB,CAEL;IAEd,YAAY,KAAmB;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,cAAc,CAAC,IAAI,EAAE;YACnB,YAAY,EAAE,UAAU;YACxB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