Commit graph

22 commits

Author SHA1 Message Date
5f5a4a47aa fix: use isBefore method rather than the compare for readability (and fix a bug) 2024-07-26 11:44:45 +02:00
ec47ed4696 feat: validate availabilities and templates locally before submitting 2024-07-25 17:23:12 +02:00
Freek van de Ven
3e2cc1d9f5 feat: add exception for template apply errors in data-interface 2024-07-24 09:14:20 +02:00
Freek van de Ven
53fb9a2e2c feat: add method for applying a template in the availability viewmodel
This code determines if a selected range of availabilities has the same start and end times and looks at the breaks.
2024-07-22 14:06:54 +02:00
Freek van de Ven
e1dd2a3520 fix: compare only dates of availabilities for selected range 2024-07-22 14:06:54 +02:00
67842ed2f5 feat: improve data interface API to be more consistent 2024-07-22 10:05:57 +02:00
Freek van de Ven
134f827f3a fix: allow clearing the duration from the pause dialog 2024-07-19 11:15:58 +02:00
c7c985be00 feat: refactor getStartTimeForDayOfWeek and EndTime to use polymorphism to simplify the code 2024-07-19 11:04:11 +02:00
cdaca15901 fix: extract deeply nested widgets 2024-07-19 11:04:11 +02:00
d765a7a0f8 fix: throw dedicated exceptions rather than generic ones 2024-07-19 11:04:11 +02:00
Bart Ribbers
625e38fd47 chore: ready the package for deployment to the pub server 2024-07-12 14:51:12 +02:00
Freek van de Ven
39da1a4f21 feat: add day template edit/creation page 2024-07-08 11:51:25 +02:00
c15965c982 feat(availability_service): load availabilities with templates and change interface 2024-07-08 08:51:25 +02:00
Freek van de Ven
61bc0a8b53 feat: add template id to AvailibityModel to indicate if a template was used for creation 2024-07-04 15:22:03 +02:00
6748a2440c feat(flutter_availability_data_interface): add implementation for apply method on availability templates 2024-07-03 11:28:37 +02:00
a8af7fd6ac fix(flutter_availability_data_interface): correct dartdoc for endDate property on an availability 2024-07-03 11:28:37 +02:00
559e7e2b73 feat(flutter_availability_data_interface): add serialization to template data 2024-07-03 11:28:37 +02:00
Freek van de Ven
7cb0cb66ed feat(data-interface): add date filter to getAvailabilityForUser
By providing a start and end date for getAvailabilityForUser you can get a subset of all availability.
2024-07-03 10:32:56 +02:00
178db2d753 feat(flutter_availability_data_interface): export models and interface in library file 2024-07-02 14:46:39 +02:00
bb80fe9e42 feat(flutter_availability_data_interface): define the models and interface for templates 2024-07-02 14:46:39 +02:00
00166abf5f feat(flutter_availability_data_interface): define the models and interface for availabilities 2024-07-02 11:18:49 +02:00
82a55ae284 chore: create flutter projects for data interface and availability 2024-07-01 16:41:21 +02:00