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

refactor snowflake app function activator flow #2791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YannanGao-gs
Copy link
Contributor

@YannanGao-gs YannanGao-gs commented Nov 15, 2023

Summary

How did you test this change?

  • Test(s) added
  • Manual testing (please provide screenshots/recordings)
  • No testing (please provide an explanation)
Screen.Recording.2023-11-16.at.2.51.41.PM.mov

@YannanGao-gs YannanGao-gs requested a review from a team as a code owner November 15, 2023 23:18
Copy link

changeset-bot bot commented Nov 15, 2023

🦋 Changeset detected

Latest commit: 6b1edf0

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

This PR includes changesets to release 26 packages
Name Type
@finos/legend-extension-dsl-snowflake-app Minor
@finos/legend-application-studio-bootstrap Patch
@finos/legend-extension-assortment Patch
@finos/legend-application-studio Patch
@finos/legend-application Patch
@finos/legend-graph Patch
@finos/legend-lego Patch
@finos/legend-art Patch
@finos/legend-manual-tests Patch
@finos/legend-application-studio-deployment Patch
@finos/legend-application-query-bootstrap Patch
@finos/legend-extension-dsl-data-space Patch
@finos/legend-extension-dsl-diagram Patch
@finos/legend-extension-dsl-mastery Patch
@finos/legend-extension-dsl-persistence Patch
@finos/legend-extension-dsl-service 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-pure-ide-deployment Patch
@finos/legend-application-pure-ide Patch
@finos/legend-application-query Patch
@finos/legend-query-builder Patch
@finos/legend-application-query-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

@YannanGao-gs YannanGao-gs marked this pull request as draft November 15, 2023 23:18
@YannanGao-gs YannanGao-gs force-pushed the extension branch 2 times, most recently from 5492eca to fe24964 Compare November 16, 2023 17:21
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Attention: Patch coverage is 70.79277% with 210 lines in your changes missing coverage. Please review.

Project coverage is 48.97%. Comparing base (3661eca) to head (6b1edf0).
Report is 372 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2791      +/-   ##
==========================================
- Coverage   49.29%   48.97%   -0.32%     
==========================================
  Files        1971     1979       +8     
  Lines      324367   324739     +372     
  Branches    12626    12556      -70     
==========================================
- Hits       159888   159034     -854     
- Misses     164199   165413    +1214     
- Partials      280      292      +12     
Files Coverage Δ
...ication-studio/src/components/ElementIconUtils.tsx 79.72% <ø> (+0.25%) ⬆️
...src/components/editor/editor-group/EditorGroup.tsx 63.99% <ø> (+0.52%) ⬆️
...studio/src/stores/LegendStudioApplicationPlugin.ts 85.63% <100.00%> (+0.25%) ⬆️
...ation-studio/src/stores/editor/EditorGraphState.ts 63.84% <ø> (+0.10%) ⬆️
...-studio/src/stores/editor/EditorTabManagerState.ts 76.32% <ø> (+1.56%) ⬆️
...io/src/stores/editor/utils/ModelClassifierUtils.ts 91.66% <ø> (-0.10%) ⬇️
packages/legend-art/src/icon/TypeIcon.tsx 0.00% <ø> (ø)
...studio/DSL_SnowflakeApp_LegendStudioCodeSnippet.ts 100.00% <ø> (ø)
...nts/studio/SnowflakeAppFunctionActivatorEditor.tsx 90.78% <100.00%> (ø)
...aph-manager/DSL_SnowflakeApp_GraphManagerPreset.ts 100.00% <100.00%> (ø)
... and 42 more

... and 46 files with indirect coverage changes

@YannanGao-gs YannanGao-gs self-assigned this Nov 16, 2023
@YannanGao-gs YannanGao-gs marked this pull request as ready for review November 16, 2023 18:36
@YannanGao-gs YannanGao-gs force-pushed the extension branch 2 times, most recently from 91c9a07 to 766237f Compare November 16, 2023 19:50
@@ -161,6 +161,12 @@ export type NewElementFromStateCreator = (
type: string,
name: string,
state: NewElementState,
options?: {
/**
* decorElement might be used when creating a new element -> ???? rename rename
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please remove the rename comment here

@@ -693,7 +693,9 @@ const FunctionPromoteEditor = observer(
let validationMessage = '';
const closeModal = (): void => {
activatorPromoteState.closeFunctionPromoteModal();
activatorPromoteState.setPromoteType(undefined);
activatorPromoteState.setPromoteType(
FUNCTION_PROMOTE_TYPE.SNOWFLAKE_NATIVE_APP,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should have reference to snowflake app in core if we are thinking to plug it as an extension

Copy link

stale bot commented Mar 9, 2024

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@stale stale bot added the Resolution: Stale This is inactive and will be closed label Mar 9, 2024
@YannanGao-gs YannanGao-gs removed the Resolution: Stale This is inactive and will be closed label Mar 9, 2024
Copy link

stale bot commented Jun 12, 2024

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@stale stale bot added the Resolution: Stale This is inactive and will be closed label Jun 12, 2024
@YannanGao-gs YannanGao-gs removed the Resolution: Stale This is inactive and will be closed label Jun 12, 2024
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.

None yet

2 participants