Files
homarr/.cursor/goal/scratchpad.md
T

2.8 KiB

iteration, max_iterations, status, goal, success_criteria, last_verdict, last_reason, last_next, engine
iteration max_iterations status goal success_criteria last_verdict last_reason last_next engine
2 10 active Maximize the downloads widget by leveraging every mantine-datatable feature, adding hover tooltips with stats, click-to-expand rich detail rows, toggleable global stats, and comprehensive customization options
Leverage all mantine-datatable features: row expansion, column toggling, custom row styling, striped rows, scroll area tracking, pinned columns, and context menus
Add hover tooltips on rows showing additional stats (size, speed, ETA, ratio, category)
Implement click-to-expand row details with comprehensive download info
Add toggleable global stats bar showing total speeds, ratios, queue counts, and disk usage
Use every relevant DataTable prop from the mantine-datatable docs
Typecheck passes with pnpm turbo typecheck --filter=@homarr/widgets
No regressions in existing functionality (context menu, sorting, filtering still work)
null null null cursor

Progress log

Iteration 1

  • Added hover tooltips on name column showing size, state, speeds, ETA, ratio, category
  • Added toggleable global stats bar with overall progress, total size, speeds, ratio, status counts
  • Enhanced row expansion with RingProgress, SimpleGrid layout, collapse on click
  • Added striped rows, highlightOnHover colors, rowBackgroundColor for failed/paused
  • Added defaultColumnProps with noWrap and dynamic cellsStyle
  • Added collapseProps for smooth expansion animation
  • Added onScroll to auto-close context menu
  • Added new translations for stats bar
  • TypeCheck: PASS

Iteration 2

  • Migrated to useDataTableColumns hook with toggleable, draggable, resizable, pinnable columns
  • Added storeColumnsKey for localStorage column preference persistence
  • Added pinFirstColumn, pinLastColumn, textSelectionDisabled, withColumnBorders
  • Added scrollAreaProps, customRowAttributes, enhanced scroll tracking (onScroll, onScrollToTop, onScrollToBottom)
  • Added column settings menu in footer with reset visibility/order/width/pinning
  • Added scroll position indicator badge when scrolled
  • Explicit rowExpansion.trigger: "click"
  • Updated docs and translations for column controls
  • TypeCheck: PASS

Blockers

None

Verification

  • pnpm turbo typecheck --filter=@homarr/widgets: PASS (exit code 0)
  • Context menu: preserved via onRowContextMenu
  • Sorting: preserved via sortStatus/onSortStatusChange
  • Filtering: preserved in WidgetFooter
  • Column toggling/reordering/resizing/pinning: via useDataTableColumns + header UI

Task

Maximize the downloads widget by leveraging every mantine-datatable feature, adding hover tooltips with stats, click-to-expand rich detail rows, toggleable global stats, and comprehensive customization options