PromucFlow_constructor/app/client/src/layoutSystems
Ashit Rath 76b1ff1406
chore: Fix layout issues for UI package editor (#40349)
## Description
🏗 Architecture
- Moved mainCanvasReducer from Community Edition (CE) to Enterprise
Edition (EE) structure
- Added proper export structure in EE to maintain backward compatibility
- Added RESET_EDITOR_REQUEST handler to reset canvas state when needed
- 
🐛 Bug Fixes
- Fixed widget tag grouping in groupWidgetCardsByTags to properly handle
tags that aren't predefined
- Implemented support for overrideRenderMode in both
LayoutSystemBasedCanvas and withWidgetProps
- Added emptyMessage prop in UIEntitySidebar for improved user
experience

PR for https://github.com/appsmithorg/appsmith-ee/pull/7245

## Automation

/ok-to-test tags="@tag.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/14610885832>
> Commit: 54916f79b3009451298496513e0a3a8ee7bccdac
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14610885832&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 23 Apr 2025 07:02:40 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **New Features**
- Added support for customizing the empty message in the widget sidebar
when no widgets are found.
- Introduced an option to override the widget render mode in both the
canvas and widget components, enabling more flexible widget behavior in
the editor.

- **Bug Fixes**
- Improved grouping of widget cards by tags to prevent potential errors
when encountering new tags.

- **Refactor**
- Updated internal reducer structure and export patterns for improved
maintainability.
- Adjusted import paths for better modularization and separation between
core and enterprise code.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-26 20:45:55 +05:30
..
anvil chore: Remove function calling flag (#39790) 2025-03-18 21:06:31 +05:30
autolayout chore: Split canvas widget reducers (#39327) 2025-02-18 16:12:05 +05:30
common chore: EE widgets register and allow onboarding text for non main canvas widgets (#39364) 2025-02-24 12:48:25 +05:30
fixedlayout chore: Enable meta modal widgets to render in canvas (#39652) 2025-03-13 17:08:56 +05:30
types feat: Asymmetric padding in Anvil (#30964) 2024-02-16 17:13:37 +05:30
CanvasFactory.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CanvasFactory.tsx chore: Fix layout issues for UI package editor (#40349) 2025-04-26 20:45:55 +05:30
withLayoutSystemWidgetHOC.test.tsx fix:codeowners file (#39447) 2025-02-26 15:21:36 +03:00
withLayoutSystemWidgetHOC.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00