feat: Adds option to fork an app within the app editor
Description
- Fork within application, this needs 2 things:
- Load the workspaceList even when we have setModalClose variable set
- When fork is successful, on the next page it should close the forking modal
- Adds forking model to EditorAppName menu
- Adds FETCH_APPLICATION_INIT to forkApplicationSaga
- This makes sure that when we fork an app from within another app, it will reinitialize the new app properly.
- Corrects workspaceId variable for forkApplicationSaga
PR fixes following issue(s)
Fixes # (issue number) #21470
Media
Type of change
- New feature (non-breaking change which adds functionality)
Testing
How Has This Been Tested?
- [x] Cypress
Test Plan
Add Testsmith test cases links that relate to this PR
Issues raised during DP testing
Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)
Checklist:
Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag
QA activity:
- [ ] Speedbreak features have been covered
- [ ] Test plan covers all impacted features and areas of interest
- [ ] Test plan has been peer reviewed by project stakeholders and other QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added
Test Plan Approvedlabel after Cypress tests were reviewed - [ ] Added
Test Plan Approvedlabel after JUnit tests were reviewed
/build-deploy-preview
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4933264027.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 23158.
recreate: .
Deploy-Preview-URL: https://ce-23158.dp.appsmith.com
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4934859767.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4934859767_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4934859767. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Binding/Bind_dataToTableWithSnipingMode_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Binding/NavigateToFeatureValidation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/TriggerErrors_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/PropertyPane/PropertyPane_Search_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/ThemingTests/Theme_MultiSelectWidget_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorComment_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Button/Button_tooltip_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Checkbox/CheckboxGroup_withQuery_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Filepicker/Filepicker1_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/List/List3_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Modal/Modal_focus_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Others/Camera_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_FilteredTableData_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_MultiRowSelect_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_MultiRowSelect_dataUpdation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_misc.js
- cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_CurlPOSTImport_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Unique_name_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/CurlImportFlow_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/APIOnLoad_Spec.ts
- cypress/integration/SanitySuite/Datasources/MsSQLDataSourceStub_spec.js
- cypress/integration/SanitySuite/Datasources/MySQLNoiseTest_spec.js
/ok-to-test
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4944682041.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4944682041_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4944682041. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/EchoApiCMS_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitImport/GitImport_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4944682041. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4955413512.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4955413512_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4955413512. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4957369883.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4957369883_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4957369883. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_dataIdentifierProperty_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/False_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/JSOnLoad2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4957369883. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_dataIdentifierProperty_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/False_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/JSOnLoad2_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
@rahulbarwal - Merge latest release & trigger new oktotest. Cancelling the re-run since its past 12 hours from initial attempt.
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4966489038.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4966489038_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4966489038. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/False_Spec.ts
- cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4983099926.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=4983099926_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4983099926. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4983099926. Commit: ``. All cypress tests have passed 🎉
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/5045271950.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23158.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23158&runId=5045271950_1
/build-deploy-preview env=release
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/5045275225.
Workflow: On demand build Docker image and deploy preview.
skip-tests: ``.
env: release.
PR: 23158.
recreate: .