Skip to content

feat: Enable clickable files, shares and tasks table rows to view det…#6

Merged
romdalf merged 6 commits intoNetApp:neo-v3from
kirkryan:feature/ux-results-enhancement
Dec 5, 2025
Merged

feat: Enable clickable files, shares and tasks table rows to view det…#6
romdalf merged 6 commits intoNetApp:neo-v3from
kirkryan:feature/ux-results-enhancement

Conversation

@kirkryan
Copy link
Copy Markdown
Contributor

@kirkryan kirkryan commented Dec 4, 2025

This pull request improves the interactivity and usability of the data tables for files, shares, and tasks by making table rows clickable to show details and preventing event propagation issues with row action buttons. The changes ensure a more intuitive user experience when interacting with table rows and their associated actions.

Enhanced table row interactivity:

  • Made each row in FilesTable, SharesTable, and TasksTable clickable to show metadata or details, and added visual feedback with pointer cursor and hover background styling. (src/components/data-tables/filesT.tsx [1] src/components/data-tables/sharesT.tsx [2] src/components/data-tables/tasksT.tsx [3]

Improved event handling for action buttons:

  • Updated action buttons in all tables to stop click event propagation, preventing accidental triggering of row click handlers when interacting with dropdown menus or detail buttons. (src/components/data-tables/filesT.tsx [1] src/components/data-tables/sharesT.tsx [2] src/components/data-tables/tasksT.tsx [3]

romdalf and others added 6 commits November 6, 2025 12:31
@kirkryan
Copy link
Copy Markdown
Contributor Author

kirkryan commented Dec 4, 2025

@romdalf - UX Enhancements

Copy link
Copy Markdown

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 enhances user experience in data tables by making table rows clickable to view details and fixing event propagation issues with action buttons. The implementation ensures that clicking on action buttons or dropdown menus doesn't trigger the row's click handler.

  • Added clickable row functionality with visual feedback (cursor and hover states) to FilesTable, SharesTable, and TasksTable
  • Implemented stopPropagation() on action buttons to prevent unintended row click triggering
  • Bumped package version to 3.0.4-2 and updated peer dependency flags in package-lock.json

Reviewed changes

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

File Description
src/components/data-tables/tasksT.tsx Added row-level onClick handler for task details and stopPropagation on dropdown trigger button
src/components/data-tables/sharesT.tsx Added row-level onClick handler for share details, stopPropagation on dropdown trigger, and code formatting improvements
src/components/data-tables/filesT.tsx Added row-level onClick handler for file metadata and stopPropagation on the info button click handler
package-lock.json Version bump to 3.0.4-2 and peer dependency flag updates for several packages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@romdalf romdalf changed the base branch from main to neo-v3 December 5, 2025 14:33
@romdalf romdalf merged commit 694c771 into NetApp:neo-v3 Dec 5, 2025
6 checks passed
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.

3 participants