Collections: Add single-row actions menu (open, duplicate, delete)#187
Merged
Conversation
Closes #107. Every row gets a kebab with three Open-in entries (side peek, center modal, full page), Duplicate, and Delete with a confirm step. Delete force-deletes for now; trash and restore tracks in #179. Duplicate copies title (prefixed "Copy of ..."), content, status, document icon, featured media, and every stored field value. Relations sync to the new row only when the reverse side is multi-valued, so a duplicate never steals the source row's exclusive reverse pointer. The "+ add field" affordance is folded into the dataviews actions column header so the right edge of the table has one column instead of two. The synthetic ghost column is gone.
…k-reorder # Conflicts: # src/components/fields/ColumnHeaderActions.js
12d893e to
46b2dc5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Closes #107.
Adds row actions to open rows on a selected detail surface, duplicate rows, and delete rows from collection views. Row duplication creates a new copy with the copied field values, document icon, featured media, and relation handling, while deletion prompts confirmation before permanently removing the row (will change to send to trash in #179).
How
+add-field control into the DataViews actions column instead of using a synthetic ghost column.Testing Instructions
Copy oftitle.+add-field button appears in the right-side actions column and opens the add-field popover.Screen recording
Grabacion.de.pantalla.2026-05-14.a.las.12.27.23.mov