[GH-ISSUE #861] [Feature]: Drag and swap Game Mode inventory items #422

Closed
opened 2026-10-20 17:28:39 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/861

Originally assigned to: @Romuromylus on GitHub.

What problem does this solve?

Game Mode inventory items cannot be manually organized by moving items between slots. Users who want a tidy inventory have add, rename, use, and remove controls, but no direct way to drag/swap items into a preferred order.

Source: Discord feature request from drakonbane. https://discord.com/channels/1417099416812392641/1504403080353943552

Proposed solution

Allow users to drag inventory items in Game Mode and swap/reorder them within the inventory grid.

Alternatives considered

Manual add/rename/remove is available, but it is not a practical way to organize item order. The requester noted uncertainty about how dragging to other pages should work; the first useful slice could focus on swapping within the current inventory grid/page.

Additional context

The current Game Mode inventory panel shows a slot grid and supports selecting, renaming, using, adding, and removing items. This request is specifically about manual organization via drag and swap.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/861 Originally assigned to: @Romuromylus on GitHub. ## What problem does this solve? Game Mode inventory items cannot be manually organized by moving items between slots. Users who want a tidy inventory have add, rename, use, and remove controls, but no direct way to drag/swap items into a preferred order. Source: Discord feature request from drakonbane. https://discord.com/channels/1417099416812392641/1504403080353943552 ## Proposed solution Allow users to drag inventory items in Game Mode and swap/reorder them within the inventory grid. ## Alternatives considered Manual add/rename/remove is available, but it is not a practical way to organize item order. The requester noted uncertainty about how dragging to other pages should work; the first useful slice could focus on swapping within the current inventory grid/page. ## Additional context The current Game Mode inventory panel shows a slot grid and supports selecting, renaming, using, adding, and removing items. This request is specifically about manual organization via drag and swap. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 15, 2026):

Triage note: labeling this as normal-scope because it is a focused UX improvement to the existing Game Mode inventory grid.

The least risky next step is to support drag/swap within the current inventory grid first, then consider paging behavior separately if inventory pages are added later.

<!-- gh-comment-id:4455805976 --> @cha1latte commented on GitHub (May 15, 2026): Triage note: labeling this as `normal-scope` because it is a focused UX improvement to the existing Game Mode inventory grid. The least risky next step is to support drag/swap within the current inventory grid first, then consider paging behavior separately if inventory pages are added later.
Author
Owner

@Romuromylus commented on GitHub (May 15, 2026):

Starting on this. Scoping to drag/swap within the current page of the inventory grid (per the triage note) with native HTML5 drag-and-drop — no new dependency, no new server endpoint (the existing PATCH /chats/{id}/metadata round-trips order since gameInventory is array-ordered). Cross-page reorder deferred. Will open a draft PR shortly.

<!-- gh-comment-id:4458327141 --> @Romuromylus commented on GitHub (May 15, 2026): Starting on this. Scoping to drag/swap within the current page of the inventory grid (per the triage note) with native HTML5 drag-and-drop — no new dependency, no new server endpoint (the existing PATCH /chats/{id}/metadata round-trips order since gameInventory is array-ordered). Cross-page reorder deferred. Will open a draft PR shortly.
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#422
No description provided.