-
Notifications
You must be signed in to change notification settings - Fork 150
Add Favorite Button to Traces #173 #281
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
base: dev
Are you sure you want to change the base?
Conversation
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.
❌ Changes requested. Reviewed everything up to e5dbcc4 in 1 minute and 26 seconds
More details
- Looked at
130lines of code in2files - Skipped
0files when reviewing. - Skipped posting
2drafted comments based on config settings.
1. frontend/components/ui/datatable.tsx:105
- Draft comment:
TheaddFavoriteandremoveFavoritefunctions are placeholders. Ensure these are implemented in future updates to handle favorite status changes properly. - Reason this comment was not posted:
Confidence changes required:50%
The placeholder functions for adding and removing favorites are not implemented. This is acceptable for now, but should be addressed in future updates.
2. frontend/components/ui/datatable.tsx:160
- Draft comment:
TheFavoritecomponent is usingrow.toggleSelected()which is meant for row selection. Consider using a separate state or function to manage the favorite status independently from row selection. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_qEEV1bvzgILS7Ukg
Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
|
@patricksolka apologies didn't have time to look through the pr yet, was flooded with other tasks, but should have time this weekends. In the meantime can you please change target branch to |
Favorite.tsxlucide-react, which can be toggled on clickdataTable.tsxas a new column.Remaining Issue:
row.toggleSelectedfunction fromRowSelection.ts.As I am not yet familiar with TanStack, I'm unsure how to separate thetoggleSelectedfor the favorite button, or if it's better to manage it with a simpleuseState-hook instead.Important
Add
Favoritecomponent toDataTablefor toggling favorite status, with placeholder functions and shared logic issue.Favoritecomponent todatatable.tsxas a new column, allowing users to toggle favorite status per row.lucide-reactused inFavorite.tsx, toggles on click.addFavoriteandremoveFavoriteindatatable.tsx.Favoritebutton sharesrow.toggleSelectedlogic with row selection, causing interference.Favoritecomponent infavorite.tsxwithisSelectedandonToggleprops.This description was created by
for e5dbcc4. It will automatically update as commits are pushed.