mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
AppMain owned a wall-clock setInterval(1000) that existed only so the footer could print "refreshed Ns ago", so every tick reconciled the sidebar, hero, daily chart, heatmap and every table 60 times a minute. The per-second tick now lives in a leaf RefreshedAt component that owns just that label. The shell re-renders on real state changes plus a 15-second day check that fires only when the local calendar rolls over, which the overview memo keys need to keep "Today" honest at midnight. App.renderChurn.test.tsx pins it: 10 renders over 10 idle seconds before, 0 after. The splash video is re-encoded at VP9 CRF 30, 2,582,836 to 1,294,904 bytes, same 544x544 and 6.04s. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| sections | ||
| styles | ||
| test | ||
| App.renderChurn.test.tsx | ||
| App.test.tsx | ||
| App.tsx | ||
| index.html | ||
| main.tsx | ||
| vite-env.d.ts | ||