Add calendar view for ToDos
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.
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
andTopLevelDestination
- Create the entry in the
NavHost