-
Notifications
You must be signed in to change notification settings - Fork 14
enhancement(todos): change pointer to cursor and underline title when hover on todo #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,7 +58,9 @@ const TodoListTableRow = ({ todo, team }: TodoListTableRowProps) => { | |
| onSubmit={handleSubmit} | ||
| isMutationPending={mutation.isPending} | ||
| > | ||
| <TableCell className="whitespace-nowrap">{todo.title}</TableCell> | ||
| <TableCell className="whitespace-nowrap hover:cursor-pointer hover:underline"> | ||
| {todo.title} | ||
| </TableCell> | ||
|
Comment on lines
+61
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial LGTM! Consistent hover styling applied. The hover styles are correctly implemented and match the changes in Note: The Also applies to: 72-74 |
||
| </TodoDialog> | ||
| ) : ( | ||
| <TodoDialog | ||
|
|
@@ -67,7 +69,9 @@ const TodoListTableRow = ({ todo, team }: TodoListTableRowProps) => { | |
| onOpenChange={setShowViewTodoModal} | ||
| open={showViewTodoModal} | ||
| > | ||
| <TableCell className="whitespace-nowrap">{todo.title}</TableCell> | ||
| <TableCell className="whitespace-nowrap hover:cursor-pointer hover:underline"> | ||
| {todo.title} | ||
| </TableCell> | ||
| </TodoDialog> | ||
| )} | ||
| <TableCell className="whitespace-nowrap"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
LGTM! Hover styling correctly indicates interactivity.
The hover styles (
cursor-pointerandunderline) are properly applied to both edit and view mode TableCells, successfully achieving the PR objective of making todo titles visually interactive. The implementation is consistent across both branches.Note: This same pattern is duplicated in
src/modules/teams/team-tasks.tsx. Consider extracting a sharedTodoTitleCellcomponent if this pattern expands further.Also applies to: 99-101
🤖 Prompt for AI Agents