Commit graph

37 commits

Author SHA1 Message Date
Freek van de Ven
79d292cf4a fix: improve the UI for small devices 2025-05-11 13:56:44 +02:00
Freek van de Ven
9487cf2e57 chore: replace the CustomSemantics with the new one from flutter_accessibility 2025-03-06 08:15:04 +01:00
Freek van de Ven
bf591a45a2 feat: add Semantics widget to inputs and dynamic texts
This will add accessibility id and id to the inputfields, buttons and dynamic texts so they can be accessed in appium for automated tests
2025-02-03 08:10:11 +01:00
Gorter-dev
fac7e6a6b8
Update pubspec.yaml 2024-09-11 11:21:01 +02:00
Freek van de Ven
ea6fbc4668 fix: improve template deviation logic and remove it from the flutter_availability UI files 2024-08-06 10:19:53 +02:00
dependabot[bot]
beef725364 chore(deps): bump rxdart
Bumps [rxdart](https://github.com/ReactiveX/rxdart) from 0.27.7 to 0.28.0.
- [Release notes](https://github.com/ReactiveX/rxdart/releases)
- [Commits](https://github.com/ReactiveX/rxdart/compare/0.27.7...0.28.0)

---
updated-dependencies:
- dependency-name: rxdart
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 11:17:33 +02:00
Freek van de Ven
f3c8b5f473 fix: add alpha value for All day in local test data 2024-07-29 14:11:29 +02:00
12bde64117 feat: change local data interface implementation to singleton
According to our agreed appshell architecture we will make the local implementations
as singletons to represent a single source persistent layer, like a database.

On top of that, the service should be usable across multiple instances of the service, even if no datasource is provided.
2024-07-29 11:54:09 +02:00
1473ea1a7a refactor: move service from user story to data layer 2024-07-29 10:38:41 +02:00
f6d62510b6 chore: remove unnecessary comment in availability model library 2024-07-29 10:38:41 +02:00
3924a5804c chore: remove flutter dependency from data interface 2024-07-29 10:38:41 +02:00
Freek van de Ven
b3a917769d fix: change template deviation logic for when a day is missing from a template
If a day is missing the availability automatically deviates
2024-07-26 16:12:02 +02:00
Freek van de Ven
b184dc65bd fix: check that start time is before endtime for a template day 2024-07-26 14:56:18 +02:00
Freek van de Ven
c7ce06624b feat: add validation check for break outside availability 2024-07-26 14:56:18 +02:00
5b251d9ba7 fix: use isBefore method rather than the compare for readability (and fix a bug) 2024-07-26 13:28:03 +02:00
Freek van de Ven
eb704f44cd feat: add marking for template deviation in the availability modification screen 2024-07-26 13:27:38 +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