PromucFlow_constructor/app/client/src
Rahul Barwal 53ea8e208b
feat: Adds option to fork an app within the app editor (#23158)
## 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
![Screenshot 2023-05-10 at 11 17 44 AM
1](https://github.com/appsmithorg/appsmith/assets/6761673/35a21154-c379-4638-b4ad-60859cc05344)


#### 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](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#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 Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-05-30 14:54:38 +05:30
..
actions chore: Send orgId and instanceId on page create analytic events (#23489) 2023-05-29 18:05:38 +05:30
api chore: Send default environmentId in header of all api call (#23745) 2023-05-26 15:22:20 +05:30
assets feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ce feat: Adds option to fork an app within the app editor (#23158) 2023-05-30 14:54:38 +05:30
components fix: Update connection mode DropDown by Segmented Control (#23730) 2023-05-29 16:45:52 +05:30
constants fix: api url dynamic bindings (#23696) 2023-05-26 15:43:18 +05:30
ee fix: Fixes bug of gsheets not going into edit mode (#23839) 2023-05-30 09:00:52 +05:30
enterprise chore: Format files to match prettier rules and exclude third-party files (#21586) 2023-03-20 19:04:31 +05:30
entities chore: Create graph entity (#23844) 2023-05-30 11:45:58 +05:30
globalStyles fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
icons feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
mockComponentProps feat: adding slug names in urls (#10957) 2022-03-25 16:13:26 +05:30
mockResponses ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
mocks chore: integrate msw to browser to mock api requests (#15965) 2022-08-17 12:01:55 +05:30
navigation feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
normalizers chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
pages feat: Adds option to fork an app within the app editor (#23158) 2023-05-30 14:54:38 +05:30
polyfills chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
reducers fix: Fixes bug of gsheets not going into edit mode (#23839) 2023-05-30 09:00:52 +05:30
reflow chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
resizable fix: resizable max height (#23143) 2023-05-22 13:29:29 +05:30
sagas chore: Send orgId and instanceId on page create analytic events (#23489) 2023-05-29 18:05:38 +05:30
selectors feat: peek overlay nested properties + perf improvements (#23414) 2023-05-26 17:12:10 +05:30
templates
theme chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
transformers feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
usagePulse fix: sending usage pulse when the app is private and user is logged in. (#22933) 2023-05-08 14:33:21 +05:30
utils feat: in-app ramps for "invite user to an application" and "custom roles" (#23588) 2023-05-30 10:59:01 +05:30
WidgetQueryGenerators chore: [One-click binding] Mongo db widget query generator (#22226) 2023-04-13 15:48:51 +05:30
widgets fix: Fixed event gets triggered even when option is not changed (#23747) 2023-05-30 10:44:06 +05:30
workers fix: Added global error handler in worker to catch unhandled promise rejections (#23709) 2023-05-25 15:08:34 +05:30
App.css
AppErrorBoundry.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
config.d.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
Globals.d.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
index.css fix: ads-v2 fixes (#23543) 2023-05-29 13:40:41 +08:00
index.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
LandingScreen.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
react-app-env.d.ts
RouteBuilder.test.ts fix: Encode query params in URLs (#22594) 2023-05-03 09:00:27 +05:30
RouteBuilder.ts fix: Encode query params in URLs (#22594) 2023-05-03 09:00:27 +05:30
RouteChangeListener.tsx chore: Add new navigation scenarios for route change event (#21682) 2023-03-30 11:03:29 +05:30
RouteParamsMiddleware.ts feat: deprecate duplicate button (#23461) 2023-05-24 10:34:52 +05:30
serviceWorker.js fix: don’t cache icons by the service worker (#23558) 2023-05-24 12:50:26 +05:30
store.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
wdyr.ts fix: revert #8121 (#11502) 2022-02-28 19:44:56 +05:30