bug(minimax-pet): 拖动桌宠时已打开的任务卡越拖越宽

Open
#163 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
desktop

Research direction

Start by locating the MiniMax Pet desktop view and the .workbench styles, then trace how the container width changes during dragging. Reproduce the issue with the task list open while moving the pet, and compare the container and card widths before and after. Done means repeated dragging moves the pet and task card without increasing the card width.

Written by the indexing model from the issue text.

Description

复现步骤

  1. 在 MiniMax Pet 里选择「放到桌面」。
  2. 展开桌宠头顶的任务列表,并保持它打开。
  3. 按住桌宠,在桌面上来回拖动几次。

实际结果: 桌宠上方的任务卡越拖越宽。预期结果: 拖拽只移动桌宠和任务卡,卡片宽度不应累加。

已核对的线索

  • 现象来自实际桌面使用反馈;当时的客户端版本、插件版本和显示缩放比例未记录。代码核对基线是仓库 main(88812f8,Pet 0.9.0)。
  • .workbench 依靠左右各 8px 的边距铺满可用宽度,没有独立的宽度上限。在 Edge 单独扩大桌宠页面容器时,容器从 280px 变为 640px,原版任务卡从 264px 变为 624px。这复现了卡片跟随窗口拉伸,但没有确定原生窗口为何在真实拖拽时变宽。
  • 相关 #132 修的是拖拽时的坐标回弹,PR 描述明确提到未复现卡片横向增长。这里单独跟踪任务卡宽度。
Dominant language
JavaScript
Stars
84
Forks
62
Avg merge
1d 20h
Merged PRs (30d)
62

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MiniMax-AI/MiniMax-Code-MiniApps

All issues in MiniMax-AI/MiniMax-Code-MiniApps

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.