PromucFlow_constructor/app
Ashit Rath b5d22b8ba0
chore: Refactor widget rename saga to extend for packages (#40243)
## Description
This PR implements a flexible extension system for widget name updates
by:
- Creating a singleton WidgetNameUpdateExtension class for pluggable
widget renaming handlers
- Adding default implementation with handleWidgetNameUpdateDefault
function
- Refactoring UpdateWidgetNameRequest interface to support optional
fields (pageId, moduleId, contextType)
- Extracting widget name update logic to dedicated functions for better
maintainability
- Adding packageMiddleware to the Redux store configuration
These changes enable customized widget naming behavior in different
contexts without modifying core code, improving extensibility while
maintaining backward compatibility.

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

## 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/14463310871>
> Commit: 4b4433fa68479ada6426ee39d353abc3973a2864
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14463310871&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 15 Apr 2025 15:51:36 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

- **Refactor**
- Modularized the widget name update process, allowing for extension or
override of update behavior.
- Improved the structure of widget name update logic for better
maintainability.

- **Chores**
- Updated internal interfaces to support additional parameters and
optional properties.
  - Added a new middleware to the Redux store setup.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-18 09:53:33 +05:30
..
client chore: Refactor widget rename saga to extend for packages (#40243) 2025-04-18 09:53:33 +05:30
server chore: Disable default fallback when the form login enabled is null for org config (#40304) 2025-04-17 17:38:50 +05:30
util