PromucFlow_constructor/app
Ayush Pahwa bd07a6d0dd
chore: code split for approval page crud modal (#39615)
## Description
This PR splits the modals and the context menu hooks to allow for
enterprise only features to show on the canvas. No change in the code,
just re-arrangement of files. Current UTs and tests should suffice


Fixes #39640 

## Automation

/test all

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13725979641>
> Commit: c6a4b94d33e7a8b438e9ef4823067f59e04d028e
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13725979641&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 07 Mar 2025 18:33:20 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a unified modal interface to present multiple dialogs in a
streamlined and accessible way.
- Improved the page creation experience with dynamic context menus that
adjust available options based on system conditions.

- **Refactor**
- Consolidated multiple modal components into a single component,
simplifying the interface.
- Simplified the logic for generating context menu options, resulting in
a cleaner and more efficient user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-10 10:40:02 +05:30
..
client chore: code split for approval page crud modal (#39615) 2025-03-10 10:40:02 +05:30
server chore: Expose some methods for use in EE 2025-03-08 21:13:01 +05:30
util