Skip to content

Conversation

@nielslyngsoe
Copy link
Member

Tabs sorting turns out to be slightly annoying and not working in some cases. So I have fixed that here.

Please review this first: #20073

Copilot AI review requested due to automatic review settings September 3, 2025 19:15
@nielslyngsoe nielslyngsoe enabled auto-merge (squash) September 3, 2025 19:15
@nielslyngsoe nielslyngsoe changed the title Content Type Designer tabs sorting imporvement Content Type Designer tabs sorting improvement Sep 3, 2025
Copy link
Contributor

Copilot AI left a 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 tab sorting functionality in the Content Type Designer by fixing several issues with tab sorting behavior and user interface elements.

  • Excludes the root tab from sorting operations to prevent unwanted behavior
  • Adds proper pointer event handling for better drag-and-drop interaction
  • Ensures proper sort order is maintained when merging containers from different inheritance levels

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
content-type-design-editor.element.ts Updates tab sorting configuration, fixes CSS class names, improves UI interaction handling, and adds localization
content-type-structure-manager.class.ts Ensures owner containers maintain correct sort order when merging inherited containers
content-type-container-structure-helper.class.ts Adds missing sort operation for merged child containers

@nielslyngsoe nielslyngsoe marked this pull request as draft September 4, 2025 08:13
auto-merge was automatically disabled September 4, 2025 08:13

Pull request was converted to draft

@nielslyngsoe nielslyngsoe marked this pull request as ready for review September 5, 2025 05:45
@nielslyngsoe nielslyngsoe enabled auto-merge (squash) September 5, 2025 05:45
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor.element.ts
@nielslyngsoe nielslyngsoe merged commit 472be3d into main Sep 5, 2025
27 checks passed
@nielslyngsoe nielslyngsoe deleted the v16/bugfix/content-type-designer-tabs-sorting branch September 5, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants