@finos/legend-application-studio 22.4.7 → 22.4.8
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/LegendStudioTestID.d.ts +1 -1
- package/lib/components/LegendStudioTestID.d.ts.map +1 -1
- package/lib/components/LegendStudioTestID.js +1 -1
- package/lib/components/LegendStudioTestID.js.map +1 -1
- package/lib/components/editor/ActivityBar.js +1 -1
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +38 -6
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/EditorConfig.d.ts +3 -0
- package/lib/stores/EditorConfig.d.ts.map +1 -1
- package/lib/stores/EditorConfig.js +4 -0
- package/lib/stores/EditorConfig.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +9 -13
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +2 -15
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioTelemetry.d.ts +1 -1
- package/lib/stores/LegendStudioTelemetry.d.ts.map +1 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -9
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +3 -5
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +6 -9
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +4 -6
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/package.json +15 -15
- package/src/components/LegendStudioTestID.ts +1 -1
- package/src/components/editor/ActivityBar.tsx +1 -1
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +150 -60
- package/src/stores/EditorConfig.ts +4 -0
- package/src/stores/EditorGraphState.ts +20 -16
- package/src/stores/LegendStudioBaseStore.ts +2 -17
- package/src/stores/LegendStudioTelemetry.ts +1 -1
- package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -9
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +6 -5
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +12 -9
- package/src/stores/project-viewer/ProjectViewerStore.ts +9 -10
- package/tsconfig.json +1 -0
|
@@ -614,11 +614,12 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
614
614
|
}
|
|
615
615
|
stopWatch.record(QUERY_BUILDER_EVENT.BUILD_EXECUTION_PLAN__SUCCESS);
|
|
616
616
|
|
|
617
|
-
report
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
617
|
+
// report
|
|
618
|
+
report.timings =
|
|
619
|
+
this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
|
|
620
|
+
stopWatch,
|
|
621
|
+
report.timings,
|
|
622
|
+
);
|
|
622
623
|
if (debug) {
|
|
623
624
|
QueryBuilderTelemetry.logEvent_ExecutionPlanDebugSucceeded(
|
|
624
625
|
this.editorStore.applicationStore.telemetryService,
|
|
@@ -699,10 +700,12 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
699
700
|
);
|
|
700
701
|
this.parameterState.setParameters([]);
|
|
701
702
|
|
|
702
|
-
report
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
703
|
+
// report
|
|
704
|
+
report.timings =
|
|
705
|
+
this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
|
|
706
|
+
stopWatch,
|
|
707
|
+
report.timings,
|
|
708
|
+
);
|
|
706
709
|
QueryBuilderTelemetry.logEvent_QueryRunSucceeded(
|
|
707
710
|
this.editorStore.applicationStore.telemetryService,
|
|
708
711
|
report,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
Workspace,
|
|
48
48
|
} from '@finos/legend-server-sdlc';
|
|
49
49
|
import { LEGEND_STUDIO_APP_EVENT } from '../LegendStudioAppEvent.js';
|
|
50
|
-
import { TAB_SIZE } from '@finos/legend-application';
|
|
50
|
+
import { ApplicationTelemetry, TAB_SIZE } from '@finos/legend-application';
|
|
51
51
|
import { ProjectData, resolveVersion } from '@finos/legend-server-depot';
|
|
52
52
|
import {
|
|
53
53
|
type WorkflowManagerState,
|
|
@@ -55,7 +55,6 @@ import {
|
|
|
55
55
|
ProjectWorkflowManagerState,
|
|
56
56
|
} from '../sidebar-state/WorkflowManagerState.js';
|
|
57
57
|
import {
|
|
58
|
-
GraphManagerTelemetry,
|
|
59
58
|
GRAPH_MANAGER_EVENT,
|
|
60
59
|
DependencyGraphBuilderError,
|
|
61
60
|
GraphDataDeserializationError,
|
|
@@ -412,23 +411,23 @@ export class ProjectViewerStore {
|
|
|
412
411
|
// report
|
|
413
412
|
stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
|
|
414
413
|
const graphBuilderReportData = {
|
|
415
|
-
timings:
|
|
416
|
-
|
|
417
|
-
|
|
414
|
+
timings:
|
|
415
|
+
this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
|
|
416
|
+
stopWatch,
|
|
418
417
|
),
|
|
419
|
-
},
|
|
420
418
|
dependencies: dependency_buildReport,
|
|
421
419
|
dependenciesCount:
|
|
422
420
|
this.editorStore.graphManagerState.graph.dependencyManager
|
|
423
421
|
.numberOfDependencies,
|
|
424
422
|
graph: graph_buildReport,
|
|
425
423
|
};
|
|
426
|
-
|
|
427
|
-
|
|
424
|
+
ApplicationTelemetry.logEvent_GraphInitializationSucceeded(
|
|
425
|
+
this.editorStore.applicationStore.telemetryService,
|
|
428
426
|
graphBuilderReportData,
|
|
429
427
|
);
|
|
430
|
-
|
|
431
|
-
|
|
428
|
+
|
|
429
|
+
this.editorStore.applicationStore.log.info(
|
|
430
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS),
|
|
432
431
|
graphBuilderReportData,
|
|
433
432
|
);
|
|
434
433
|
|
package/tsconfig.json
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"./src/stores/LegendStudioEventService.ts",
|
|
66
66
|
"./src/stores/LegendStudioRouter.ts",
|
|
67
67
|
"./src/stores/LegendStudioTelemetry.ts",
|
|
68
|
+
"./src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts",
|
|
68
69
|
"./src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts",
|
|
69
70
|
"./src/stores/aux-panel-state/DevToolState.ts",
|
|
70
71
|
"./src/stores/editor/EditorMode.ts",
|