-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Data Type: Improve missing property editor and property editor UI feedback #20339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data Type: Improve missing property editor and property editor UI feedback #20339
Conversation
…itor or editor UI that could not be found
…ould not be found
nielslyngsoe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great — Thanks a lot!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves the user experience when dealing with missing property editors and property editor UIs in Umbraco CMS by providing clearer feedback and validation. The changes include enhanced visibility of missing editors with visual indicators, improved error messages, and prevention of saving data types with missing configurations.
- Refactored missing property editor components to share common functionality through a base class
- Added validation to prevent saving data types with missing property editors/UIs
- Enhanced error messages and visual feedback for missing property editor UIs
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| property-editor-ui-missing.element.ts | Refactored to extend base class and simplified implementation |
| property-editor-ui-missing-ui.element.ts | New component for handling missing property editor UI scenarios |
| property-editor-ui-missing-base.element.ts | New base class containing shared functionality for missing property editor components |
| manifests.ts | Added manifest for new missing UI component and updated existing manifest |
| data-type-details-workspace-view.element.ts | Simplified to use new property editor picker component |
| data-type-details-workspace-property-editor-picker.element.ts | New component with validation for missing property editors/UIs |
| data-type-workspace.context.ts | Added fallback logic for property editor schema alias |
| property.element.ts | Added fallback to missing UI component when property editor UI not found |
| constants.ts | Added constants for missing property editor UI aliases |
| validation.controller.ts | Enhanced error message for missing validation messages |
| lang files | Added localization strings for new error messages |
...a-type/workspace/views/details/data-type-details-workspace-property-editor-picker.element.ts
Show resolved
Hide resolved
...b.UI.Client/src/packages/property-editors/missing/property-editor-ui-missing-base.element.ts
Show resolved
Hide resolved
src/Umbraco.Web.UI.Client/src/packages/core/property/components/property/property.element.ts
Show resolved
Hide resolved
|
Converted back to draft as this caused a failing smoke test: |
Description
This PR improves the user experience when dealing with missing property editors and property editor UIs in two key areas:
Data Type Workspace Improvements
Property Editor UI Feedback