mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4419] [CLOSED] fix(agents): remove the duplicate drag handle on agent cards #6369
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6369
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4419
Author: @Gunterlie
Created: 8/1/2026
Status: ❌ Closed
Base:
staging← Head:fix/agent-card-duplicate-drag-handle📝 Commits (1)
9c2a769fix(agents): remove the duplicate drag handle on agent cards📊 Changes
2 files changed (+1 additions, -19 deletions)
View changed files
📝
packages/client/src/components/panels/AgentsPanel.tsx(+1 -18)📝
packages/client/src/localization/locales/en.json(+0 -1)📄 Description
Follow-up to #4413.
Why
That PR added a
TouchDragHandleto agent cards so agents could be touch-dragged. Agent cards already carried their own decorative grip — hover-revealed,[@media(pointer:coarse)]:hidden, no handler, purely an affordance for the native HTML5 drag. The new handle also hover-reveals on fine pointers, so hovering an agent card on desktop showed two grips side by side.What
Remove the decorative grip and keep
TouchDragHandle, which already covers both pointer types and is exactly what the other six library panels do. The handle now also reuses the existingui.panels.agentcard.dragAgentkey, so the duplicateui.panels.agentspanel.dragAgentkey added in #4413 is dropped.One small behavior difference: the old grip was hidden in selection mode, the shared handle is not — again matching the other panels.
Validation
pnpm checkpnpm localization:checkTest plan
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.