Codelabz icon indicating copy to clipboard operation
Codelabz copied to clipboard

[ Feat : Enhance NewTutorial component to support image uploads on creating a Tutorial ]

Open rohitPandey469 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. The NewTutorial component currently allows users to add icons for images, videos, and descriptions. However, it lacks the ability to upload actual images. This limitation hinders the user's ability to include visual content in their tutorials, limiting the versatility of the feature.

Describe the solution you'd like I would like to enhance the NewTutorial component to support image uploads. This includes adding a file input to the form, creating a function to handle image changes, updating the state to store the selected image file, and including the image in the tutorial data when submitting the form. Additionally, server-side logic will need to be implemented to handle image uploads.

Describe alternatives you've considered An alternative approach would be to continue using icons for images. However, this limits the richness of the tutorials, as users cannot include actual visual content. The proposed solution aims to provide a more comprehensive and user-friendly experience by allowing the upload of real images.

Additional context This feature enhancement will not only improve the user experience within the NewTutorial component but will also make the component more versatile, allowing users to create more engaging and informative tutorials with the inclusion of images. The goal is to enhance the overall functionality of the component and provide users with a more dynamic content creation experience.

rohitPandey469 avatar Jan 06 '24 10:01 rohitPandey469

It's about adding image uploads! Can I get started on this? Also, thinking about the backend—should I go ahead with a separate PR for that too? @ABHISHEK-PANDEY2 @shivareddy6 @rijusougata13

rohitPandey469 avatar Jan 06 '24 10:01 rohitPandey469

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 07 '24 02:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 22 '24 02:05 github-actions[bot]