-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add time waited to first in sigrid room queue. #38
Comments
First step here: b0a40cc |
I have also been working on a solution and have one (probably finnished) in this fork https://github.com/ludde127/sigrid . I did however mess with the User case class which might not be wanted. |
Yeah. Sorry for not checking with you before starting working on this. |
NIce output! Perhaps you can build on my work by integrating your printing functions and implement |
Or make one waiting time method per queue somtehing like |
Or do you want me to finish the printing inspired by your PR? |
Yes you can close the PR, i can however implement the printing methods if you have not already had time to finish them! |
Yes please go ahead if you like on the printing in showRoom etc by filtering out users from the pair etc. I can't work on this until tomorrow afternoon anyway. Ping @Handledare on Discord if you need help with testing meanwhile, but then testers need to clone and run localhost... Let me know if someting tested can go live and I'll merge when I'm back on the keyboard. |
Nice! PR welcome! (I can review it tomorrow afternoon the earliest.) |
Perhaps remove decimals in minutes? |
Thing left to do: Add longest queuing time in room overview at login. I think it was there i used the short form (?) It is good to see this in the login page because then you can perhaps decide to go to a room with less waiting time... |
Nice! I suggest skipping the dot and blank, so just |
I actually meant just the current time of the student in front just like in the long form, but maximum queueing time is also interesting as it says something about the peak load during the 2h time slot. Perhaps both figures shoudl be in the overview of active rooms as it can be a basis for students to go to a room with low load. |
So my suggestion is having both |
I meant the current maximum queuing time of anyone in any of the queues (not the maximum over some timeframe). I don't really think that the maximum queuing time over a 2h time slot is useful for the login page. Yes, lets discuss live! |
Ok I see. Yes, that's probably more useful as an overview. (Statistics over history is actually another feature.) Go ahead with the PR inline with your original intent, and I can take a look at the code when you have a PR, if you like. |
Add a timer that shows some relevant information about who has waited the longest to allow ambulances to know which rooms are most congested time wise. One example of a solution is to add the time waited for the first person in the queue (Longest waiting).
The text was updated successfully, but these errors were encountered: