Skip to content

feat(ui): make the agent panel draggable - #680

Open
9426Haruka wants to merge 1 commit into
alibaba:mainfrom
9426Haruka:feat/draggable-panel
Open

9426Haruka wants to merge 1 commit into
alibaba:mainfrom
9426Haruka:feat/draggable-panel

Conversation

@9426Haruka

@9426Haruka 9426Haruka commented Aug 19, 2026

Copy link
Copy Markdown

What

Make the agent panel draggable using pointer events, keep its position across drags, clamp it to the viewport, and suppress the expand/collapse click that follows a drag.

Closes #676

Type

  • Breaking change
  • Bug fix
  • Feature / Improvement
  • Refactor / Chores
  • Documentation / Website / Demo / Testing

Testing

  • npm run ci passes
  • Tested in modern browsers
  • Types/doc added

Automated checks run locally (Windows): npm run typecheck, npm run lint, npm test, npm run build -w @page-agent/ui, and Prettier on the changed files all pass. npm run ci could not run as-is because scripts/ci.js requires sh, which is unavailable on this machine.

Requirements / 要求

  • I have read and follow the Code of Conduct and Contributing Guide . / 我已阅读并遵守行为准则。
  • This PR is NOT generated by a bot or AI agent acting autonomously. I have authored or meaningfully reviewed every change. / 此 PR 不是由 bot 或 AI 自主生成的,我已亲自编写或充分审查了每一处变更。

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@CLAassistant

CLAassistant commented Aug 21, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Drag the panel by its header with pointer events, keep the position
across drags, clamp it to the viewport, and suppress the
expand/collapse click that follows a drag.
@9426Haruka
9426Haruka force-pushed the feat/draggable-panel branch from dd40aea to 85812d6 Compare August 21, 2026 03:22
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