Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feat : Support for 'docx' or other Uploads and Interactive Card Display in New Tutorial Creation ] #165

Closed
rohitPandey469 opened this issue Jan 11, 2025 · 0 comments

Comments

@rohitPandey469
Copy link

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.
image
Here the last button

Describe the solution you'd like
While Uploading:

  1. Enable the <DescriptionIcon /> button to upload 'docx' files (high priority)
  2. Provide the option to prompt the user to input a description.

While Showing in Card:

  1. 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.
  2. 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 Approach
Current plan :

  1. Implement the upload of 'docx' files or other supported formats.
  2. 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.
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant