Commit graph

1 commit

Author SHA1 Message Date
mwiegand
39963db2e3
docs(server-detail): implementation plan for console/log autoscroll
5 tasks, TDD style:
 1. server-side slice console_history_overview = console_history[-20:]
 2. generalise scrollConsolesToBottom -> scrollAutoscrollTargets (ancestor walk)
 3. tabs.js pins autoscroll targets on tab activation
 4. console-modal pin on modal:opened event
 5. e2e: pin-to-bottom on tab + on command submit

Bug confirmed in live browser before plan was written: after switching
to the Console tab on /servers/1, transcript scrollTop=0 with
bottomDistance=1873px (top-of-history visible, not newest).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 22:41:42 +02:00