Recent gamer updates should include comment activity #346

Closed
opened 2026-06-01 21:01:49 -05:00 by Codex · 1 comment
Member

Summary

Comments posted on the site are not showing up in the Recent Gamer Updates feed.

Source: https://www.notion.so/3702f7baaae480ef9e0aefd43923c3a6

Reported behavior

The Notion report says: "When commenting anywhere on the website it doesn't show up in the recent gamer updates feed."

The intended comment surfaces called out for this issue are:

  • User profile comments
  • Blog entry comments
  • Game profile comments

Repo context

  • The Recent Gamer Updates page is served by App\Http\Controllers\RecentGamerUpdateController.
  • Recent feed items are fetched and formatted by App\Support\RecentGamerUpdates.
  • App\Support\RecentGamerUpdates already has a game_comment_created message branch, but the comment creation controllers should be verified to ensure the expected gamer_updates activity is actually recorded.
  • Relevant comment store endpoints are handled by GameCommentController, BlogCommentController, and ProfileCommentController.

Acceptance criteria

  • Posting a game profile comment creates a Recent Gamer Updates feed item.
  • Posting a blog entry comment creates a Recent Gamer Updates feed item.
  • Posting a user profile comment creates a Recent Gamer Updates feed item.
  • Feed items identify the commenting user and link to the relevant target page when possible.
  • Existing privacy, banned/deleted user, and hide_public_feed_entries filtering still applies.
  • Deleted comments should not leave misleading public feed entries, or the expected deletion behavior should be explicitly handled.

Test coverage

  • Add or update feature tests for game, blog, and profile comment posting that assert the Recent Gamer Updates feed includes the new comment activity.
  • Cover hidden/banned/deleted users or private content where relevant so comments that should not be public do not leak into the feed.
  • Run the affected tests with php artisan test --compact.
## Summary Comments posted on the site are not showing up in the Recent Gamer Updates feed. Source: https://www.notion.so/3702f7baaae480ef9e0aefd43923c3a6 ## Reported behavior The Notion report says: "When commenting anywhere on the website it doesn't show up in the recent gamer updates feed." The intended comment surfaces called out for this issue are: - User profile comments - Blog entry comments - Game profile comments ## Repo context - The Recent Gamer Updates page is served by `App\Http\Controllers\RecentGamerUpdateController`. - Recent feed items are fetched and formatted by `App\Support\RecentGamerUpdates`. - `App\Support\RecentGamerUpdates` already has a `game_comment_created` message branch, but the comment creation controllers should be verified to ensure the expected `gamer_updates` activity is actually recorded. - Relevant comment store endpoints are handled by `GameCommentController`, `BlogCommentController`, and `ProfileCommentController`. ## Acceptance criteria - [x] Posting a game profile comment creates a Recent Gamer Updates feed item. - [x] Posting a blog entry comment creates a Recent Gamer Updates feed item. - [x] Posting a user profile comment creates a Recent Gamer Updates feed item. - [x] Feed items identify the commenting user and link to the relevant target page when possible. - [x] Existing privacy, banned/deleted user, and `hide_public_feed_entries` filtering still applies. - [x] Deleted comments should not leave misleading public feed entries, or the expected deletion behavior should be explicitly handled. ## Test coverage - [x] Add or update feature tests for game, blog, and profile comment posting that assert the Recent Gamer Updates feed includes the new comment activity. - [x] Cover hidden/banned/deleted users or private content where relevant so comments that should not be public do not leak into the feed. - [x] Run the affected tests with `php artisan test --compact`.
jimmyb self-assigned this 2026-06-03 19:27:33 -05:00
Author
Member

Implemented in b5f4a34 (Add comment activity to recent gamer updates).

Notes:

  • Game, blog, and profile comment store flows now write gamer_updates activity rows with the comment as the performed-on subject.
  • Public blog comment feed activity is only logged for published public blog entries, so private/friends-only/draft entries do not leak through Recent Gamer Updates.
  • Recent Gamer Updates now renders blog/profile comment targets with links and filters soft-deleted comment subjects so deleted comments do not leave misleading public feed rows.
  • During push, origin/dev had moved with favorite/wishlist Recent Gamer Updates work, so this commit was rebased and the conflict was resolved by preserving both the remote favorite/wishlist variants and this issue's comment variants.

Verification:

  • vendor/bin/pint ... --format agent
  • php artisan test --compact tests/Feature/GameProfileTest.php --filter="authenticated users can post game comments and guests cannot"
  • php artisan test --compact tests/Feature/BlogTest.php
  • php artisan test --compact tests/Feature/UserProfileTest.php
  • php artisan test --compact tests/Feature/RecentGamerUpdatesPageTest.php
Implemented in `b5f4a34` (`Add comment activity to recent gamer updates`). Notes: - Game, blog, and profile comment store flows now write `gamer_updates` activity rows with the comment as the performed-on subject. - Public blog comment feed activity is only logged for published public blog entries, so private/friends-only/draft entries do not leak through Recent Gamer Updates. - Recent Gamer Updates now renders blog/profile comment targets with links and filters soft-deleted comment subjects so deleted comments do not leave misleading public feed rows. - During push, `origin/dev` had moved with favorite/wishlist Recent Gamer Updates work, so this commit was rebased and the conflict was resolved by preserving both the remote favorite/wishlist variants and this issue's comment variants. Verification: - `vendor/bin/pint ... --format agent` - `php artisan test --compact tests/Feature/GameProfileTest.php --filter="authenticated users can post game comments and guests cannot"` - `php artisan test --compact tests/Feature/BlogTest.php` - `php artisan test --compact tests/Feature/UserProfileTest.php` - `php artisan test --compact tests/Feature/RecentGamerUpdatesPageTest.php`
Codex 2026-06-03 20:54:30 -05:00
Sign in to join this conversation.
No milestone
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
MyVideoGameList/myvideogamelist.com#346
No description provided.