mterwill / office-hours-help-queue

A queue to help manage office hours for large courses
GNU General Public License v3.0
84 stars 21 forks source link

Adding enhancement #131 - Student title vs. Instructor title #142

Closed sbuttar closed 4 years ago

sbuttar commented 4 years ago

This PR addresses the enhancement requested by issue #131 , and was made with Ram Natla (@ramnatla). If the logged-in user is currently on the queue, the title of the page is updated to show their position: "(#2) Office Hours Help Queue". If the logged-in user is not on the queue, the title will display the total number of people on the queue. For example, if 20 people were on the queue, the title will display: "(20) Office Hours Help Queue".

To implement this, any time the queue receives an update, the title of the page was dynamically changed.

We would appreciate any and all feedback on this PR!