-
Notifications
You must be signed in to change notification settings - Fork 63
Remove extension from title if it's the same as filetype #1526
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/1526 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: +1.97 kB (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! It's great. I love that the change is reflected in the visual tests, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great improvement in terms of UI. I have a few thoughts but they can be safely ignored.
Fixes
Fixes #1303 by @sarayourfriend
Description
This PR removes the extension from the audio file title if it matches the audio filetype. We can assume that the extension was not added to the title intentionally. You can see the changes in the old and updated visual regression snapshots.
Before (the 2nd, 3rd and 5th audio items have
.mp3
extensions in the title)After (the 2nd, 3rd and 5th audio items do not have redundant
.mp3
extensions in the title):Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin