learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
112 stars 160 forks source link

Implement the `RecommendedResourceCard` component in Studio to display recommended resources #4450

Closed akolson closed 5 months ago

akolson commented 7 months ago

Overview

This task involves implementing a component named RecommendedResourceCard in Studio to display recommended resources to users within the recommended resources side panel. The implementation wraps around the KCard component.

Description and outcomes

Name Description Type Required Default
to Router-link object that enables user navigation to the intended route. Object true -
title Sets the value of the title text. String false null
level Sets the value of the level text. String false null
thumbnailSrc Source URL of a thumbnail image String false null
thumbnailScaleType Specifies how an image should be scaled within the thumbnail area. See KImg for supported types. String false 'centerInside'
learningActivity Sets the value of the learning activity. String false null
Name Description
focus Emitted when the card element has received focus.
hover Emitted when the mouse pointer enters or leaves the card element

Acceptance Criteria

Assumptions and Dependencies

Scope

The scope of this task is limited to;

This task doesn’t include;

Accessibility Requirements

Resources

akolson commented 5 months ago

Completed and merged in https://github.com/learningequality/studio/pull/4480