@finos/legend-query-builder 4.14.73 → 4.14.75

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  2. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -10
  3. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  4. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  5. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -6
  6. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  7. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  8. package/lib/components/filter/QueryBuilderFilterPanel.js +1 -5
  9. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  10. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  11. package/lib/components/result/QueryBuilderResultPanel.js +33 -13
  12. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  13. package/lib/index.css +17 -1
  14. package/lib/index.css.map +1 -1
  15. package/lib/package.json +1 -1
  16. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
  17. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  18. package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -1
  19. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  20. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -4
  21. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  22. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +11 -22
  23. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  24. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  25. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  26. package/lib/stores/filter/QueryBuilderFilterState.js +4 -8
  27. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +2 -24
  30. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +2 -10
  31. package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -10
  32. package/src/components/result/QueryBuilderResultPanel.tsx +87 -28
  33. package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -2
  34. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +10 -39
  35. package/src/stores/filter/QueryBuilderFilterState.ts +3 -11
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { BlankPanelContent, PlayIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, Button, SQLIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelDivider, SquareIcon, CheckSquareIcon, MenuContentItemIcon, MenuContentItemLabel, ChartIcon, CsvIcon, DebugIcon, ReportIcon, CubesLoadingIndicatorIcon, CubesLoadingIndicator, InfoCircleIcon, ShareBoxIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { flowResult } from 'mobx';
20
- import { extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, } from '@finos/legend-graph';
20
+ import { extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, ExecutionError, } from '@finos/legend-graph';
21
21
  import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
22
22
  import { prettyDuration } from '@finos/legend-shared';
23
23
  import { useRef, useState } from 'react';
@@ -32,23 +32,44 @@ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../../__lib__/QueryBuilderDocum
32
32
  import { QueryBuilderTDSSimpleGridResult } from './tds/QueryBuilderTDSSimpleGridResult.js';
33
33
  import { getExecutedSqlFromExecutionResult } from './tds/QueryBuilderTDSResultShared.js';
34
34
  import { QueryBuilderTDSGridResult } from './tds/QueryBuilderTDSGridResult.js';
35
- const PERMISSION_ERRORS = ['permission denied', 'invalid user id or password'];
35
+ import { QueryBuilderBaseInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
36
+ const PERMISSION_ERRORS = [
37
+ 'permission denied',
38
+ 'invalid user id or password',
39
+ 'Incorrect username or password',
40
+ ];
36
41
  export const QueryBuilderExecutionErrorPanel = observer((props) => {
37
42
  const { resultState, executionError } = props;
38
43
  const queryBuilderState = resultState.queryBuilderState;
39
- const errorMessage = executionError
40
- ? queryBuilderState.applicationStore.notificationService.getErrorMessage(executionError)
41
- : '';
42
- const isPermissionDeniedError = () => Boolean(PERMISSION_ERRORS.find((e) => errorMessage?.toLowerCase().includes(e)));
44
+ const errorMessage = executionError instanceof Error ? executionError.message : executionError;
45
+ const errorStackTrace = executionError instanceof ExecutionError ? executionError.stack : '';
46
+ const isPermissionDeniedError = Boolean(PERMISSION_ERRORS.find((e) => queryBuilderState.applicationStore.notificationService
47
+ .getErrorMessage(executionError)
48
+ ?.toLowerCase()
49
+ .includes(e)));
43
50
  const openCheckEntitlmentsEditor = () => {
44
51
  queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(true);
45
52
  };
46
- return (_jsxs(_Fragment, { children: [isPermissionDeniedError() && (_jsxs("div", { className: "query-builder__result__permission-error", children: [_jsx("div", { className: "query-builder__result__permission-error__header", children: "Entitlement / Authorization error - Please" }), _jsx("button", { className: "query-builder__result__permission-error__button", disabled: (queryBuilderState.isQuerySupported &&
53
+ const frequentlyAskedQuestionEntry = queryBuilderState.applicationStore.documentationService.getDocEntry(QUERY_BUILDER_DOCUMENTATION_KEY.FREQUENTLY_ASKED_QUESTIONS);
54
+ const openFrequentlyAskedQuestions = () => {
55
+ if (frequentlyAskedQuestionEntry?.url) {
56
+ queryBuilderState.applicationStore.navigationService.navigator.visitAddress(frequentlyAskedQuestionEntry.url);
57
+ }
58
+ };
59
+ return (_jsxs(_Fragment, { children: [isPermissionDeniedError && (_jsxs("div", { className: "query-builder__result__permission-error", children: [_jsx("div", { className: "query-builder__result__permission-error__header", children: "Entitlement / Authorization error - Please" }), _jsx("button", { className: "query-builder__result__permission-error__button", disabled: (queryBuilderState.isQuerySupported &&
47
60
  queryBuilderState.fetchStructureState
48
61
  .implementation instanceof QueryBuilderTDSState &&
49
62
  queryBuilderState.fetchStructureState.implementation
50
63
  .projectionColumns.length === 0) ||
51
- !queryBuilderState.canBuildQuery, onClick: openCheckEntitlmentsEditor, children: "Click Here to Check Entitlements" })] })), _jsxs("div", { className: "query-builder__result__execution-error", children: [_jsxs("div", { className: "query-builder__result__execution-error__header", children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "Error Execution Query" }), ". Please try again later or review options in application`s", _jsx("span", { style: { fontWeight: 'bold' }, children: " Help" }), " menu."] }), _jsx("div", { className: "query-builder__result__execution-error__body", children: errorMessage })] })] }));
64
+ !queryBuilderState.canBuildQuery, onClick: openCheckEntitlmentsEditor, children: "Click Here to Check Entitlements" })] })), _jsxs("div", { className: clsx('query-builder__result__execution-error', {
65
+ 'query-builder__result__execution-error--max': !isPermissionDeniedError,
66
+ }), children: [_jsxs("div", { className: "query-builder__result__execution-error__header", children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "Error Execution Query" }), ". Please try again later or review options in application`s", ' ', _jsx("span", { style: { fontWeight: 'bold' }, onClick: openFrequentlyAskedQuestions, children: "Help" }), ' ', "menu."] }), _jsxs("div", { className: "query-builder__result__execution-error__body", children: [_jsx("div", { className: "query-builder__result__execution-error__body__entry", children: errorMessage }), resultState.executionTraceId && queryBuilderState.config && (_jsxs("div", { className: "query-builder__result__execution-error__body__entry", children: [_jsx("span", { style: { fontWeight: 'bold' }, children: " ### trace: " }), resultState.executionTraceId, " |", ' ', _jsxs("button", { className: "query-builder__result__execution-error__body__entry__btn", disabled: !queryBuilderState.config.zipkinTraceBaseURL, onClick: () => {
67
+ if (queryBuilderState.config?.zipkinTraceBaseURL) {
68
+ queryBuilderState.applicationStore.navigationService.navigator.visitAddress(queryBuilderState.config.zipkinTraceBaseURL +
69
+ resultState.executionTraceId);
70
+ }
71
+ }, children: [queryBuilderState.config.zipkinTraceBaseURL +
72
+ resultState.executionTraceId, ' '] })] })), errorStackTrace && (_jsxs("div", { className: "query-builder__result__execution-error__body__entry", children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "### stack trace: " }), errorStackTrace] }))] })] })] }));
52
73
  });
53
74
  export const QueryBuilderEmptyExecutionResultPanel = observer((props) => {
54
75
  const { queryBuilderState } = props;
@@ -62,7 +83,6 @@ export const QueryBuilderEmptyExecutionResultPanel = observer((props) => {
62
83
  .projectionColumns.length === 0) ||
63
84
  !queryBuilderState.canBuildQuery, onClick: openCheckEntitlmentsEditor, children: "Click Here to Check Entitlements" }), "or See Help menu for more options"] })] }));
64
85
  });
65
- import { QueryBuilderBaseInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
66
86
  export const QueryBuilderResultValues = observer((props) => {
67
87
  const { executionResult, queryBuilderState } = props;
68
88
  if (executionResult instanceof TDSExecutionResult) {
@@ -178,9 +198,7 @@ export const QueryBuilderResultPanel = observer((props) => {
178
198
  };
179
199
  const resultDescription = executionResult
180
200
  ? getResultSetDescription(executionResult)
181
- : resultState.executionError
182
- ? 'fail to execute'
183
- : undefined;
201
+ : undefined;
184
202
  const [previewLimitValue, setPreviewLimitValue] = useState(resultState.previewLimit);
185
203
  const changePreviewLimit = (event) => {
186
204
  setPreviewLimitValue(parseInt(event.target.value, 10));
@@ -230,7 +248,9 @@ export const QueryBuilderResultPanel = observer((props) => {
230
248
  }
231
249
  }, children: _jsx(ShareBoxIcon, {}) }) })),
232
250
  },
233
- ], children: _jsx("div", { className: "editable-value", children: resultDescription }) }) })), resultDescription && !resultState.executionTraceId && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_ANALYTICS, className: "query-builder__result__analytics", children: resultDescription })), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] })), executionResult &&
251
+ ], children: _jsx("div", { className: "editable-value", children: resultDescription }) }) })), resultDescription && !resultState.executionTraceId && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_ANALYTICS, className: "query-builder__result__analytics", children: resultDescription })), executionResult &&
252
+ resultState.checkForStaleResults &&
253
+ !resultState.isRunningQuery && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] })), executionResult &&
234
254
  executionResult instanceof TDSExecutionResult &&
235
255
  resultState.isExecutionResultOverflowing && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Data below is not complete - query produces more rows than the set grid preview limit" }), _jsx("div", { className: "query-builder__result__stale-status__icon", title: `The preview limit is set to ${resultLimit}. The results in the grid below are being limited by this limit and running query with a higher limit would produce more rows. Export will not apply this limit.`, children: _jsx(InfoCircleIcon, {}) })] }))] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [resultState.exportState.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Exporting..." })), allowSettingLocalMode && (_jsxs("div", { className: "query-builder__result__advanced__mode", children: [_jsxs("div", { className: "query-builder__result__advanced__mode__label", children: ["Local Mode", _jsx(DocumentationLink, { title: "The grid in local mode performs all operations like grouping, sorting, filtering, etc after initial query execution locally withought reaching out to server. This limits the number of rows to smaller number so they can fit in memory", documentationKey: QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_USE_LOCAL_GRID_MODE })] }), _jsx("button", { className: clsx('query-builder__result__advanced__mode__toggler__btn', {
236
256
  'query-builder__result__advanced__mode__toggler__btn--toggled': queryBuilderState.isLocalModeEnabled,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAEL,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAChG,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA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qB,IAAC,SAAS,EAAE,SAAS,YACzC,KAAC,yBAAyB,KAAG,GACP,EACvB,CAAC,eAAe,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,CAChE,KAAC,iBAAiB,oDAEE,CACrB,EACA,CAAC,SAAS,IAAI,WAAW,CAAC,cAAc,IAAI,CAC3C,KAAC,+BAA+B,IAC9B,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,WAAW,CAAC,cAAc,GAC1C,CACH,EACA,eAAe,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,CAC/D,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAA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