mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #861] [Feature]: Drag and swap Game Mode inventory items #422
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#422
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?
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:
@cha1latte commented on GitHub (May 15, 2026):
Triage note: labeling this as
normal-scopebecause 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.
@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.