Add favorite and wishlist activity to Recent Gamer Updates #357
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#357
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?
Adding or removing favorites and wishlist entries should create public Recent Gamer Updates activity, but the current favorite and wishlist action flows only update their own tables and return action feedback.
The affected routes are the authenticated favorite and wishlist actions:
/favorites/add/{gameId}/favorites/remove/{gameId}/wishlist/add/{gameId}/wishlist/remove/{gameId}In the current Laravel checkout,
FavoriteController::store(),FavoriteController::destroy(),WishlistController::store(), andWishlistController::destroy()create, restore, or soft-delete thefavoritesandwishlistsrows, but they do not write to thegamer_updatesactivity log.App\Support\RecentGamerUpdatesalso does not have dedicated display copy for favorite or wishlist activity types, so these actions cannot currently appear with clear feed messages.Related but separate:
Scope
FavoriteController,WishlistController, and any shared helper/service needed to avoid duplicate activity logging code.App\Support\RecentGamerUpdatesmessage mapping for favorite and wishlist activity types./recent-gamer-updatespage.Acceptance Criteria
gamer_updatesactivity item for the acting user and game.gamer_updatesactivity item for the acting user and game.gamer_updatesactivity item for the acting user and game.gamer_updatesactivity item for the acting user and game.hide_public_feed_entriesfiltering continues to apply.Test Coverage Required
RecentGamerUpdatesstill filters banned, deleted, soft-deleted, and feed-hidden users.php artisan test --compact.vendor/bin/pint --dirty --format agentbefore closing the issue if PHP files are changed.Progress Checklist
gamer_updatesactivityRecentGamerUpdatescurrently lacks dedicated favorite/wishlist message branchesFix wishlist and favorite actions not producing entries in recent gamer updates pageto Add favorite and wishlist activity to Recent Gamer UpdatesImplemented in
c69934d(Add favorite and wishlist gamer updates).Notes:
gamer_updatesactivity only when the underlying row state changes.php artisan test --compact tests/Feature/FavoriteTest.php tests/Feature/WishlistTest.php tests/Feature/RecentGamerUpdatesPageTest.php(57 tests, 368 assertions) andvendor/bin/pint --dirty --format agent.