Oliver Walters
0165a4bad5
Bug fix for refreshable state
...
- Prevent setstate if widget is no longer mounted
2022-07-20 17:38:32 +10:00
Oliver
01dd046dd1
Display overlay screen for blocking operations ( #186 )
...
* Catch state error in homepage widget
* Add flutter_overlay_loader lib
- Displays an overlay screen to indicate blocking operation
* Wrap blocking widget transitions in a loading overlay
- Prevents user from doing other things while loading
- Shows the user that something is happening
* Linting fixes
* Show overlay when uploading attachment file
* Show overlay when downloading file also
* Show overlay when loading or submitting API forms
- Major improvements to usability "feel"
* UI improvements for stock item test results widget
* Fix API_FORM bug
- onSuccess function was not being called
2022-07-20 09:05:21 +10:00
Oliver
13ebaf43e1
List refactor ( #179 )
...
* Catch paginator bug if widget is disposed before request returns
* Refactoring paginated query widget
- Add option to enable / disable search filters
* Major refactor of paginated search widget
- Learned something new.. a state can access widget.<attribute>
- THIS CHANGES EVERTHING
* Preferences: Add code for tri-state values
- Also improve unit testing for preferences code
* Allow boolean form fields to be optionally tristate
* paginator: Allow custom boolean filters
* Remove outdated filtering preferences
* Refactor filter options
- Allow specification of more detailed options
* Add custom filters for "part" list
* filter tweaks
* Remove legacy "SublocationList" widget
* Add filtering option for locationlist
* Updates for stock location widget
* Refactor category display widget
* More widget refactoring
* Update main search widget
* Fix unit tests
* Improve filtering on BOM display page
2022-07-19 23:29:01 +10:00
Oliver Walters
7301243ed6
Major overhaul of "paginated list" widget class
...
- Simplify implementation
- Create mixin class for code reuse
- Allow custom app-bar
- Allow custom ordering / sorting options
- Improve code commenting / readability
2022-07-06 20:24:40 +10:00
Oliver Walters
a3597c5d61
Allow search widget to be constructed with or without an app bar
2022-05-04 10:42:33 +10:00
Oliver Walters
2a6df373c5
Refactor imports
2022-03-29 19:54:19 +11:00
Oliver Walters
faf8e45138
Pop to the previous context if the stock item is "bad"
2022-03-26 17:38:30 +11:00
Oliver
69c15797e8
Linting fixes
2021-10-03 12:12:16 +11:00
Oliver
18479b88e3
Refactor "drawer"
...
- Reduce number of items
- Long-pressing the "back" button opens the drawer
Ref: https://stackoverflow.com/questions/58095547/flutter-scaffold-ofcontext-opendrawer-doesnt-work
2021-10-03 12:11:22 +11:00
Oliver
38e4735f77
Add a custom "back" button to refreshable state
...
- Long press to return to the "home" screen
2021-10-03 11:06:27 +11:00
Oliver
be36811cb3
More linting again
2021-09-28 21:34:11 +10:00
Oliver
ad0cc36540
More linting work
2021-09-28 20:24:55 +10:00
Oliver
094b997f76
Refactor login page buttons
2021-08-16 20:47:14 +10:00
Oliver Walters
248ca6f328
Do no provide a "drawer" unless on the home screen
2021-08-09 23:53:48 +10:00
Oliver
e637e2a9bc
make package name lowercase
2021-07-16 15:07:28 +10:00
Oliver
d2ce3fadf1
Code cleanup
2021-07-15 11:27:19 +10:00
Oliver
d3eec6a79e
Many many changes for null-safety support
2021-07-09 23:56:38 +10:00
Oliver Walters
b1b85a33f8
Add progress indicators to a bunch o' stuff
2021-02-11 21:38:48 +11:00
Oliver Walters
c8c056f96d
Add snackbar with icon
...
- stock adjust
- part edit
- location edit
2021-02-10 23:51:38 +11:00
Oliver Walters
32fd8efddc
Make a bunch o' strings translateable
2021-02-01 22:36:46 +11:00
Oliver Walters
db6aae8a78
Add "actions" panel to stock item view
2021-01-29 00:08:17 +11:00
Oliver Walters
26cdb760eb
Move the "edit" button to the app bar
2021-01-21 20:32:02 +11:00
Oliver Walters
153bb1c077
Include category detail when requesting part information
2021-01-20 22:58:04 +11:00
Oliver Walters
868e1d20dc
Add class for StockItemTestResult
2020-05-23 15:53:15 +10:00
Oliver Walters
8374691d8c
Add some //TODO items
2020-04-18 22:53:02 +10:00
Oliver Walters
a7d11faec8
Add "QuantityField"
...
Juicy juicy refactoring
2020-04-18 22:07:02 +10:00
Oliver Walters
c2e398463f
Add beginnings of "page" widget view
2020-04-18 12:13:41 +10:00
Oliver Walters
93630ea910
Separate onBuild and refresh callbacks
2020-04-15 12:47:17 +10:00
Oliver Walters
90a39ae3de
Company list is now refreshable
2020-04-15 12:07:36 +10:00
Oliver Walters
58f6fd0f15
Make a 'refreshable_state' class which makes API requests easier
2020-04-15 11:39:29 +10:00