Commit 52a7e65
refactor: migrate aggregation logic to
Replace custom aggregation/smoothing implementations with `@rdub/agg-plot`:
- `useDataAggregation`: use `aggregate()`, `rollingRaw()`, `flattenDateAll()`
- `useMultiDeviceAggregation`: use `useMultiSeriesAggregation()` hook
This reduces awair's hook code from 627 to 326 lines (-301 lines) while
moving reusable aggregation logic to a shared library.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>@rdub/agg-plot
1 parent 36351b8 commit 52a7e65
File tree
4 files changed
+1256
-757
lines changed- www
- src/hooks
4 files changed
+1256
-757
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments