Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up save states #2250

Merged
merged 1 commit into from
May 23, 2023
Merged

Conversation

MauricioUyaguari
Copy link
Member

@MauricioUyaguari MauricioUyaguari commented May 19, 2023

Summary

  • fix bug with dataspace context being lost
  • clean up save states to avoid duplicate code

How did you test this change?

  • Test(s) added
  • Manual testing (please provide screenshots/recordings)
  • No testing (please provide an explanation)

@MauricioUyaguari MauricioUyaguari requested a review from a team as a code owner May 19, 2023 21:56
@changeset-bot
Copy link

changeset-bot bot commented May 19, 2023

🦋 Changeset detected

Latest commit: 8bd1558

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

This PR includes changesets to release 12 packages
Name Type
@finos/legend-extension-dsl-data-space Patch
@finos/legend-extension-dsl-service Patch
@finos/legend-application-query Patch
@finos/legend-application-query-bootstrap Patch
@finos/legend-application-studio-bootstrap Patch
@finos/legend-application-taxonomy-bootstrap Patch
@finos/legend-application-taxonomy Patch
@finos/legend-manual-tests Patch
@finos/legend-application-query-deployment Patch
@finos/legend-application-studio-deployment Patch
@finos/legend-application-taxonomy-deployment Patch
@finos/legend-application-pure-ide-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

@MauricioUyaguari MauricioUyaguari force-pushed the cleanUpSaveStates branch 3 times, most recently from b7c9ccc to d241f36 Compare May 20, 2023 18:44
@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

Merging #2250 (264ef99) into master (aaa8b35) will increase coverage by 0.04%.
The diff coverage is 6.14%.

@@            Coverage Diff             @@
##           master    #2250      +/-   ##
==========================================
+ Coverage   39.41%   39.46%   +0.04%     
==========================================
  Files        1556     1556              
  Lines       72476    72405      -71     
  Branches    16881    16862      -19     
==========================================
+ Hits        28570    28574       +4     
+ Misses      43793    43718      -75     
  Partials      113      113              
Impacted Files Coverage Δ
...ace/src/stores/query/DataSpaceQueryCreatorStore.ts 4.16% <0.00%> (-0.12%) ⬇️
...space/src/stores/query/DataSpaceQuerySetupStore.ts 4.25% <0.00%> (ø)
...query/DSL_Service_LegendQueryApplicationPlugin.tsx 8.69% <ø> (ø)
...d-application-query/src/stores/QueryEditorStore.ts 3.22% <3.37%> (-1.35%) ⬇️
...d-application-query/src/components/QueryEditor.tsx 8.88% <9.52%> (+0.73%) ⬆️

... and 3 files with indirect coverage changes

@MauricioUyaguari MauricioUyaguari force-pushed the cleanUpSaveStates branch 2 times, most recently from 8d2590a to aa06473 Compare May 20, 2023 21:00
@MauricioUyaguari MauricioUyaguari force-pushed the cleanUpSaveStates branch 4 times, most recently from 43266e2 to afad9f5 Compare May 23, 2023 03:52
Copy link
Contributor

@akphi akphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also you missed a changeset it seems

@MauricioUyaguari MauricioUyaguari force-pushed the cleanUpSaveStates branch 2 times, most recently from dc2fae9 to 8bd1558 Compare May 23, 2023 14:32
@@ -155,8 +155,8 @@ export class DataSpaceQuerySetupStore extends QueryEditorStore {
return true;
}

override get isSaveActionDisabled(): boolean {
return true;
override get label(): string | undefined {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: remove this

}

get isViewProjectActionDisabled(): boolean {
return false;
get label(): string | undefined {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: I think we can remove this altogether and in the flow of EditExistingQueryState we show the renamer

@akphi akphi merged commit 804cb48 into finos:master May 23, 2023
@akphi akphi deleted the cleanUpSaveStates branch May 23, 2023 22:09
MauricioUyaguari pushed a commit that referenced this pull request May 24, 2023
akphi added a commit that referenced this pull request May 28, 2023
* BREAKING: move misc light extensions into @finos/legend-extension-assortment

* graph-manager: use subtype info during deserialization

* wire up MongoDB store as INTERNAL__UnknownStore

* minor fixes for CI

* bump dependencies

* adequately resolve source/target set impl with unknown mapping include

* minor fixes post rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants