sebo-b / warp

Workspace Autonomous Reservation Program - a system to help you efficiently manage hybrid (assigned, hot-desks, etc) office space.
MIT License
139 stars 60 forks source link

small seat previews and additional strategies for preselected dates #55

Open markus-96 opened 3 months ago

markus-96 commented 3 months ago

Hi, I added a checkbox that enables small previews in the zone. It shows the number of the seat and the username of the first Booking of the currently set timespan. When hovering over the seat, it still shows the bookings and assignments, but without the header.

The thoughts behind this feature is to have a possibility to quickly search on the map who is sitting where, without having to hover over every single seat.

grafik

Also, I added some strategies for the preselected dates that can be set via environment variables. You can set which day is preselected (today or tomorrow) and also if the current time of day should be selected as start or a predefined timespan. To make this work, there is also a toggle to turn off the restoration of the selected dates from the session storage.

And there was a bug in the Bookings Tab, there if you did not select both start and end dates, there would flash an error. It now checks if both (fromTS and toTS) values are set.

If you want to, I can also split it to seperate PRs.

*edit: added screenshot

sebo-b commented 3 months ago

(this message is addressed to all creators of PR for this project)

Hi,

I'm looking for a maintainer for this project, as I've not been able to spend much time on it recently. Please let me know if you are interested.

Regards, /S

markus-96 commented 3 months ago

I'm looking for a maintainer for this project, as I've not been able to spend much time on it recently. Please let me know if you are interested.

That's sad to hear. There are a lot of great PRs out there, hopefully you'll find a successor. The problem is that I don't really have much free time. I could see myself doing something like this in a year or so, but not now.