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

[p0M][T4] handle ratings and comments in the event detail page #110

Open
2 tasks
rayli09 opened this issue Dec 3, 2022 · 0 comments
Open
2 tasks

[p0M][T4] handle ratings and comments in the event detail page #110

rayli09 opened this issue Dec 3, 2022 · 0 comments
Assignees

Comments

@rayli09
Copy link
Owner

rayli09 commented Dec 3, 2022

Context

  1. rating path is too long and too many redirects
  2. same thing for editing comments

Goal

Move editing comments && rating features on the same page at the event detail page.
Specifically, once hit rate button, a form should appear right below the rating button and input information as before. Once hit submit rating, redirect again to the event detail page, but with updated info. Same thing for editing comments.

Tasks

  • [p0S]refactor editing comment to be on event detail page
  • [p0M]refactor rating to be on event detail page

Eng cost estimation

3 days per task
I found the listed resources, linked below, and found this is actually not difficult. The key idea is to partially render views in the html page. We can first try refactoring the editing comment.

Resources:

  1. https://stackoverflow.com/questions/19844652/how-to-render-a-view-inside-of-another-view-rails-4
@rayli09 rayli09 added this to the Project Launch milestone Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants