Provide Guidance to the User When Search Returns No Results #29
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#29
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?
Game search pages should give users clear, helpful guidance when a query returns no matching games.
The original issue asked for a better no-results message that explains spelling, exact matching, spacing/special characters, and the site’s preference for North American titles. In the current Laravel checkout, a
GameSearchControllerexists with basic name/alternate-title search logic, but the public search route and referencedpages.search.games.showview are not wired up in the rebuilt site yet. The global header search form also still posts to#. This issue tracks rebuilding the public game search surface with a useful empty state from the start.Scope
Acceptance Criteria
Test Coverage Required
vendor/bin/pint --dirtybefore closing the issue.Progress Checklist
GameSearchControllerexistsnameandalt_titlesAdd additional info to searches with no matches.to Improve no-results guidance on game search pagesImprove no-results guidance on game search pagesto Provide Guidance to the User When Search Returns No ResultsImplemented in
a543d82and pushed todev.Notes:
/searchis a real public route handled byGameSearchController@indexand the global header form now submits to it.nameandalt_titles, exclude soft-deleted games, and link to canonicalgames.showURLs./supportor/requestroute; tests assert no broken request/forum link is rendered.Verification:
php artisan test --compact tests/Feature/GameSearchTest.phppassed: 15 tests / 79 assertions.vendor/bin/pint --dirty --format agent app/Http/Requests/GameSearchRequest.php tests/Feature/GameSearchTest.phppassed.npm run buildpassed after the search-form JavaScript guard was added.