Skip to content

feat(ui): use shared useAutoScrollBottom from lib-vue on run page#104

Merged
albanm merged 2 commits into
masterfrom
feat-auto-scroll-bottom
Jun 9, 2026
Merged

feat(ui): use shared useAutoScrollBottom from lib-vue on run page#104
albanm merged 2 commits into
masterfrom
feat-auto-scroll-bottom

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Jun 4, 2026

Copy link
Copy Markdown
Member

Replace the local use-follow-bottom composable with the shared useAutoScrollBottom from @data-fair/lib-vue (released in 1.28.0) on the run page, and raise the lib-vue floor to ^1.28.0.

Why: mutualize the run-log stick-to-bottom scroll logic into the shared lib so it can be reused — the agents chat now uses the same composable.

Regression risks:

  • The run-page autoscroll now comes from the shared lib instead of the local copy. It is behaviorally identical (same useScroll(window) + wheel-up handling + document.scrollingElement pin); the path worth a QA pass is the d-frame iframe embed the old comment specifically called out — confirm the log still pins to the tail there.
  • @data-fair/lib-vue floor raised ^1.27.1^1.28.0; resolves only against the published 1.28.0.

@BatLeDev BatLeDev force-pushed the feat-auto-scroll-bottom branch 3 times, most recently from 72596a5 to b9611a2 Compare June 5, 2026 09:15
@BatLeDev BatLeDev force-pushed the feat-auto-scroll-bottom branch from b9611a2 to 63f4b86 Compare June 5, 2026 09:23
@albanm albanm merged commit 3d45fbd into master Jun 9, 2026
3 checks passed
@albanm albanm deleted the feat-auto-scroll-bottom branch June 9, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants