maxkoshevoi / NureTimetable

Xamarin Forms application for viewing timetable of groups, teachers and rooms of the Kharkiv National University of Radio Electronics
https://play.google.com/store/apps/details?id=com.whitebox.nuretimetable
41 stars 5 forks source link

Time intervals that accurately represent start and end of the classes (i.e. from 7:45 to 9:20, etc.) #25

Closed maxkoshevoi closed 5 years ago

maxkoshevoi commented 5 years ago

In Nure classes are always start and end at a specific time (first class is always from 7:45 to 9:20, second is from 9:30 to 11:05 and so on), but current calendar in this application doesn't represent that. It starts when first class for given timetable starts and than have time markings after each hour (which don't match start and end time of the classes).

This is known issue and currently there are no plans to fix it. Here is why: As of now NureTimetable uses SfSchedule control for displaying classes. Unfortunately it doesn't support variable time spans for rows. Each row must be the same length. And since (thanks to breaks between classes that have different length) classes start 95 ± 10 minutes after each other, it's not possible to choose such time interval that would match at least the start of each class. So I choose 1 hour to be as the time interval (I tried 1.5 hour, but it was worse).

There is possible workaround. I've opened feature request regarding this and proposed solution was to add Non-Accessible timeslots in place of breaks. And it is good solution, but currently minimum length of those is an hour. Soooo. Here is feature request to Enhance the NonAccessibleBlock feature with Minutes. You can vote for it, so it will get implemented faster.