Skip to content

Add calendar view for ToDos

Ludovic Olivier Mermod requested to merge github/fork/swent-epfl/calendar into main

This PR introduces a new screen, Calendar, to the ToDo application. The screen provides users with a clear view of all tasks that are due on a given day. This feature aims to improve task management efficiency by allowing users to easily track their daily workload and upcoming deadlines.

Screenshot_20240922_221531

It uses the LaunchedEffect and LazyColumn to optimize the screen, avoiding performance issue for tasks due far in the future.

As in the Overview screen, tapping on a ToDo opens the edition screen.

Ideas for future improvement:

  • Tapping a day card to add a ToDo for that day
  • Month/Week views
  • Jump to a given date

Exercise

The goal of this exercise is for you to write a review on this PR without merging it. You should highlight any issue you find, from bugs to typos, poor code patterns, etc.

To integrate the view in your app to test it, you need to

  • Create the corresponding Route, Screen and TopLevelDestination
  • Create the entry in the NavHost

Merge request reports

Loading