Add game edit functionality #3

Closed
opened 2026-03-05 06:21:33 +00:00 by Mark · 2 comments
Owner

Currently, users cannot edit game metadata (title, description, tags) after uploading.

Current behavior:

  • Upload creates a new game with unique slug
  • Re-uploading same game creates new entry with -2, -3, etc. suffix
  • No way to update existing game's title, description, or tags

Expected behavior:

  • Ability to edit game metadata
  • Form to update title, description, tags
  • Save changes to database

Suggested approach:

  • Add GET /game/{slug}/edit - edit form
  • Add POST /game/{slug}/edit - update handler
Currently, users cannot edit game metadata (title, description, tags) after uploading. **Current behavior:** - Upload creates a new game with unique slug - Re-uploading same game creates new entry with `-2`, `-3`, etc. suffix - No way to update existing game's title, description, or tags **Expected behavior:** - Ability to edit game metadata - Form to update title, description, tags - Save changes to database **Suggested approach:** - Add `GET /game/{slug}/edit` - edit form - Add `POST /game/{slug}/edit` - update handler
Author
Owner

Related functionality added: Delete game feature is now implemented with confirmation page.

However, edit metadata (title, description, tags) is still not available. This issue remains open for that feature.

Related functionality added: **Delete game** feature is now implemented with confirmation page. However, **edit metadata** (title, description, tags) is still not available. This issue remains open for that feature.
Mark 2026-05-28 02:56:57 +00:00
  • closed this issue
  • removed the
    quickfix
    label
Author
Owner

Quickfix complete.

Opencode analyzed the codebase and found the game edit functionality is already fully implemented in commit 4fc9c90 ("fix #4: Add game update (re-upload) functionality").

  • GET /game/{slug}/update — renders edit form
  • POST /game/{slug}/update — handles metadata and optional ZIP update
  • app/templates/update.html — edit form template
  • tests/test_main.py::TestGameUpdate — 4 tests covering 404s, metadata-only update, and ZIP re-upload

All 80 tests pass. No code changes needed — closing as already implemented.

**Quickfix complete.** Opencode analyzed the codebase and found the game edit functionality is already fully implemented in commit `4fc9c90` ("fix #4: Add game update (re-upload) functionality"). - `GET /game/{slug}/update` — renders edit form - `POST /game/{slug}/update` — handles metadata and optional ZIP update - `app/templates/update.html` — edit form template - `tests/test_main.py::TestGameUpdate` — 4 tests covering 404s, metadata-only update, and ZIP re-upload All 80 tests pass. No code changes needed — closing as already implemented.
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
Mark/itchbox#3
No description provided.