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

Bugfix: reviews #109

Open
h0ethan04 opened this issue Mar 8, 2025 · 0 comments
Open

Bugfix: reviews #109

h0ethan04 opened this issue Mar 8, 2025 · 0 comments
Assignees
Labels

Comments

@h0ethan04
Copy link
Collaborator

Description

Reviews is mostly done, but there's some tweaking necessary to ensure that data is not unnecessarily modified.

READ ALL INSTRUCTIONS BEFORE STARTING

  • Note:
    • When working on the frontend, we want to work from making sure the site is responsive starting from a mobile device (this will make it easier when we modifying the styling for bigger screens)
    • When checking how the frontend looks on a mobile device through chrome's inspect element, be sure to select iPhone SE for test!!!
  • Heads up:
    • Feel free to utilize /client/src/components/playground/Playground.jsx to test out anything before putting it in their respective pages, or if there currently is no respective page

    • When prompted to log in, you can sign in with the account:

    • student:

    • teacher:

    • admin:

Instructions

  • users are currently able to modify other user reviews -- check the user that posted the review vs the current user to prevent this
  • when editing a review, the button should read 'save' and not 'post'
  • reviews currently only show up in /discovery but we want them inside /bookings as well
  • user should only be able to post review in /discovery if they have already attended and completed the course

Notes

Acceptance Criteria

  • Resolves all bugs without introducing new unexpected behaviors
  • Matches hi-fi structure (you can ignore coloring for now)
  • reviews shows up in /discovery and /bookings and users can only edit their own posts
  • users can only post a review if they have already attended and completed the course for
  • change button text to read 'save' during editing

Resources

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

No branches or pull requests

3 participants