additional context name for 'content property context' #19375
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR renames and refactors the content property context to use the new "property type based property context," deprecating the old naming and exports. Key changes include:
- Removing old context exports from the main content index.
- Updating the property element to use the new context and renaming variables accordingly.
- Introducing new context token and context files with deprecation notices for the old tokens.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Umbraco.Web.UI.Client/src/packages/content/content/index.ts | Removed exports for the old content property context. |
| src/Umbraco.Web.UI.Client/src/packages/content/content/content-property.context-token.ts | Removed the old context token definition. |
| src/Umbraco.Web.UI.Client/src/packages/content/content/components/property-type-based-property/property-type-based-property.element.ts | Updated to use the new property type based context and renamed a variable. |
| src/Umbraco.Web.UI.Client/src/packages/content/content/components/property-type-based-property/property-type-based-property.context.ts | Renamed the context class and updated the super call with the new token; added a deprecation alias. |
| src/Umbraco.Web.UI.Client/src/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.ts | Added new context token and deprecated the old token. |
| src/Umbraco.Web.UI.Client/src/packages/content/content/components/property-type-based-property/index.ts | Re-exported the updated context and token files. |
...tent/content/components/property-type-based-property/property-type-based-property.element.ts
Show resolved
Hide resolved
|
This change introduces a regression with Example usage in my Contentment package. This worked in 16-rc3, but doesn't the context doesn't resolve in 16-rc4. |
Providing 'content property context' under the name 'property type based property context'. keeping the old and marked that as deprecated, with removal in v.18.