Warn administrators about duplicate games during creation #363
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#363
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?
Admins can currently fill out the full
/admin/games/createform before learning that a submitted game may already exist. That wastes staff time and makes duplicate records more likely, especially now that the admin create flow supports both manual creation and IGDB-assisted prefill.This issue tracks adding early duplicate detection once an admin enters a game name and selects a platform, so possible matches are surfaced before the rest of the form is completed.
Scope
nameandplatform_idare present.alt_titles.Acceptance Criteria
Test Coverage Required
admin.games.storeis rejected and does not create a second row.alt_titles.vendor/bin/pint --dirtybefore closing the issue.Progress Checklist
I'm going to weigh in on this, there are certain releases where there are two versions due to different versions released for a platform. Especially WIi Ware, Nintendo Switch Online & the nintendo digital library in general. There might be one version of a game released as part of an arcade collection or port while NSO gets SNES/NES version. and there exists entries like this already, what would happen to those?
"Add server-side duplicate blocking at final submit" Would make these entries impossible for what we do on the website. However the warning is good, I like that, just the blocking isn't.