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

OPHJOD-1198: Update MediaCard #208

Merged
merged 1 commit into from
Jan 16, 2025
Merged

OPHJOD-1198: Update MediaCard #208

merged 1 commit into from
Jan 16, 2025

Conversation

ketsappi
Copy link
Contributor

@ketsappi ketsappi commented Jan 14, 2025

Description

  • Add favorite button
  • Update the sizes
  • Remove the variant prop; only vertical variant is left, so there is no longer prop for this.

Additional notes

Waiting for design files to be updated, so it might be possible that the horizontal version is not needed as it was used before.
Currently favorite functionality is optional, so if it is undefined --> no heart icon is shown in the upper-right corner. Waiting for answers related to this, is it always wanted to have favorite-button.

Screenshots

Without any favorite info and when it is favorited
image

Related JIRA ticket

https://jira.eduuni.fi/browse/OPHJOD-1198

@sauanto sauanto self-requested a review January 14, 2025 14:03
@ketsappi ketsappi force-pushed the OPHJOD-1198 branch 2 times, most recently from ae2bdc1 to 137fb81 Compare January 15, 2025 14:09
@ketsappi ketsappi merged commit 2680767 into main Jan 16, 2025
5 checks passed
@ketsappi ketsappi deleted the OPHJOD-1198 branch January 16, 2025 09:02
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.

3 participants