Viewer page (import-only viewers): 'Renamed on Twitch? New name -> Move'. Moves the
imported minutes (adding to any already there) and stores old -> new in watch_alias,
which importing again applies, so the hours never jump back to the old name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
seimport.js reads the SE channel from SE_JWT, fetches /kappa/v2/points/<ch>/watchtime
(all pages) into watch_import (login, minutes), replacing any previous import.
Imported minutes count as watch time and watch points (5 per 5 min, merged by
login) on the Stats page, leaderboards and viewer pages. Button on Stats warns that
importing again after our own tracking started double-counts those streams.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/stats (dashboard nav): totals, chat messages and watch hours per day (30 days,
single-series bar charts with hover), leaderboards for points (with level), watch
time, chat, bits, channel points spent; top emotes (with images) and commands.
/stats/viewer?q=: one viewer's points breakdown, watch time, messages, check-ins,
emotes, commands, actions, and 'Forget this viewer' (removal requests: stats, watch
time, raw chat, activity log). Bots (Hidden chatters) left out of everything shown.
src/points.js: the agreed point values in one place, calculated from the stats.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>