PromucFlow_constructor/app/client/src/ee
Ankita Kinger 35b9e0b544
chore: Refactoring header actions on datasource page to support reusable queries on EE (#29442)
## Description

Refactoring header actions on datasource page to support reusable
queries on EE

#### PR fixes following issue(s)
Fixes [#28568](https://github.com/appsmithorg/appsmith/issues/28568)

#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## Testing

#### How Has This Been Tested?
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [x] Cypress

## 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
- [ ] 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/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#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


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

- **New Features**
- Introduced a new header action management system in the data source
editor, allowing for dynamic action button generation based on user
permissions and editor type.
- Implemented a new editor type detection hook to improve editor
experience.

- **Improvements**
- Streamlined the data source editor interface by removing unused
permissions checks and simplifying action button logic.
- Enhanced the editor's routing system with additional constants for
deprecated paths.

- **Refactor**
- Refactored the `DSFormHeader` component to utilize the new
`useHeaderActions` hook for a cleaner and more maintainable codebase.
- Updated Redux state management to include a new action handler for
resetting editor state.

- **Style**
- Adjusted the layout of the `LeftPaneContainer` by removing the
`min-width` property for a more responsive design.

- **Chores**
- Cleaned up imports and unused variables across multiple files to
improve code clarity and maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-08 17:12:14 +05:30
..
actions chore: split for evaluation actions for EE (#28728) 2023-11-10 13:34:09 +05:30
api feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
components fix: widget icon in debugger (#29141) 2023-11-28 10:22:43 +05:30
configs
constants feat: workflows editor code split (#28779) 2023-11-28 10:37:48 +07:00
entities chore: split for module instance evaluation on ee (#29027) 2023-11-22 15:02:44 +05:30
hooks chore: Refactoring header actions on datasource page to support reusable queries on EE (#29442) 2023-12-08 17:12:14 +05:30
mocks
pages feat: workflows editor code split (#28779) 2023-11-28 10:37:48 +07:00
plugins/Linting chore: CE change to log lint error in moduleEditor (#29230) 2023-12-04 23:37:45 +05:30
reducers chore: Splitting uiReducers to support modules on EE (#27580) 2023-09-25 10:23:01 +05:30
sagas chore: Refactor entity explorer to support displaying module instances in the list (#28855) 2023-11-16 17:03:59 +05:30
selectors feat: workflows editor code split (#28779) 2023-11-28 10:37:48 +07:00
utils chore: Action execution changes for modules (#29357) 2023-12-07 00:48:52 +05:30
workers chore: create evalContext for module instance CE changes (#29008) 2023-11-22 15:03:00 +05:30
AppRouter.tsx
RouteBuilder.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
RouteParamsMiddleware.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30