Skip to content

[ROMM-2109] Fix clicking on meta pills, use correct filters #2121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

gantoine
Copy link
Member

Description
Explain the changes or enhancements you are proposing with this pull request.

Fixes #2109

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots

@gantoine gantoine requested review from zurdi15 and Copilot July 21, 2025 17:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes clicking on meta pills in the game info component by standardizing filter type naming conventions from plural to singular forms and updating the filter query structure.

  • Updated FilterType definitions from plural to singular/camelCase format (e.g., "genres" → "genre", "age_ratings" → "ageRating")
  • Modified filter configuration objects to use the new singular filter keys
  • Changed query parameter structure from generic filter/value pattern to specific filter-based parameters

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
frontend/src/stores/galleryFilter.ts Updates FilterType enum from plural to singular/camelCase naming
frontend/src/components/Details/Info/GameInfo.vue Updates filter keys and query structure to match new naming convention

Copy link

trunk-io bot commented Jul 21, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@gantoine gantoine merged commit b96b6d6 into master Jul 21, 2025
8 checks passed
@gantoine gantoine deleted the romm-2109 branch July 21, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Clicking on "Franchise", "Collection", or other detail links doesn't filter results. It shows full game library instead
2 participants