Skip to content

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

@rohitPandey469

Description

@rohitPandey469

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions