Skip to content

Commit

Permalink
datacube: auto-resize to fit column content (finos#3671)
Browse files Browse the repository at this point in the history
  • Loading branch information
akphi authored Dec 2, 2024
1 parent fcd12c9 commit 910a5e0
Show file tree
Hide file tree
Showing 129 changed files with 1,280 additions and 2,230 deletions.
8 changes: 8 additions & 0 deletions .changeset/curvy-penguins-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-application': patch
'@finos/legend-data-cube': patch
'@finos/legend-dev-utils': patch
'@finos/legend-graph': patch
---
8 changes: 8 additions & 0 deletions .changeset/gold-years-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-application': patch
'@finos/legend-data-cube': patch
'@finos/legend-dev-utils': patch
'@finos/legend-graph': patch
---
14 changes: 14 additions & 0 deletions .changeset/happy-geckos-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@finos/legend-extension-store-service-store': patch
'@finos/legend-application-repl-deployment': patch
'@finos/legend-extension-dsl-persistence': patch
'@finos/legend-extension-dsl-data-space': patch
'@finos/legend-extension-dsl-diagram': patch
'@finos/legend-application-studio': patch
'@finos/legend-application-query': patch
'@finos/legend-query-builder': patch
'@finos/legend-application': patch
'@finos/legend-data-cube': patch
'@finos/legend-dev-utils': patch
'@finos/legend-graph': patch
---
5 changes: 5 additions & 0 deletions .changeset/rotten-dogs-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@finos/legend-application-repl-deployment': patch
'@finos/legend-data-cube': patch
'@finos/legend-dev-utils': patch
---
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"last 2 Chrome versions"
],
"resolutions": {
"glob-parent": "^6.0.1"
"glob-parent": "^6.0.1",
"whatwg-url": "^14.0.0"
},
"devDependencies": {
"@actions/core": "1.11.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "Boolean"
},
"typeArguments": [],
"typeVariableValues": []
}
}
},
{
Expand Down Expand Up @@ -192,9 +190,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "meta::pure::tds::TabularDataSet"
},
"typeArguments": [],
"typeVariableValues": []
}
}
},
"classifierPath": "meta::pure::metamodel::function::ConcreteFunctionDefinition"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export const TEST_DATA__result = {
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
relationalType: 'VARCHAR(200)',
},
Expand All @@ -37,8 +35,6 @@ export const TEST_DATA__result = {
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
relationalType: 'VARCHAR(200)',
},
Expand All @@ -49,8 +45,6 @@ export const TEST_DATA__result = {
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
relationalType: 'VARCHAR(200)',
},
Expand Down Expand Up @@ -369,8 +363,6 @@ export const TEST_DATA__ResultState_entities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -383,8 +375,6 @@ export const TEST_DATA__ResultState_entities = [
_type: 'packageableType',
fullPath: 'model::Person',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down Expand Up @@ -415,8 +405,6 @@ export const TEST_DATA__ResultState_entities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -430,8 +418,6 @@ export const TEST_DATA__ResultState_entities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down
26 changes: 0 additions & 26 deletions packages/legend-application-repl-deployment/documentation.json

This file was deleted.

6 changes: 4 additions & 2 deletions packages/legend-application-repl-deployment/scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +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';
import { assembleDocumentation } from '@finos/legend-dev-utils/DocumentationUtils';

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

Expand Down Expand Up @@ -56,7 +56,9 @@ const setup = (outputDir) => {
documentation: {
url: 'https://legend.finos.org',
registry: [],
...loadJSON(resolve(__dirname, '../documentation.json')),
...assembleDocumentation([
resolve(__dirname, '../../legend-data-cube/docs'),
]),
},
},
undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ const entities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "meta::pure::tds::TabularDataSet"
},
"typeArguments": [],
"typeVariableValues": []
}
}
},
"classifierPath": "meta::pure::metamodel::function::ConcreteFunctionDefinition"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ export const TEST_DATA__ModelToModelMapping = [
_type: 'packageableType',
fullPath: 'model::Person',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand Down Expand Up @@ -226,8 +224,6 @@ export const TEST_DATA__ModelToModelMapping = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "String"
},
"typeArguments": [],
"typeVariableValues": []
}
},
"multiplicity": {
"lowerBound": 1,
Expand All @@ -336,9 +334,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "String"
},
"typeArguments": [],
"typeVariableValues": []
}
},
"multiplicity": {
"lowerBound": 1,
Expand Down Expand Up @@ -651,9 +647,7 @@
"rawType": {
"_type": "packageableType",
"fullPath": "String"
},
"typeArguments": [],
"typeVariableValues": []
}
},
"multiplicity": {
"lowerBound": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -484,8 +482,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -499,8 +495,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -514,8 +508,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down Expand Up @@ -556,8 +548,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -577,8 +567,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -592,8 +580,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -607,8 +593,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down Expand Up @@ -668,8 +652,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -683,8 +665,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -698,8 +678,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand Down Expand Up @@ -773,8 +751,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -788,8 +764,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
{
Expand All @@ -803,8 +777,6 @@ export const TEST_DATA__multiEXecutionService = [
_type: 'packageableType',
fullPath: 'Integer',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ const TEST_DATA__DependencyEntities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down Expand Up @@ -138,8 +136,6 @@ const TEST_DATA__DependencyEntities = [
_type: 'packageableType',
fullPath: 'String',
},
typeArguments: [],
typeVariableValues: [],
},
},
],
Expand Down
Loading

0 comments on commit 910a5e0

Please sign in to comment.