Repository navigation
[6.x] Open admin table rows on double-click - #19957
Conversation
📚 Storybook previews@craftcms/ui — open Storybook No changed components detected in this Storybook. resources/js — open Storybook No changed components detected in this Storybook. |
There was a problem hiding this comment.
🟡 Changes recommended
Associated form labels can activate their controls while also triggering the row-opening action.
1 open finding
What changed in this PR
Adds double-click navigation to admin table rows while reusing existing link and slideout behavior.
Changes:
- Emits row double-click events while ignoring controls, modifiers, canceled events, and busy tables.
- Opens first-column links through Inertia or existing slideout handling.
- Adds behavioral tests and documentation.
| File | Description |
|---|---|
src/Ui/Nodes/Table.php |
Documents row double-click behavior. |
resources/js/modules/ui/AdminTableNode.vue |
Resolves and opens each row’s primary link. |
resources/js/modules/admin-table/components/AdminTableData.browser.test.ts |
Tests navigation, slideouts, cancellation, and controls. |
resources/js/modules/admin-table/components/AdminTable.vue |
Forwards row double-click events. |
resources/js/common/utils/dom.ts |
Expands interactive-element detection. |
resources/js/common/components/DataTable.vue |
Detects eligible row double-clicks. |
resources/js/common/components/DataTable.test.ts |
Tests row event filtering. |
CHANGELOG-WIP.md |
Records the new interaction. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…-row-double-click # Conflicts: # CHANGELOG-WIP.md
|
This PR had conflicts with Claude's response
|
…-row-double-click # Conflicts: # CHANGELOG-WIP.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e-click' into feature/6x-admin-table-row-double-click # Conflicts: # CHANGELOG-WIP.md

Description
Double-clicking an admin table row opens its first-column link. Ordinary links navigate normally, links with
slideout: truereuse the existing slideout handling, including width and refresh options.Double-clicks on interactive controls, modified double-clicks and canceled events leave the row alone.
Stacked on #19956, targeting
feature/6x-admin-table-slideouts. Merge that PR first.