Allow Start / Finish Dates on Edit Listed Game to Be Cleared #60
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MyVideoGameList/myvideogamelist.com#60
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?
Users need an easy way to clear the started/finished dates on an existing game list entry. The old site reportedly had a small clear link next to these fields; the rebuilt Laravel edit flow should restore that behavior so users do not have to manually fight date inputs when removing a date.
This likely relates to #348, which tracks rebuilding the user game list pages in Laravel. The current checkout already has
game_listsdate fields,GameListController::edit()/update()methods, nullable validation forstart_dateandfinish_date, and owner-only update authorization throughGameListPolicy. The list routes andpages.game-lists.*views are now wired, so this focused regression fix was implemented on the/list/edit/{gameList}edit flow.Scope
null.Acceptance Criteria
nullingame_lists.Test Coverage Required
null.null.vendor/bin/pint --dirty --format agentbefore closing the issue.Progress Checklist
game_listsdate fields existGameListController::update()validates start and finish dates as nullableGameListController::update()assigns submitted date values to the list entryGameListnullfor both date fieldsImplemented and pushed in
b3301e9(Restore clear date controls on list edits).Summary:
Clear Datecontrols for Started Date and Finished Date on/list/edit/{gameList}.nullbefore validation so cleared dates persist correctly ingame_lists.Verification run:
Note: the focused issue tests pass when run sequentially. Avoid manually launching multiple filtered
php artisan testcommands in parallel against the same shared MariaDB test database because these fixtures share hardcoded IDs/usernames and cleanup ranges; that can cause unrelated 404s, missing rows, or unique-key collisions. A separate issue is being created to address parallel test isolation.