[PR #8825] [MERGED] fix(client): long-press to reorder chat characters, drop the grip #8830

Closed
opened 2026-11-07 17:40:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8825
Author: @Gunterlie
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @Gunterlie

Base: staging ← Head: qol/chat-characters-longpress


📝 Commits (1)

  • 5e6cec2 fix(client): long-press to reorder chat characters, drop the grip

📊 Changes

1 file changed (+20 additions, -112 deletions)

View changed files

📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+20 -112)

📄 Description

Why

The character list in the chat menu (chat settings) still showed a drag grip (⋮⋮) icon. Every other sidebar list moved to no handle: you press and hold the row (touch) or drag the row (mouse). This list was the odd one out, and it carried its own separate drag code.

No linked issue: small QoL follow-up to the handle-free sidebar lists.

What changed

  • Removed the grip icon from chat-menu character rows.
  • Replaced the list's own HTML5 drag + touch reorder code with the shared useTouchFolderDrag onReorder path used by the other sidebars (same drop markers, long-press on touch, drag on mouse).
  • The row's main button is a data-drag-surface, so a long-press on it starts the drag. Pin and remove buttons stay plain taps.

Manual verification

  • Desktop: drag a character row in the chat menu up and down; order saves and the drop marker shows.
  • Phone: long-press a character row and move it; order saves; a short tap still opens the character picker.
  • Pin and remove buttons on a row still work with a single tap.

Local checks: ESLint on the changed file is clean. Full typecheck left to CI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8825 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/4/2026 **Status:** ✅ Merged **Merged:** 11/4/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `qol/chat-characters-longpress` --- ### 📝 Commits (1) - [`5e6cec2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5e6cec22c00f1df11c0b79864d50fa2c1811f3be) fix(client): long-press to reorder chat characters, drop the grip ### 📊 Changes **1 file changed** (+20 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+20 -112) </details> ### 📄 Description ## Why The character list in the chat menu (chat settings) still showed a drag grip (⋮⋮) icon. Every other sidebar list moved to no handle: you press and hold the row (touch) or drag the row (mouse). This list was the odd one out, and it carried its own separate drag code. No linked issue: small QoL follow-up to the handle-free sidebar lists. ## What changed - Removed the grip icon from chat-menu character rows. - Replaced the list's own HTML5 drag + touch reorder code with the shared `useTouchFolderDrag` `onReorder` path used by the other sidebars (same drop markers, long-press on touch, drag on mouse). - The row's main button is a `data-drag-surface`, so a long-press on it starts the drag. Pin and remove buttons stay plain taps. ## Manual verification - [ ] Desktop: drag a character row in the chat menu up and down; order saves and the drop marker shows. - [ ] Phone: long-press a character row and move it; order saves; a short tap still opens the character picker. - [ ] Pin and remove buttons on a row still work with a single tap. Local checks: ESLint on the changed file is clean. Full typecheck left to CI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:40:00 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8830
No description provided.