Rebuild user game list pages in Laravel #348
Labels
No labels
automated
code-quality
component: admin dashboard
component: backend
component: billing
component: content management
component: faqs
component: game genres
component: game lists
component: game reviews
component: game search
component: games
component: internal notifications
component: platforms
component: security
component: tests
component: user api
component: user badges
component: user blogs
component: user consoles
component: user favorites
component: user friends
component: user notifications
component: user profiles
component: user site notifications
component: user wishlists
component: web design
dependencies
php
priority
high
priority
low
priority
medium
security-hotspot
source: codex
source: sonarqube
status
awaiting feedback
status
backlog
status
done
status
in progress
status
in queue
status
in review
status
needs codex review
status
needs investigation
status
wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MyVideoGameList/myvideogamelist.com#348
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?
The user game list experience needs to be rebuilt in Laravel so users can view and manage the video games they are tracking by status.
This is core MyVideoGameList functionality: users need to see the games on their list, organized by status, and signed-in users need owner-only access to edit and remove their own list entries. The current Laravel checkout has
game_listspersistence, status values, add/edit/delete controller logic, and profile/header links pointing to/list/{username}, but the public list routes and list page are not wired up. The Notion report says: "The game list link doesn't work to view the games in our list."This issue incorporates #59, which covered lazy-loading user game list status tabs.
Source: https://www.notion.so/3702f7baaae48002b51addc1700d86ca
Scope
/list/{username}./list.game_listsrows only.jimmyb-scale lists with hundreds of completed games.Acceptance Criteria
/list/{username}renders that user's public game list instead of a missing route or broken page./listas a guest redirects to login./listas an authenticated user renders the signed-in user's own list.Test Coverage Required
/list/{username}renders a public user list./listredirects guests to login./listrenders the authenticated user's own list.php artisan test --compact.vendor/bin/pint --dirty --format agentbefore closing the issue if PHP files are changed.Progress Checklist
game_liststable existsGameListmodel exists/list/{username}route/listcurrent-user routeis_replaying = YCompleted and pushed the user game list rebuild on
dev.Implementation notes:
/listand/list/{username}routes with owner-aware rendering and read-only public/non-owner views.game_lists_user_status_deleted_name_indexandgame_lists_user_deleted_name_id_index; both were run against.env.local.Verification:
vendor/bin/pint --dirty --format agentphp artisan test --compact tests/Feature/GameListPageTest.phppassed with 30 tests / 294 assertionsnpm run buildSchema note: the current Laravel schema does not appear to have a separate disabled-games flag, so unavailable game handling is covered through soft-deleted games plus safe platform fallback.