Skip to content

fix(chat): adjust the position of timeline jump rail#780

Closed
XNgZIyX wants to merge 9 commits into
KunAgent:developfrom
XNgZIyX:master
Closed

fix(chat): adjust the position of timeline jump rail#780
XNgZIyX wants to merge 9 commits into
KunAgent:developfrom
XNgZIyX:master

Conversation

@XNgZIyX

@XNgZIyX XNgZIyX commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adjust the chat timeline jump rail position so it avoids the right-side workbench rail and panels.

Why

  • The timeline jump rail was positioned with a fixed viewport offset, which could overlap or crowd the right-side workbench toolbar.
  • When right-side panels are opened, the jump rail should keep a stable relative distance from the active panel boundary.

Changes

  • Added a timelineJumpRailRightOffset prop to MessageTimeline.
  • Passed the offset through WorkbenchChatStage.
  • Calculated the right-side offset in WorkbenchConversationStage based on the workbench rail and right-side panel state.
  • Updated timeline-jump-rail CSS to use a configurable CSS variable with a fallback offset.

Media

Before After

Tests

  • No unit tests added because this is a layout-only UI adjustment.

Validation

  • [√] I agree that this contribution is submitted under the Contributor License Agreement.
  • [√] npm run test
  • [√] npm run typecheck
  • [√] npm run build
  • [√] npm run dev (if runtime or UI behavior changed)
  • [√] UI change: video or GIF attached

@XNgZIyX XNgZIyX closed this Jul 5, 2026
@XNgZIyX XNgZIyX reopened this Jul 5, 2026
@XNgZIyX XNgZIyX closed this Jul 5, 2026
@XNgZIyX XNgZIyX reopened this Jul 5, 2026
@XNgZIyX XNgZIyX closed this Jul 5, 2026
@XNgZIyX XNgZIyX reopened this Jul 5, 2026
@XNgZIyX XNgZIyX changed the title fix(renderer): adjust the position of timeline jump rail fix(chat): adjust the position of timeline jump rail Jul 5, 2026
@XingYu-Zhong

Copy link
Copy Markdown
Collaborator
image 我们改了样式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants