Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

Feature: Data Type / Property Editor UI picker modal amends

Open leekelleher opened this issue 6 months ago • 1 comments

Description

Part feature, part bugfix, part chore... I've refactored the Data Type / Property Editor UI picker modals!

A few things...

  • Aligned the property-editor UI groups aliases (in manifests) with v13, (we had a lot under "common" for v14)
  • Removed a submitLabel property that wasn't being utilised
  • Refactored/fixed the grouping code, to sort items alphabetically, and friendly group labels (fromCamelCase)
  • Fixed the grouping code when filtering data-types, (performs a lookup against the property-editor UI data)

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

How to test?

  • In the Document Type workspace > "Add property" > "Select property editor"...
    • Notice the property-editor UI grouping labels
    • Try filtering, e.g. "text", notice the "Available configurations" are now grouped
  • Data Type workspace > "Select a property editor"... notice the property-editor UI grouping labels

leekelleher avatar Aug 07 '24 16:08 leekelleher