Skip to content

move to page action should create a provisional draft#16894

Merged
brandonkelly merged 3 commits into5.xfrom
bugfix/change-sort-order-action-and-provisional-drafts
Mar 14, 2025
Merged

move to page action should create a provisional draft#16894
brandonkelly merged 3 commits into5.xfrom
bugfix/change-sort-order-action-and-provisional-drafts

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Mar 14, 2025

Description

For the matrix in element index view mode, we have the ChangeSortOrder action, which allows you to move elements to a selected page. It works as expected but doesn’t create a provisional draft, whereas if you change the order by dragging, a provisional draft is created.

This PR fixes the issue where the “Move to page” action wasn’t creating a provisional draft before reordering (if there wasn’t one already).

Related issues

n/a

@i-just i-just requested a review from brandonkelly March 14, 2025 15:45
Consistent with Duplicate and Delete actions.

Also improves the HUD selector a bit, to mark the current page as disabled and auto-select the next page
[ci skip]
@brandonkelly brandonkelly merged commit 23696c7 into 5.x Mar 14, 2025
@brandonkelly brandonkelly deleted the bugfix/change-sort-order-action-and-provisional-drafts branch March 14, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants