PromucFlow_constructor/app
Hetu Nandu f477f610aa
fix: State inspector shows canvas widgets (#39023)
## Description

Filter out the canvas widgets from the ui segment list


Fixes #38876

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
b3a73020c95e36ad3d7a807ae8438e7bb8dae1c6 yet
> <hr>Thu, 06 Feb 2025 05:10:14 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

- **New Features**
- Introduced a structured error payload interface for improved error
handling.
  
- **Refactor**
- Improved the logic for filtering UI components, ensuring a more
consistent and accurate categorization based on widget type.
- Reorganized import statements for better clarity and structure in
error handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-06 12:11:53 +05:30
..
client fix: State inspector shows canvas widgets (#39023) 2025-02-06 12:11:53 +05:30
server fix: added support for both openssh and rsa private keys (#39017) 2025-02-05 23:39:39 +05:30
util