-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/2025 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: -3.29 kB (0%) Total Size: 807 kB
ℹ️ 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! I compared to the mockups and this is a fantastic improvement.
The component does exist in the Design Library's License page. The element missed is the link to see the license details. I like the Read more sentence as a solution, but I would follow the popover design instead. The popover shows a "See more about the license" and the style is regular instead of bold. On the other hand, I noticed an odd gap between the license item and the read more sentence. The spacing is |
@obulat using I added a Storybook decorator to enable that in f42aa9c. Hopefully this decorator should allow us to test more components that use UI store inside Storybook. |
2c68133
to
7721d12
Compare
7721d12
to
6b5446d
Compare
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.
I love the Storybook helper :) The license icons look correct to me.
Fixes
Fixes #764 by @krysal
Description
This PR
VMediaLicense
component as it's more relevant there instead ofVMediaReuse
.uppercase
class to prevent 'CC Sampling+' from being rendered as 'CC SAMPLING+'VLicenseElements
such as license explanations in the filter sidebarConcern
Since there are no mockups for CC0 or PDM, the design for it looks different from the regular licenses and falls into dangerously into undefined UI terrority, notably the bold "Read more about the tool here" text that's not present in other licenses.
I've left a comment for @panchovm in Figma too and we can update the component (hopefully in a separate issue and PR) if changes are needed.
Testing Instructions
Compare the mockups linked in the issue against the updated components. You should see the spacings and dimensions in the UI match the mockups.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin