Skip to content

Commit

Permalink
datacube: application infrastructure improvements (finos#3350)
Browse files Browse the repository at this point in the history
* datacube: fix a bug with export to email for Outlook

* datacube: disable drag out to remove columns

* datacube: ensure ag-grid license is fetched before grid is displayed

* repl: minor cleanups

* repl: improve debugging capabilities

* repl: rework layout manager

* datacube: implement window manager

* datacube: support blocking error alert

* datacube: add documentation viewer window

* datacube: add settings panel

* repl: remove ANTLR dependencies

* bump dependencies
  • Loading branch information
akphi authored Jul 22, 2024
1 parent 11e0740 commit 8ef5ff9
Show file tree
Hide file tree
Showing 146 changed files with 3,089 additions and 2,791 deletions.
3 changes: 3 additions & 0 deletions .changeset/great-clouds-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
'@finos/legend-application-repl': patch
---
35 changes: 35 additions & 0 deletions .changeset/heavy-wolves-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
'@finos/legend-application-pure-ide-deployment': patch
'@finos/legend-extension-dsl-data-space-studio': patch
'@finos/legend-application-studio-deployment': patch
'@finos/legend-extension-store-service-store': patch
'@finos/legend-vscode-extension-dependencies': patch
'@finos/legend-application-query-deployment': patch
'@finos/legend-application-studio-bootstrap': patch
'@finos/legend-application-query-bootstrap': patch
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-quality': patch
'@finos/legend-extension-store-relational': patch
'@finos/legend-server-showcase-deployment': patch
'@finos/legend-extension-dsl-persistence': patch
'@finos/legend-extension-store-flat-data': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-extension-dsl-diagram': patch
'@finos/legend-extension-dsl-service': patch
'@finos/legend-application-pure-ide': patch
'@finos/legend-extension-assortment': patch
'@finos/legend-application-studio': patch
'@finos/legend-extension-dsl-text': patch
'@finos/legend-application-query': patch
'@finos/legend-application-repl': patch
'@finos/legend-server-showcase': patch
'@finos/legend-query-builder': patch
'@finos/legend-application': patch
'@finos/legend-server-sdlc': patch
'@finos/legend-dev-utils': patch
'@finos/eslint-plugin-legend-studio': patch
'@finos/legend-shared': patch
'@finos/legend-graph': patch
'@finos/legend-lego': patch
'@finos/legend-art': patch
---
35 changes: 35 additions & 0 deletions .changeset/quiet-cars-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
'@finos/legend-application-pure-ide-deployment': patch
'@finos/legend-extension-dsl-data-space-studio': patch
'@finos/legend-application-studio-deployment': patch
'@finos/legend-extension-store-service-store': patch
'@finos/legend-vscode-extension-dependencies': patch
'@finos/legend-application-query-deployment': patch
'@finos/legend-application-studio-bootstrap': patch
'@finos/legend-application-query-bootstrap': patch
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-quality': patch
'@finos/legend-extension-store-relational': patch
'@finos/legend-server-showcase-deployment': patch
'@finos/legend-extension-dsl-persistence': patch
'@finos/legend-extension-store-flat-data': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-extension-dsl-diagram': patch
'@finos/legend-extension-dsl-service': patch
'@finos/legend-application-pure-ide': patch
'@finos/legend-extension-assortment': patch
'@finos/legend-application-studio': patch
'@finos/legend-extension-dsl-text': patch
'@finos/legend-application-query': patch
'@finos/legend-application-repl': patch
'@finos/legend-server-showcase': patch
'@finos/legend-query-builder': patch
'@finos/legend-application': patch
'@finos/legend-server-sdlc': patch
'@finos/legend-dev-utils': patch
'@finos/eslint-plugin-legend-studio': patch
'@finos/legend-shared': patch
'@finos/legend-graph': patch
'@finos/legend-lego': patch
'@finos/legend-art': patch
---
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
.pnp.*

# Exceptions
/packages/legend-application-repl/grammar/parser/*
/packages/legend-dev-utils/__tests__/fixtures/src/dummy.ts
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

# Mark generated content
/.changeset linguist-generated
**/grammar/parser/generated/** linguist-generated

# Read more about Github blob languages detector `github/linguist`
# https://github.com/github/linguist/blob/master/docs/overrides.md
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Thumbs.db
npm-debug.log
npm-debug.log*
yarn-error.log*
**/.antlr
/build/
/packages/*/build/
/packages/*/dist/
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
.pnp.*

# Exceptions
/packages/legend-application-repl/grammar/parser/generated/*
/packages/legend-dev-utils/__tests__/fixtures/testTsConfigWithTrailingCommas.json

# Template config JSON with variable ($)
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,32 +94,32 @@
"devDependencies": {
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@babel/core": "7.24.8",
"@babel/core": "7.24.9",
"@changesets/cli": "2.27.7",
"@finos/babel-preset-legend-studio": "workspace:*",
"@finos/eslint-plugin-legend-studio": "workspace:*",
"@finos/legend-dev-utils": "workspace:*",
"@finos/stylelint-config-legend-studio": "workspace:*",
"@types/node": "20.14.10",
"@types/node": "20.14.11",
"chalk": "5.3.0",
"cross-env": "7.0.3",
"envinfo": "7.13.0",
"eslint": "8.57.0",
"fs-extra": "11.2.0",
"husky": "9.0.11",
"inquirer": "10.0.1",
"husky": "9.1.1",
"inquirer": "10.1.0",
"jest": "29.7.0",
"lint-staged": "15.2.7",
"micromatch": "4.0.7",
"npm-run-all": "4.1.5",
"prettier": "3.3.2",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.5",
"rimraf": "6.0.1",
"sass": "1.77.7",
"semver": "7.6.2",
"sass": "1.77.8",
"semver": "7.6.3",
"sort-package-json": "2.10.0",
"stylelint": "16.6.1",
"typedoc": "0.26.4",
"stylelint": "16.7.0",
"typedoc": "0.26.5",
"typescript": "5.5.3",
"yargs": "17.7.2"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js"
},
"dependencies": {
"@babel/core": "7.24.8",
"@babel/core": "7.24.9",
"@babel/eslint-parser": "7.24.8",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"micromatch": "4.0.7",
"prettier": "3.3.2"
"prettier": "3.3.3"
},
"devDependencies": {
"cross-env": "7.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"typescript": "5.5.3",
"webpack": "5.92.1",
"webpack": "5.93.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/legend-application-pure-ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@finos/legend-shared": "workspace:*",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"mobx": "6.13.0",
"mobx": "6.13.1",
"mobx-react-lite": "4.0.7",
"monaco-editor": "0.50.0",
"react": "18.3.1",
Expand All @@ -67,7 +67,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.77.7",
"sass": "1.77.8",
"typescript": "5.5.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/legend-application-query-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint": "8.57.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.77.7",
"sass": "1.77.8",
"typescript": "5.5.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/legend-application-query-deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"typescript": "5.5.3",
"webpack": "5.92.1",
"webpack": "5.93.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
Expand Down
6 changes: 3 additions & 3 deletions packages/legend-application-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
"@finos/legend-server-depot": "workspace:*",
"@finos/legend-shared": "workspace:*",
"@finos/legend-storage": "workspace:*",
"@testing-library/dom": "10.3.1",
"@testing-library/dom": "10.3.2",
"@testing-library/react": "16.0.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"mobx": "6.13.0",
"mobx": "6.13.1",
"mobx-react-lite": "4.0.7",
"react": "18.3.1",
"react-dom": "18.3.1",
Expand All @@ -70,7 +70,7 @@
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"sass": "1.77.7",
"sass": "1.77.8",
"typescript": "5.5.3"
},
"peerDependencies": {
Expand Down
22 changes: 22 additions & 0 deletions packages/legend-application-repl-deployment/documentation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"entries": {
"data-cube.extended-column.levels": {
"markdownText": {
"value": "# Leaf Level\nThe value in the extended column is computed at the lowest (most granular) level.\n\n# Group Level\nThe value in the extended column is computed for each row in the table, no matter whether it's a leaf-level row or an aggregate.\n\n> This is used for operating on aggregated values, e.g., computing a yield (total credits / total volume) or a percentage change. A group-level extended column does not support grouping (pivoting), because it is computed _after_ those operations have been applied. Values are not aggregated; instead, the value on an aggregate row is computed from other aggregate values on the row."
},
"title": "Extended Column Levels"
},
"data-cube.column.kinds": {
"markdownText": {
"value": "# Dimensions\nDescriptions that help group and filter data. Typically associated with string columns where each value represents a category.\n\n# Measures\nNumeric values that detail or aggregate dimensions. Typically associated with numeric columns."
},
"title": "Column Kinds"
},
"data-cube.column.display-as-link": {
"markdownText": {
"value": "Each value, if it is a valid URL, will be displayed as a hyperlink. The label of the hyperlink will be extracted from a configurable query parameter (`dataCube.linkLabel` by default), if no label value can be extracted, the whole link will be used as the label."
},
"title": "Display Column Value as Link"
}
}
}
4 changes: 2 additions & 2 deletions packages/legend-application-repl-deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"eslint": "8.57.0",
"npm-run-all": "4.1.5",
"rimraf": "6.0.1",
"tailwindcss": "3.4.4",
"tailwindcss": "3.4.6",
"typescript": "5.5.3",
"webpack": "5.92.1",
"webpack": "5.93.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
Expand Down
2 changes: 2 additions & 0 deletions packages/legend-application-repl-deployment/scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { hideBin } from 'yargs/helpers';
import { resolve, dirname } from 'path';
import { fileURLToPath } from 'url';
import { existsSync, mkdirSync, writeFileSync } from 'fs';
import { loadJSON } from '@finos/legend-dev-utils/DevUtils';

const __dirname = dirname(fileURLToPath(import.meta.url));

Expand Down Expand Up @@ -55,6 +56,7 @@ const setup = (outputDir) => {
documentation: {
url: 'https://legend.finos.org',
registry: [],
...loadJSON(resolve(__dirname, '../documentation.json')),
},
},
undefined,
Expand Down
1 change: 1 addition & 0 deletions packages/legend-application-repl-deployment/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

@import url('@finos/legend-art/lib/fonts.css');
@import url('./markdown-viewer.css');
@import url('@finos/legend-application/lib/index.css');

/* @import url('@finos/legend-lego/lib/index.css'); */
Expand Down
Loading

0 comments on commit 8ef5ff9

Please sign in to comment.