Closed ludde127 closed 1 year ago
Sorry. We stepped on our toes here... I have just pushed a solution that is simpler than your's I think: adding a time stamp to the queues. What do you think? Can you build on my work or does your solution have advantages?
Yeah i agree that yours may be better as my changes in User might lead to bugs in other parts of the project.
Yeah exactly - I first sat and thought about all the places that would need change if the datamodel should include an updated User with timestamp and I was a bit scared of that... I saw that you e.g. had to mess with equals which is always tricky. Is it ok that I close this PR? And you can instead, ifd you like, do some testing of my solution that is already live and then we can discuss in the issue #38 how best to display the longest waiting time in the output in sigrid/beppe/monitor.
Yes it is ok for you to close this PR and we can discuss in the issue thread instead!
Changed the user class to add time waited as well as adding some helper methods for the room that is later used in the ui. Check other commits for some more info.