TrackerTotals is similar to RecentTaskLogTotals. It sums and groups task log
totals by month and task, instead of RecentTaskLogTotals which does it by
month and food taxonomy.
For styling, I reused the sites table because it looks similar to the list-table
styles, but can work better with variable columns. Because we're using tasks as
the columns, these tables can get large. So I also wrapped the table in a
scrolling container. There's a nice side benefit that we get that we can make a
minimum column width (only if table-layout: auto;) so that they don't get
squished too much.
Screen Shot 2026年07月08日 at 16.40.14-fullpage
`TrackerTotals` is similar to `RecentTaskLogTotals`. It sums and groups task log
totals by month and task, instead of `RecentTaskLogTotals` which does it by
month and food taxonomy.
For styling, I reused the sites table because it looks similar to the list-table
styles, but can work better with variable columns. Because we're using tasks as
the columns, these tables can get _large_. So I also wrapped the table in a
scrolling container. There's a nice side benefit that we get that we can make a
minimum column width (only if `table-layout: auto;`) so that they don't get
squished too much.
