Friday, March 21, 2025
2 changes · master
Code cleanup and technical improvements
This update reorganizes internal calendar view components used by Appointment and Planning. It simplifies how calendar data is handled behind the scenes, making the code easier to maintain without introducing notable changes for end users.
The grid view’s internal structure was simplified so there is now one main model responsible for preparing grid data. This should make future customization and maintenance of grid-based features, such as timesheets and planning-related views, easier and less error-prone without changing the visible user experience.
Original PR description
Before this commit, the GridModel class contained a GridDataPoint to let that additional to fetch the grid data and build the different elements inside the grid view (rows, columns, sections, cells). This concept is a bit complex since the developer who wants to do customisation does not really know if he should do the customisation in GridDataPoint or GridModel. This commit merges the GridDataPoint into GridModel to only have one "real model" in the grid to facilitate the eventual customisation to do for the grid view (like the ones made for grid view of timesheets). task-4354264