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!
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!