Show game-list platform breakdown on user profiles #19
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#19
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?
User profiles should show a breakdown of how many games a user has listed for each platform/console.
The original issue was blocked because the old list table did not store platform IDs, making the breakdown expensive to calculate. In the current Laravel checkout,
game_listsnow storesplatform_id, profile pages already render public user stats, and the profile sidebar already has a “My Consoles” section based on manually selected console IDs. This issue tracks adding a separate game-list platform breakdown using the actual games on the user’s list rather than the manually selected console list.Scope
game_lists.platform_idbased counts.Acceptance Criteria
game_lists.platform_id.Test Coverage Required
game_lists.platform_id.console_listsand is not replaced by the breakdown.vendor/bin/pint --dirtybefore closing the issue.Progress Checklist
game_lists.platform_idexists and is indexedplatform_idAfter working on this, I would not recommend we move forward with this one at this time. It's going to be extremely expensive on resources given the way the database is currently set up. Currently, we have no relationship of platforms in the
liststable so we would need to fetch this information from another table. It would likely be best to start storing the platform ID in theliststable so it could be more quickly referenced.We could likely write a script to add this platform data into the table once the field has been added.
Moving this back as it's going to require more thought and time than I currently have at the moment.
jimmyb referenced this issue2024-01-14 14:49:43 -06:00
Add Console Breakdown on User Profilesto Show game-list platform breakdown on user profiles