PromucFlow_constructor/app
Hetu Nandu a07f04857c
fix: Avoid update of empty code from chat bot (#39974)
## Description

Checks each field from the chat bot and only update that field instead
of a bulk update. This should avoid scenarios where a bad bulk update
could while the current user code in custom widget


## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 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/14165509137>
> Commit: ec98ea0f3036f1950c978f5d475aed500167f60d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14165509137&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 31 Mar 2025 07:16:11 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**
- Streamlined the chatbot update process by switching from a bulk
mechanism to individual, content-specific updates.
- Ensured that each code segment (HTML, CSS, JS) is only updated when
valid content is provided, enhancing overall reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-31 12:55:29 +05:30
..
client fix: Avoid update of empty code from chat bot (#39974) 2025-03-31 12:55:29 +05:30
server chore: Fixing AC tests after post-processing on delete (#39973) 2025-03-31 11:26:57 +05:30
util