Skip to content
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

MBS-13872: Show primary alias in user tags and ratings #3432

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

reosarevok
Copy link
Member

@reosarevok reosarevok commented Dec 27, 2024

Implement MBS-13872

I had loaded aliases here for some cases, but not most - this should now cover all pages (user tag and user tag by entity, and user rating and user rating by entity).

I also noticed while testing that I wasn't loading aliases on artist merge pages, so a separate commit does that now.

Testing

Manually, with /user/reosarevok/tag/nyū%20myūjikku / /user/reosarevok/tag/nyū%20myūjikku/artist and /user/dragonzeron/ratings / /user/dragonzeron/ratings/artist - and by merging some artists with aliases.

@reosarevok reosarevok added the Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP label Dec 27, 2024
lib/MusicBrainz/Server/Controller/User.pm Outdated Show resolved Hide resolved
lib/MusicBrainz/Server/Controller/User.pm Outdated Show resolved Hide resolved
lib/MusicBrainz/Server/Data/Editor.pm Outdated Show resolved Hide resolved
I had loaded aliases here for some cases, but not most - this should now
cover all pages (user tag and user
tag by entity, and user rating and user rating by entity).
This is a bit more clear and mirrors what these files already do for ACs.

Not yet changing uses of can('load_aliases') where we don't otherwise
use %ENTITIES since that's a less trivial change.
Seems I added this everywhere else that is relevant but forgot for artists
@reosarevok
Copy link
Member Author

Added an extra commit fixing another place where I forgot to load aliases - artist merges :)

Copy link
Member

@mwiencek mwiencek left a comment

Choose a reason for hiding this comment

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

Thanks! Tested locally, seemed to work fine.

@reosarevok reosarevok merged commit cd1c6ee into metabrainz:beta Jan 7, 2025
1 of 2 checks passed
@reosarevok reosarevok deleted the MBS-13872 branch January 7, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants