[MCL-9] Download Created: 08/Dec/23  Updated: 02/Feb/24

Status: In Progress
Project: Magnolia Component Library
Component/s: Core Content
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Raymond Tran Assignee: Thanh Pham
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2024-02-02 at 15.37.17.png     PNG File image-2023-12-08-14-55-27-473.png    
Issue Links:
Cloners
is cloned by MCL-10 Upload In Progress
Template:
Acceptance criteria:
Acceptance Criteria
[ ]* Component is called "Download"
[ ]* Shows a DAM item for download
[ ]* Download Button supports all OOTB Bootstrap style variants including Primary, Secondary, Success, Danger, Warning, Info, Light, Dark and Link.
[ ]* Shows animation when download button is depressed
[ ]* Shows asset title and caption from the JCR
[ ]* Shows filename and file size from the JCR
[ ]* Shows an SVG icon corresponding to relevant file/mime type, including: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, JPEG, PNG, webm, webp, mp4 with alt text reflecting the file type
Documentation Acceptance Criteria
[ ]* Contains Title, Description and Examples
[ ]* Contains FTL and YAML code
Content Author Acceptance Criteria
[ ]* The button styles can be configured entirely within the dialog as per MCL-7
[ ]* Class and CSS can be overridden in the CMS
[ ]* The JCR asset title and caption can be overridden by the dialog
[ ]* Component can be added to any page template in Column area of a Row component only.
[ ]* JCR asset selection is mandatory
Accessibility Acceptance Criteria
[ ]* Buttons can be navigated through, selected and depressed using the keyboard.
Date of First Response:

 Description   

User Story:

As a content author,
I want to create a download control
So that I can create download links to assets stored in the DAM, with the ability to customise the styling and labels.

Description:

Allows a content author to select assets from the DAM for download by end-users.


Generated at Mon Feb 12 04:48:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.