TUM-Dev / campus_flutter

Development of the cross-platform TUM Campus App with Flutter - for and from students at Technical University of Munich.
https://tum.app/
GNU General Public License v3.0
37 stars 4 forks source link

[Enhancement] Show available past calendar events #176

Closed kaii-tech closed 9 months ago

kaii-tech commented 9 months ago

Describe the bug The calendar only shows future events, any past or in progress lectures, personal appointments, etc. do not show in the calendar section.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Calendar'
  2. Click on 'Week or Month'
  3. See error

Expected behaviour Must be able to see at all past calendar events.

Screenshots Screenshot 2023-12-17 at 22 41 07

Smartphone (please complete the following information):

Additional context If it is the way flutter only pulls for future events, is it maybe possible to pull from a week prior so that at least the previous/current week is displayed. This issue is not just tied to me, my friends (all iOS & iPadOS) seem to have the same issue. I'm guessing that this bug is already know, but I didn't see any bug report so I though I'd make one.

Let me know if you'll need anything else!

jakobkoerber commented 9 months ago

Hey, thank you for contributing! I wouldn't consider this being a bug since it is expected behavior. The API endpoint does not offer every calendar event from the past. Therefore I would suggest displaying all events the endpoint serves. I hope that's fine for you

kaii-tech commented 9 months ago

Hi, I just checked and on the Web App, and it is working correctly, I can see all past events. I guess its an issue with the iOS app then? I don't have a android device to test it on.

Attached Screenshot from Web App showing date (20-24th November):

image
jakobkoerber commented 9 months ago

Interesting 😆 let me investigate this

kaii-tech commented 9 months ago

Thanks, it's a small thing but really frustrates me.

Let me know if i can help in anyway 😁

jakobkoerber commented 9 months ago

Understandable! Thank you for letting me/us know, I appreciate the effort 😄

kaii-tech commented 9 months ago

👍🏼