Skip to content

Dangrous clickable dashboard items#317

Closed
dangrous wants to merge 6 commits intomainfrom
dangrous-clickableDashboardItems
Closed

Dangrous clickable dashboard items#317
dangrous wants to merge 6 commits intomainfrom
dangrous-clickableDashboardItems

Conversation

@dangrous
Copy link
Copy Markdown
Contributor

No description provided.

Shows a pointer cursor when hovering anywhere over a panel item box,
hinting that the entire area is clickable.

Made-with: Cursor
Add a click handler on the panel-item div so clicking anywhere in the
box opens the issue link, not just on the text. The handler skips
navigation if the click was on an existing link (e.g. avatar) or if
the user has selected text (to allow copy/paste).

Made-with: Cursor
Move dnd-kit drag listeners from the full SortableIssue wrapper to a
dedicated grip handle (⠿) inside each panel item. This allows text
selection and copy to work normally on the issue title, while
reordering is still available via the handle on the left.

Made-with: Cursor
Position the grip icon on the far right using absolute positioning
so it stretches the full height of the row, keeping it out of the
way of the issue text.

Made-with: Cursor
- Move drag handle to the left side (standard convention for vertical
  sortable lists per Atlassian/PatternFly guidelines)
- Replace braille character with a proper 2x3 grip dots SVG icon
- Show handle only on row hover with a fade transition
- Merge duplicate .panel-item CSS blocks
- Guard handlePanelClick against clicks on the drag handle

Made-with: Cursor
Add role="link", tabIndex, and onKeyDown to the panel-item div so it
is accessible via keyboard (Enter to open). This removes the
jsx-a11y/click-events-have-key-events and
jsx-a11y/no-static-element-interactions inline disables.

Made-with: Cursor
@dangrous
Copy link
Copy Markdown
Contributor Author

Closing in favor of just using an "open all" button - #319

@dangrous dangrous closed this Mar 25, 2026
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.

1 participant