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

Storing feedback to database & retrieving it to landingpage in terms of testimonials #137

Open
4 of 5 tasks
Jivan052 opened this issue Jan 13, 2025 · 13 comments
Open
4 of 5 tasks

Comments

@Jivan052
Copy link
Contributor

Jivan052 commented Jan 13, 2025

Description

Description:
Want to add storage functionality for feedback form, whenever user submit the feedback, it gonna store in feedback.js file inJSONformat.

  • There will be fields like: ( Name, type, rating, comment)

On form submission:

  • Generate a unique feedback id.
  • Store the feedback in frontend/src/data/feedback.js in the following JSON format:
const feedbackData = [
  {
    feedbackId: 1,
    name: "User Name",
    type: "Feedback Type",
    rating: 4,
    comments: "Feedback comments here."
  }
];
export default feedbackData;
  • After that, there will be Appending of new feedback data to the file each time the form is submitted.

Screenshots

No response

Checklist

  • I have checked the existing issues.
  • I follow Contributing Guidelines of this project.
  • I am a SWOC'25 contributor.
  • I am a KWOC'24 contributor.

Code of Conduct

Copy link

Hey @Jivan052, Welcome to 💖TelMedSphere !!! 🎊
Thanks for opening an issue! 🙌 Please wait for the issue to get reviewed. If it is relevant, it will get assigned to you.
Happy Coding !!! ✨

@Jivan052
Copy link
Contributor Author

@PratikMane0112 assign this issue to me

@PratikMane0112
Copy link
Owner

@Jivan052, if it didnt work with feedback.js file then please add it to th database

@Jivan052
Copy link
Contributor Author

Okay

@N-E-W-T-O-N N-E-W-T-O-N mentioned this issue Jan 13, 2025
5 tasks
@N-E-W-T-O-N
Copy link
Contributor

@Jivan052 Add Route to save Feedback from patient #141

@PratikMane0112 PratikMane0112 changed the title [Feature]: Want to store feedback form data in JSON file after successful submission Storing feedback to database & retrieving it to landingpage in terms of testimonials Jan 18, 2025
@Jivan052 Jivan052 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2025
Repository owner deleted a comment from github-actions bot Jan 27, 2025
@PratikMane0112
Copy link
Owner

To fix this refer discussion

@ARYPROGRAMMER
Copy link
Contributor

@PratikMane0112 can you assign me this

@PratikMane0112
Copy link
Owner

  • Expected UI structure (Match color with current website theme)

Image

@ARYPROGRAMMER
Copy link
Contributor

  • Expected UI structure (Match color with current website theme)

Image

it should be carousel slider or random top 3

@PratikMane0112
Copy link
Owner

  • Expected UI structure (Match color with current website theme)

Image

it should be carousel slider or random top 3

Slider

@PratikMane0112
Copy link
Owner

@ARYPROGRAMMER , Also match color schema for below model with website in you next PR. Same color schema as login form for below model

Image

@PratikMane0112
Copy link
Owner

And dummy avatar instead of profile pic in slider

@ARYPROGRAMMER
Copy link
Contributor

And dummy avatar instead of profile pic in slider

works, could you please assign points for previous prs

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

4 participants