|
ff338d6277
|
fix: swap constraints with scrollview to remove overflow
|
2024-07-24 11:34:05 +02:00 |
|
|
370f431784
|
fix: always display selected days and do not overwrite first template
|
2024-07-24 11:33:57 +02:00 |
|
Freek van de Ven
|
fd2bef92ac
|
fix: remove userId null error in AvailabilityViewModel
|
2024-07-24 09:14:20 +02:00 |
|
Freek van de Ven
|
84fe794b4b
|
chore: move default builders to ui/default folder
|
2024-07-24 09:14:20 +02:00 |
|
Freek van de Ven
|
4faa0344b4
|
chore: move default loader to seperate file
|
2024-07-24 09:14:20 +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
|
9dcb3950df
|
feat: apply template instead of creating base availabilities
|
2024-07-23 11:05:24 +02:00 |
|
|
c8348be746
|
feat: add error builder to options
This is done to allow for the user of this package to define custom error handling
|
2024-07-22 16:04:23 +02:00 |
|
|
2b931db798
|
docs: add docs to borderradius getter in options
|
2024-07-22 16:04:23 +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 |
|
Freek van de Ven
|
5931b4c29a
|
fix: revert calendar UI changes from bad rebase
|
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 |
|
Freek van de Ven
|
020d7a71f8
|
fix: handle nullable duration for breaks and correctly update breaks
|
2024-07-19 11:15:58 +02:00 |
|
Freek van de Ven
|
5b98ae487b
|
fix: save selected template id with created availabilities
|
2024-07-19 11:15:58 +02:00 |
|
Freek van de Ven
|
57e8716913
|
fix: add userid to created availabilities
|
2024-07-19 11:15:58 +02:00 |
|
Freek van de Ven
|
498e51cfc0
|
fix: preserve userid when switching to template viewmodels
|
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 |
|
|
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 |
|
Freek van de Ven
|
a22c8ed69e
|
feat: add period selection to the calendar view
There are also some small refactors for the UI of the calendar included
|
2024-07-08 10:05:54 +02:00 |
|
Freek van de Ven
|
f840d1b019
|
fix: move the onBack outside of the navigator to prevent userstory from popping the entire stack
|
2024-07-08 10:05:54 +02:00 |
|
Freek van de Ven
|
bb01592f54
|
feat: add calendar view without interaction
|
2024-07-08 10:05:54 +02:00 |
|
Freek van de Ven
|
fa1d9504f5
|
feat: add device preview package to the example app
With Device Preview it is easy to view the userstory on different kinds of devices and change settings like language
|
2024-07-08 08:51:25 +02:00 |
|
|
c15965c982
|
feat(availability_service): load availabilities with templates and change interface
|
2024-07-08 08:51:25 +02:00 |
|
|
a2c6f83914
|
feat(availability-overview): create basic layout with options integration
|
2024-07-08 08:51:25 +02:00 |
|
Freek van de Ven
|
1b6a727305
|
feat: add the flutter_availability userstory to the example app
|
2024-07-04 16:10:05 +02:00 |
|
Freek van de Ven
|
d52b18b9bb
|
feat: add navigator userstory for availabity overview
|
2024-07-04 16:10:05 +02:00 |
|
Freek van de Ven
|
2e99ab5cf2
|
feat: add availability creation and modification screen
|
2024-07-04 16:10:05 +02:00 |
|
Freek van de Ven
|
952d11f417
|
feat: add overview screen for availabilities
|
2024-07-04 16:10:05 +02:00 |
|
Freek van de Ven
|
331f8d8cd6
|
feat: add flutter_availability configuration
|
2024-07-04 16:10:05 +02:00 |
|
Freek van de Ven
|
06a6e25fa7
|
feat: add local interface implementation for in memory version of the userstory
|
2024-07-04 16:10:05 +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 |
|