Is your feature request related to a problem? Please describe.
The <DescriptionIcon /> button which is visible while creating a new tutorial doesn't currently support any interactions, such as 'onClick' events. This destroys the purpose of having a doc upload thing looking like button, so thinking of making it work similar to the image and video upload button functionality in issue #1081 #1029 and their respective PRs.
Here the last button
Describe the solution you'd likeWhile Uploading:
Enable the <DescriptionIcon /> button to upload 'docx' files (high priority)
Provide the option to prompt the user to input a description.
While Showing in Card:
For 'docx' file uploads, display a fixed image or icon on all cards with 'docx' uploads. Clicking the image should link to an additional page in the browser, opening the 'docx' file.
For user-input descriptions, implement a toggle between a brief preview and the full description upon clicking the card.
Describe alternatives you've considered
Or creating a card with a fixed image representing 'docx' uploads. For user-input descriptions, implement a card with the entered text. However, this approach may lack the versatility and user experience enhancement provided by a more interactive solution.
Additional context - My Current ApproachCurrent plan :
Implement the upload of 'docx' files or other supported formats.
Use a consistent fixed image for all cards with 'docx' uploads or a snapshot of the uploaded file, restricted to '300px' and adjusted for smaller devices.
On clicking the doc snapshot or fixed image opens the file in the browser, similar to viewing brochures.
Doing variations with the functionality will be more cool so do tell me your wild preferences and ideas
Is your feature request related to a problem? Please describe. The
<DescriptionIcon />
button which is visible while creating a new tutorial doesn't currently support any interactions, such as 'onClick' events. This destroys the purpose of havinga doc upload thing
looking like button, so thinking of making it work similar to the image and video upload button functionality in issue #1081 #1029 and their respective PRs. Here the last buttonDescribe the solution you'd like While Uploading:
<DescriptionIcon />
button to upload 'docx' files (high priority
)While Showing in Card:
Describe alternatives you've considered Or creating a card with a fixed image representing 'docx' uploads. For user-input descriptions, implement a card with the entered text. However, this approach may lack the versatility and user experience enhancement provided by a more interactive solution.
Additional context - My Current Approach Current plan :
Doing variations with the functionality will be more cool so do tell me your wild preferences and ideas