Skip to content

Deprecations: Client-side removal of v18 deprecated code - #21984

Merged
iOvergaard merged 11 commits into
v18/devfrom
v18/task/remove-client-deprecations
Apr 9, 2026
Merged

Deprecations: Client-side removal of v18 deprecated code#21984
iOvergaard merged 11 commits into
v18/devfrom
v18/task/remove-client-deprecations

fix(backoffice): remove entityType references from tests and source a…

26c89a1
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Code Health Review (v18/dev) failed Apr 9, 2026 in 1m 13s

CodeScene PR Check

Quality Gate Failed

Code Health Improved (5 files improve in Code Health)

Gates Failed
Enforce advisory code health rules (1 file with Overall Code Complexity)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
content-detail-workspace-base.ts 1 advisory rule 6.90 → 6.50 Suppress
View Improvements
File Code Health Impact Categories Improved
tree-repository-base.ts 9.69 → 10.00 Complex Method
tree-item-children.manager.ts 8.45 → 8.63 Complex Method, Bumpy Road Ahead
tree-data.request-manager.ts 8.82 → 9.39 Overall Code Complexity
property.element.ts 8.71 → 8.73 Complex Method
property-editor-ui-textarea.element.ts 9.69 → 10.00 Complex Method

Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Overall Code Complexity content-detail-workspace-base.ts

✅ Improving Code Health:

  • Complex Method property.element.ts: UmbPropertyElement._gotEditorUI
  • Complex Method tree-item-children.manager.ts: UmbTreeItemChildrenManager.loadPrevItemsFromTarget
  • Complex Method tree-repository-base.ts: UmbTreeRepositoryBase.requestTreeItemsOf
  • Bumpy Road Ahead tree-item-children.manager.ts: UmbTreeItemChildrenManager.loadPrevItemsFromTarget
  • Overall Code Complexity tree-data.request-manager.ts
  • Complex Method property-editor-ui-textarea.element.ts: UmbPropertyEditorUITextareaElement.setconfig

Annotations

Check notice on line 85 in src/Umbraco.Web.UI.Client/src/packages/core/tree/data/tree-repository-base.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ No longer an issue: Complex Method

UmbTreeRepositoryBase.requestTreeItemsOf is no longer above the threshold for cyclomatic complexity

Check notice on line 383 in src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-children.manager.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ Getting better: Complex Method

UmbTreeItemChildrenManager.loadPrevItemsFromTarget decreases in cyclomatic complexity from 15 to 13, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.

Check notice on line 383 in src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-children.manager.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ No longer an issue: Bumpy Road Ahead

UmbTreeItemChildrenManager.loadPrevItemsFromTarget is no longer above the threshold for logical blocks with deeply nested code

Check notice on line 1 in src/Umbraco.Web.UI.Client/src/packages/management-api/tree/tree-data.request-manager.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ No longer an issue: Overall Code Complexity

The mean cyclomatic complexity in this module is no longer above the threshold

Check warning on line 1 in src/Umbraco.Web.UI.Client/src/packages/content/content/workspace/content-detail-workspace-base.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

❌ New issue: Overall Code Complexity

This module has a mean cyclomatic complexity of 4.03 across 40 functions. The mean complexity threshold is 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.

Check notice on line 355 in src/Umbraco.Web.UI.Client/src/packages/core/property/components/property/property.element.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ Getting better: Complex Method

UmbPropertyElement._gotEditorUI decreases in cyclomatic complexity from 21 to 20, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.

Check notice on line 69 in src/Umbraco.Web.UI.Client/src/packages/property-editors/textarea/property-editor-ui-textarea.element.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v18/dev)

✅ No longer an issue: Complex Method

UmbPropertyEditorUITextareaElement.setconfig is no longer above the threshold for cyclomatic complexity