PromucFlow_constructor/app/client/src/ce
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 fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
api chore: Create a separate theme settings panel for WDS (#29196) 2023-12-01 15:39:21 +03:00
components fix: widget icon in debugger (#29141) 2023-11-28 10:22:43 +05:30
configs chore: Set client's version in index.html at runtime (#29318) 2023-12-06 06:57:22 +05:30
constants fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
entities chore: small changes in types for module instance evaluation on ee (#29313) 2023-12-06 14:11:33 +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 refactor: Invite modal component to support single & multi-select dropdown options (#17073) 2022-09-29 09:53:25 +00:00
pages fix: analytic events added for start with data flow (#29463) 2023-12-08 15:26:57 +05:30
plugins/Linting chore: CE change to log lint error in moduleEditor (#29230) 2023-12-04 23:37:45 +05:30
reducers chore: Refactoring header actions on datasource page to support reusable queries on EE (#29442) 2023-12-08 17:12:14 +05:30
sagas fix: current workspace getting set incorrectly issue fixed (#29392) 2023-12-06 20:01:10 +05:30
selectors feat: added add button for queries and js sections (#29356) 2023-12-08 14:45:21 +05:30
utils fix: analytic events added for start with data flow (#29463) 2023-12-08 15:26:57 +05:30
workers chore: create evalContext for module instance CE changes (#29008) 2023-11-22 15:03:00 +05:30
AppRouter.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
RouteBuilder.ts feat: Added new pages pane with segmented navigation (#28927) 2023-11-23 14:53:20 +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