UNFmontreal / BookedScheduler

Repository for the last open source version of Booked Scheduler. Further development will be conducted on branches, namely "Bugfix", "Features", "plugins". Release candidates on "RC" and final releases on "Final".
GNU General Public License v3.0
0 stars 0 forks source link

Blocked slots appear twice on mobile #2

Open SamGuay opened 2 years ago

SamGuay commented 2 years ago

To Reproduce

  1. Log in to the BookedScheduler on a cellphone
  2. Look at the schedule

Actual behavior

Blocked slots appear twice all over the schedule except for the 7:30-8:00 slot.

Even the Mobile view on Desktop Chromium renders it completely different. Given I have a Firefox Desktop issue, I can't look at the mobile view on Desktop Firefox.

Expected behavior

The blocked slots should appear only once for each allocated time.

Screenshots

On Firefox (Mobile): image On Chromium (Mobile): image Mobile view on Chromium (Desktop) image

System information

Operating system: CalyxOS 2.10.0 / Android 11 
Browser: Firefox Mobile 92.0 / Chromium 94.0.4
Javascript enabled: Yes
Cookies enabled: Yes
Flash version: Not installed
Java version: Not installed
Websockets supported: Yes
WebGL supported: Yes
Language: en-CA
bpinsard commented 2 years ago

It's because the system sets a buffer for both before and after scans, but buffers can overlap. But in that view they are shown twice. I can reproduce it on a laptop with developer tools, by mimicking a cellphone. This is a booked issue, that could be reported to the upstream repo, but not sure it would be a priority for the guy who salvaged the project.