Skip to content
Snippets Groups Projects
Commit bbf1ddfb authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

refactor: rework calendar

Up until now the calendar kept a single record of calendar events. This
record was modified whenever new or other events needed to be displayed.
Events were added/changed/removed imperatively (i.e. when
entering/leaving conflict mode), which goes against the principle of
unidirectional data flow embraced by Vue and other reactive frameworks.

The calendar is now split into separate components most importantly the
normal week view and a separate conflict view with separate state
management. The state management itself has been reworked and improved
so that it uses unidirectional data flow.

These changes massively improve performance, simplify state management,
and should make it easier to reason about the code (conflict mode was
hard!).

fixes #287
parent f7135c81
No related branches found
No related tags found
No related merge requests found
Pipeline #7832 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment