Closed shubhankertiwari8 closed 3 weeks ago
@Manish-Sharma26 This issue has been assigned to you please comment to confirm!!!!
@shubhankertiwari8 Thank You for assigning me the issue, I have started working on the issue.
@shubhankertiwari8 The modal is working fine already Here is the video of it
https://github.com/user-attachments/assets/8b7adf8c-89f9-4df1-ba16-7a655ce54ad2
can you tell me what else is it to be done
In that case add a warning before editing note asking for user confirmation and introduce an attachment feature to attach files and photos and subsequently show them in feedback card after upload and a cancel button to top right corner of modal
The attachment feature should be included in the edit note modal or in the feedback card beside the edit note icon? And the attached file content is to be shown in the feedback card in the form of text?
@Manish-Sharma26 add attachment button to editing modal itself and attached content should be shown in the format it has been uploaded for example if user uploads images show an image in feedback card
@shubhankertiwari8 Just wanted to confirm that i have to store the images in the mongoDB only as time taken to fetch images from mongoDB will take time
@Manish-Sharma26 Yes, you are required to do it using MongoDB only but if you implement it in some other way which makes loading of images faster and more effective you may be rewarded bonus points.
@shubhankertiwari8 I have attached a video demonstrating the change in the app Moreover i have used some image optimisation like compressing the image before storing it ,lazy loading ,caching https://github.com/user-attachments/assets/10178c27-18e7-491f-b92c-86801796035f
Is it fine?
Description
To enhance the functionality of the feedback card edit feature, we can introduce a modal that allows the user to edit the original feedback details, such as the title and description. The modal should display two input fields labeled "Title" and "Description" when the user clicks on the edit icon located at the top right corner of the feedback card. The user can then modify the content and save the changes using a "Save Changes" button.
Additionally, to improve the user experience, the modal will automatically close if the user clicks anywhere outside the modal, providing a more intuitive interaction. Here's how we can expand and frame this:
This updated implementation improves the user experience by providing clear input fields for editing and more intuitive modal behavior. It also adds an extra layer of interaction by closing the modal when the user clicks outside, mimicking popular UI patterns.