Skip to content
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

Cannot see my schedule for next session #906

Open
JeremieBergeron opened this issue Dec 5, 2023 · 1 comment
Open

Cannot see my schedule for next session #906

JeremieBergeron opened this issue Dec 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working feature: Schedule Issue concerning the schedule section of the application good first issue Good for newcomers platform: android platform: ios priority: medium This issue is a medium priority ready to develop This issue is ready to be taken.

Comments

@JeremieBergeron
Copy link

Describe the bug
I can't see my schedule for the next session (winter 2024).
Now, I can see it, but when I reported the bug on the discord channel, I couldn't.
I wrote on discord: 30/11/2023

To Reproduce

  1. Go to "Horaire"
  2. Go to "Janvier"
  3. See that the calendar is empty

Expected behavior
I should been able to see my courses

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A21
  • OS: Android 12
@JeremieBergeron JeremieBergeron added the bug Something isn't working label Dec 5, 2023
@MysticFragilist MysticFragilist added feature: Schedule Issue concerning the schedule section of the application platform: ios platform: android priority: medium This issue is a medium priority ready to develop This issue is ready to be taken. good first issue Good for newcomers labels Dec 5, 2023
@MysticFragilist
Copy link
Contributor

MysticFragilist commented Dec 5, 2023

Merci encore pour le report Jérémie! 😄 Probablement relié au fait que le nombre de jours est hardcoder à 45 jours à partir de la date d'aujourd'hui.

Solution
La meilleure solution serait de créer une espèce de date-curseur qui se déplacerait en fonction de la page actuel de la vue en cours. La date-curseur devrait correspondre à la dernière date de la vue courante (exemple: mois -> dernière date du mois, semaine -> dernière date de la semaine). À chaque changement de page du calendrier, si la date-curseur se trouve en dehors du window de aujourd'hui à +45 jours (par exemple le 46ème jours), on refetch les évènements pour les enregistré également dans le calendrier.

@MysticFragilist MysticFragilist self-assigned this Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: Schedule Issue concerning the schedule section of the application good first issue Good for newcomers platform: android platform: ios priority: medium This issue is a medium priority ready to develop This issue is ready to be taken.
Projects
None yet
Development

No branches or pull requests

2 participants