finos / legend-studio

Legend Studio
https://legend.finos.org
Apache License 2.0
86 stars 113 forks source link

Support project() variants #3289

Closed YannanGao-gs closed 2 weeks ago

YannanGao-gs commented 3 weeks ago

Summary

Support project() variants

How did you test this change?

https://github.com/finos/legend-studio/assets/73408381/376c4b9f-bdce-4596-83cb-298d3f82edf5

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: e8797003061045a9bbdd9fe0b4fca8f99347df0f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 21 packages | Name | Type | | --------------------------------------------- | ----- | | @finos/legend-query-builder | Patch | | @finos/legend-application-query | Patch | | @finos/legend-application-studio | Patch | | @finos/legend-extension-dsl-data-space-studio | Patch | | @finos/legend-extension-dsl-data-space | Patch | | @finos/legend-extension-dsl-service | Patch | | @finos/legend-application-query-bootstrap | Patch | | @finos/legend-application-studio-bootstrap | Patch | | @finos/legend-extension-assortment | Patch | | @finos/legend-extension-dsl-diagram | Patch | | @finos/legend-extension-dsl-persistence | Patch | | @finos/legend-extension-dsl-text | Patch | | @finos/legend-extension-store-flat-data | Patch | | @finos/legend-extension-store-relational | Patch | | @finos/legend-extension-store-service-store | Patch | | @finos/legend-application-query-deployment | Patch | | @finos/legend-application-studio-deployment | Patch | | @finos/legend-application-pure-ide | Patch | | @finos/legend-application-pure-ide-deployment | Patch | | @finos/legend-application-repl-deployment | Patch | | @finos/legend-server-showcase-deployment | Patch |

Not sure what this means? Click here to learn what changesets are.

[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/YannanGao-gs/legend-studio/new/newProject?filename=.changeset/poor-gifts-film.md&value=---%0A%22%40finos%2Flegend-query-builder%22%3A%20patch%0A---%0A%0ASupport%20project()%20variants%0A)

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 85.82524% with 73 lines in your changes missing coverage. Please review.

Project coverage is 47.79%. Comparing base (8ade69f) to head (e879700). Report is 5 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3289 +/- ## ========================================== - Coverage 47.98% 47.79% -0.19% ========================================== Files 1998 2019 +21 Lines 340155 342830 +2675 Branches 10642 10708 +66 ========================================== + Hits 163225 163872 +647 - Misses 176386 178393 +2007 - Partials 544 565 +21 ``` | [Files](https://app.codecov.io/gh/finos/legend-studio/pull/3289?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos) | Coverage Δ | | |---|---|---| | [...ry-builder/src/graph/QueryBuilderMetaModelConst.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fgraph%2FQueryBuilderMetaModelConst.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL2dyYXBoL1F1ZXJ5QnVpbGRlck1ldGFNb2RlbENvbnN0LnRz) | `100.00% <100.00%> (ø)` | | | [...stores/fetch-structure/tds/QueryBuilderTDSState.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fstores%2Ffetch-structure%2Ftds%2FQueryBuilderTDSState.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL3N0b3Jlcy9mZXRjaC1zdHJ1Y3R1cmUvdGRzL1F1ZXJ5QnVpbGRlclREU1N0YXRlLnRz) | `79.00% <100.00%> (+0.16%)` | :arrow_up: | | [...ery-builder/src/stores/QueryBuilderStateBuilder.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fstores%2FQueryBuilderStateBuilder.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL3N0b3Jlcy9RdWVyeUJ1aWxkZXJTdGF0ZUJ1aWxkZXIudHM=) | `83.01% <83.33%> (-0.11%)` | :arrow_down: | | [...s/projection/QueryBuilderProjectionStateBuilder.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fstores%2Ffetch-structure%2Ftds%2Fprojection%2FQueryBuilderProjectionStateBuilder.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL3N0b3Jlcy9mZXRjaC1zdHJ1Y3R1cmUvdGRzL3Byb2plY3Rpb24vUXVlcnlCdWlsZGVyUHJvamVjdGlvblN0YXRlQnVpbGRlci50cw==) | `98.11% <95.20%> (-1.11%)` | :arrow_down: | | [...pure/v1/V1\_QueryValueSpecificationBuilderHelper.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2FV1_QueryValueSpecificationBuilderHelper.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL2dyYXBoLW1hbmFnZXIvcHJvdG9jb2wvcHVyZS92MS9WMV9RdWVyeVZhbHVlU3BlY2lmaWNhdGlvbkJ1aWxkZXJIZWxwZXIudHM=) | `95.98% <85.71%> (-1.06%)` | :arrow_down: | | [...QueryBuilderProjectionValueSpecificationBuilder.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3289?src=pr&el=tree&filepath=packages%2Flegend-query-builder%2Fsrc%2Fstores%2Ffetch-structure%2Ftds%2Fprojection%2FQueryBuilderProjectionValueSpecificationBuilder.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLXF1ZXJ5LWJ1aWxkZXIvc3JjL3N0b3Jlcy9mZXRjaC1zdHJ1Y3R1cmUvdGRzL3Byb2plY3Rpb24vUXVlcnlCdWlsZGVyUHJvamVjdGlvblZhbHVlU3BlY2lmaWNhdGlvbkJ1aWxkZXIudHM=) | `79.24% <74.48%> (-4.24%)` | :arrow_down: | ... and [101 files with indirect coverage changes](https://app.codecov.io/gh/finos/legend-studio/pull/3289/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos)