utmgdsc / PollVotingSystem

MCS Project with Prof. Zingaro and Prof. Ilir
https://poll.utm.utoronto.ca
MIT License
6 stars 10 forks source link

Showing poll results to students #82

Open shubhbapna opened 1 year ago

shubhbapna commented 1 year ago

Is your feature request related to a problem? Please describe. Recently @embeddedt found out that we are sending the poll result message to students as well. The product owner aka Prof Dan has decided to use these messages to display the vote results to students as well. This feature request is to implement the same graph like vote results that profs see on the student side as well

Describe the solution you'd like The students should only see the live vote results when the prof clicks a "show result" button.

Additional context Lets discuss here and finalize the subtasks that need to be done and we will then assign the sub tasks.

Deadline We need this to be done by end of December

ggggg commented 1 year ago

Subtasks:

Frontend:

Backend:

To discuss:


If possible, please assign me to some of these subtasks.

huonggiangbui commented 1 year ago

Subtasks:

Frontend:

  • [ ] Prof's view button to show results to students
  • [ ] Students' view of the result (mostly done already, we can reuse the prof's view one as mentioned above)
  • [ ] Students' way of showing/hiding results (for example, a button to show a pop-up like the prof's view, or we can come up with a new sidebar or something else)

Backend:

  • [ ] Only send results to students once the prof presses the button (make sure it's not sent before the prof allows it to be sent)
  • [ ] Handle prof's button input (the one to show results)

To discuss:

  • [ ] Should instructors be allowed to show results to students while the poll is active, or only after the poll has ended?
  • [ ] The design of the results panel (I would stick to the current design, but if you want a new design this is a good time to discuss it)

If possible, please assign me to some of these subtasks.

You can hover to those subtasks - there should be "convert to issue" button on the right. Then you can comment on the new issues created from subtasks, and we can assign them to you!

ggggg commented 1 year ago

I would like to discuss the feature before we start working on it (see the to discuss) part.

huonggiangbui commented 1 year ago

I would like to discuss the feature before we start working on it (see the to discuss) part.

Feel free to ping us on discord!

shubhbapna commented 1 year ago

@ggggg It doesn't matter if the poll has ended or not. The prof can choose to display the result by pressing the button at any point. Also I would like to stick with the current design of the results view