Add a clear return-to-list path after editing a list entry #350
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#350
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?
After editing a game-list entry, users need a clear way to return to their list.
The current Laravel checkout redirects a successful list-entry update back to
game-lists.editand shows aList entry updated.toast. The Notion report says the live site previously showed a popup with a link back to the list, and the rebuilt flow does not provide an obvious redirect or return link after saving. This should be handled clearly so users are not stranded on the edit form after updating an entry.Source: https://app.notion.com/p/3742f7baaae48021920fe9952710400a
Scope
/list/edit/{gameList}.GameListController::update().Acceptance Criteria
Test Coverage Required
php artisan test --compact.vendor/bin/pint --dirty --format agentbefore closing the issue if PHP files are changed.Progress Checklist
edit_successImplemented and pushed in
b3301e9.What changed:
GameListController::update()calls now redirect back to the signed-in user's list instead of leaving the user on/list/edit/{gameList}.replayingwhenis_replayingis set.app-toastsuccess notification withList entry updated..Verification notes:
vendor/bin/pint --dirty --format agentpassed.tests/Feature/GameListPageTest.phprun exposed unrelated persistent dev-database fixture instability around stale240xxrows. That follow-up has been split into #358 so this issue can close without hiding the separate test-hygiene work.