Commit graph

71 commits

Author SHA1 Message Date
9efbcbf48b fix: reduce complicated ternary operators to simpler conditional statements 2024-07-19 11:04:11 +02:00
7b54809f6e fix: handle snapshot logic in the state rather than in the layout on the template overview screen 2024-07-19 11:04:11 +02:00
226c90943a fix: simplify DefaultConfirmationDialog usage by handling the possible null value internally 2024-07-19 11:04:11 +02:00
bb337a4084 remove separate logic from layout comment 2024-07-19 11:04:11 +02:00
1d65ac5096 fix: don't use initState when the variable can be instatiated through the class definition instead 2024-07-19 11:04:11 +02:00
f5962acf7a fix: get BorderRadius from a common variable rather than redefining it everywhere 2024-07-19 11:04:11 +02:00
a9f744d626 fix: use a BasePage to reduce code duplication in comparable layouts 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
1e33d2b7cb fix: use DateTime(day + 1) rather than duration for adding and substracting days 2024-07-19 11:04:11 +02:00
9a524184f1 fix: change default layout builder to be a widget 2024-07-19 11:04:11 +02:00
Freek van de Ven
62a130e3d6 feat: change calendar cell rendering with new design 2024-07-19 08:11:38 +02:00
Freek van de Ven
70f8ac1db0 fix: export the flutter_availability_data_interface from the userstory
This makes it easier to use the userstory when you need to create your own datainterface implementation
2024-07-17 13:33:51 +02:00
Freek van de Ven
313a402409 fix: use template viewmodels for the UI state 2024-07-17 11:42:44 +02:00
Freek van de Ven
fd81964b75 feat: add week template modification screen 2024-07-17 11:42:44 +02:00
Freek van de Ven
c7ea82677c feat: add week template overview 2024-07-17 11:42:44 +02:00
Freek van de Ven
5b54111850 feat: add week template day selector 2024-07-17 11:42:44 +02:00
Freek van de Ven
92703d536d feat: add combined template time/break section 2024-07-17 11:42:44 +02:00
Freek van de Ven
bb7ee1c5b0 feat: change pause dialog text for templates 2024-07-17 11:42:44 +02:00
Freek van de Ven
841bdfbee9 fix: allow the entire template card to route to edit page 2024-07-17 11:42:44 +02:00
3238fc2c4a chore: apply code review comments 2024-07-15 15:35:07 +02:00
Freek van de Ven
bc32462c16 feat: add template deviation marking on availability overview 2024-07-15 09:31:25 +02:00
Freek van de Ven
04b843d2fd feat: add template selection for creating availabilities 2024-07-15 09:31:25 +02:00
Freek van de Ven
fe910ef041 feat: add a builder for around the bigtextbutton
This allows apps to use a custom decoration around that element, for instance a dotted border.
2024-07-15 09:31:25 +02:00
Freek van de Ven
1b8aa07874 fix: add correct spacing around calendar day header 2024-07-15 09:31:25 +02:00
Freek van de Ven
440b1e7caa feat: add confirmation dialog for saving availabilities 2024-07-15 09:31:25 +02:00
Freek van de Ven
01e1794754 chore: rename screens and filenames to reflect the screen better 2024-07-15 09:31:25 +02:00
Freek van de Ven
244df8ea1f feat: split the textButtonBuilder into a big and small variant 2024-07-15 09:31:25 +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
5bfac2f4e3 feat: add button for clearing selected availabilities on availability overview 2024-07-11 09:39:36 +02:00
Freek van de Ven
e3474e779b feat: add default confirmation dialog 2024-07-11 09:39:36 +02:00
Freek van de Ven
25186412ba feat: add secondary button builder 2024-07-11 09:39:36 +02:00
Freek van de Ven
9ba32016b8 fix: change DateTime to TimeOfDay for timeselection widgets 2024-07-11 09:39:36 +02:00
Freek van de Ven
79be2d74dc fix: remove selected range after going to availability overview 2024-07-11 09:39:36 +02:00
Freek van de Ven
4c75c8c260 feat: update availability modification screen with new design 2024-07-11 09:39:36 +02:00
Freek van de Ven
20104160eb feat: add availability screen individual components 2024-07-11 09:39:36 +02:00
Freek van de Ven
095eff2c21 feat: add loadingIndicatorBuilder to override CircularProgressIndicator.adaptive() 2024-07-11 09:39:36 +02:00
Freek van de Ven
172b3ff6a8 feat: show a special color for availabilities without a known template 2024-07-11 09:39:36 +02:00
Freek van de Ven
4a9bd72eca fix: show selected days outside of the current month with the same color 2024-07-11 09:39:36 +02:00
Freek van de Ven
ff7ab2bc42 feat: add custom timepicker option for overriding the default 2024-07-11 09:39:36 +02:00
Freek van de Ven
239eb92609 feat: add pause selection with dialog for modification 2024-07-11 09:39:36 +02:00
Freek van de Ven
71d76bba04 fix: improve loading visual for template legend 2024-07-10 11:12:05 +02:00
Freek van de Ven
8b138a8072 feat: load templates in templates overview through the service 2024-07-10 11:12:05 +02:00
Freek van de Ven
3614191711 feat: load availabilities through the service 2024-07-10 11:12:05 +02:00
Freek van de Ven
2edd540f51 feat: add availability template deviation calculation logic 2024-07-10 11:12:05 +02:00
Freek van de Ven
baad9204c2 feat: load template legend data through the service 2024-07-10 11:12:05 +02:00
Freek van de Ven
fe2786d34f feat: add example templates to the local service and update stream after initialization 2024-07-10 11:12:05 +02:00
Freek van de Ven
39da1a4f21 feat: add day template edit/creation page 2024-07-08 11:51:25 +02:00
Freek van de Ven
f2e279a592 feat: add template overview screen
The mocked templates will be replaced later with a template stream for fetching templates from the flutter_availability_data_interface
2024-07-08 11:20:07 +02:00
Freek van de Ven
bc2a7e2f08 feat: add animation for template legend drawer 2024-07-08 10:29:49 +02:00
Freek van de Ven
63caa27f0a feat: add template legend on the calendar screen 2024-07-08 10:29:49 +02:00