Commit graph

148 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
Freek van de Ven
38a9351bbb feat: add CustomSemantics widget 2025-02-03 08:10:11 +01:00
Freek van de Ven
78acd0e41a feat: add component release workflow 2025-02-03 08:10:11 +01:00
Freek van de Ven
4247cc6ba9 chore: update package configuration to flutter 3.24.3 2025-02-03 08:10:11 +01:00
Kiril Tijsma
bd8bc994f8 fix(availability-scope): compare between two different things 2025-01-28 13:37:39 +01:00
Gorter-dev
fac7e6a6b8
Update pubspec.yaml 2024-09-11 11:21:01 +02:00
Jacques Doeleman
d2b4a76e82
Update pubspec.yaml (#51) 2024-09-11 11:17:29 +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
Freek van de Ven
1671c90a78 fix: remove template button when there are templates available 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
20881023ad feat: add feature flags to enable/disable functionality 2024-08-05 10:56:38 +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
Freek van de Ven
fd2a8e8867 chore: update readme and add a gif showcasing the userstory 2024-07-29 11:56:32 +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
0852b25678 fix: add keyboard padding for pause selection dialog 2024-07-26 16:12:02 +02:00
Freek van de Ven
0525e9d3b6 fix: add pause validation directly in the pause dialog when saving 2024-07-26 14:56:18 +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
3ae1ad417e fix: limit template name length to 100 characters 2024-07-26 14:56:18 +02:00
Freek van de Ven
c6df93e40b fix: add initial value for duration inputfield back 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
c004417b36 fix: use proper flex ratio for determining the width of the time break duration input 2024-07-26 13:37:31 +02:00
96c16c09ba fix: mark breaks modal as scrollcontrolled to take up full space 2024-07-26 13:37:31 +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
7204f77d05 feat: add marking for conflicting times when applying a template 2024-07-26 13:27:38 +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
Freek van de Ven
5eda42c9dd fix: pass initial day to weekday selection to prevent resetting to monday
The widget is rebuild when you come back from the weekoverview to the edit page so the previous selected day should stay on the same day
2024-07-26 11:48:08 +02:00
Freek van de Ven
51fa3588be fix: add validation error handling for week template saving 2024-07-26 11:48:08 +02:00
ec47ed4696 feat: validate availabilities and templates locally before submitting 2024-07-25 17:23:12 +02:00
Freek van de Ven
c20a1a603c fix: add NavigatorPopHandler with a custom PopHandler class for handling backarrow presses in the userstory 2024-07-25 16:41:50 +02:00
Freek van de Ven
26d2eb150a feat: remove edit template button as seperate button and add it to week overview element 2024-07-25 14:04:01 +02:00
Freek van de Ven
36d5cf3b92 feat: add template deletion confirmation dialog 2024-07-25 14:04:01 +02:00
Freek van de Ven
e8af49e694 fix: use BasePage for template overview screen instead of using a custom screen layout 2024-07-25 14:04:01 +02:00
Freek van de Ven
c31ca03806 fix: handle really long template names by adding textoverflow.ellipsis everywhere 2024-07-25 14:04:01 +02:00
Freek van de Ven
ae950ce5df fix: close keyboard for break duration when tapping outside inputfield 2024-07-25 14:04:01 +02:00
Freek van de Ven
e37164831b fix: remove keyboard focus when opening dialogs for time selection 2024-07-25 14:04:01 +02:00
Freek van de Ven
f53eb3456b feat: add close button for pause selection dialog 2024-07-25 14:04:01 +02:00
Freek van de Ven
7ad1c1dfc3 fix: correctly show template add title when there are no templates selected yet 2024-07-25 14:04:01 +02:00
Freek van de Ven
efa08cb0b2 fix: style label for duration inputfield to use hintstyle 2024-07-25 14:04:01 +02:00
Freek van de Ven
8752e2f6cc fix: remove empty days when updating a week template 2024-07-25 14:04:01 +02:00
Freek van de Ven
3b51a7f31d fix: give selected day in the template legend a white color 2024-07-25 14:04:01 +02:00
Freek van de Ven
89d3c794c7 fix: allow availability saving when only a template is selected 2024-07-25 14:04:01 +02:00
Freek van de Ven
85297c35fa fix: clear start and end before applying a template to an availability selection
The start and end might already be set before selecting a template, it should always be cleared and if the template is uniform it can update the start and endtime to the correct value
2024-07-25 14:04:01 +02:00
Freek van de Ven
3280d40d1f fix: only change availability details when entire range is covered by a template 2024-07-25 14:04:01 +02:00
Freek van de Ven
b78029f018 fix: move buttons from basepage to the bottom 2024-07-25 14:04:01 +02:00