2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-30 06:26:52 +00:00

20 Commits

Author SHA1 Message Date
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
e03a8561b9
Main screen loading indicator (#183)
* Bug fix for login screen

- Prevent setState() from being called if the widget is no longer loaded

* Add callback function when API status changes

- Home screen uses this function to update connection status indicator

* Linting fixes
2022-07-19 23:10:06 +10:00
Oliver
aa274b2e45
Stock location scan (#169)
* Add action for scanning a stock location into another location

* Adds barcode scan handler for new functionality

* Handle scanning of stock location

* Cleanup

* Refactor existing barcode scanning functions

- Will require extensive testing and validation

* Add entry to release notes

* Delete dead code

* Improved ordering based on stock quantity

* Bug fix for 'adjustStock' function

* Improve error responses for barcode scanning

* Improve error responses for barcode scanning

* Remove old debug statements

* Add some extra explanatory texts

* Icon change

* Fixes for unit tests

* Adds extra functionality for user profile manager

* Refactor barcode code - do not rely on BuildContext

* Adds initial unit testing for barcode scanning

- Work on mocking barcode data
- Add hooks for testing snackBar and audio files

* Linting fixes

* More barcode unit tests

* Cleanup unit tests for barcode

* Remove unused import

* Handle HTTPException in API

* Improvements for API unit testing

* Unit testing for scanning item into location

* Add unit test for scanning in items from a location context

* Unit test for scanning location into parent location

* Improve feedback for barcode scanning events
2022-07-18 22:10:00 +10:00
Oliver Walters
847fda7652 Enable ordering for purchase order list 2022-07-06 21:24:26 +10:00
Oliver Walters
c3e6d3f902 Widget cleanup 2022-07-06 21:13:07 +10:00
Oliver Walters
a450154bac Add sorting options for the StockItem list 2022-07-06 21:07:19 +10:00
Oliver Walters
591c6a5592 Update stock display to indicate allocations 2022-07-05 18:38:28 +10:00
Oliver Walters
62df40f4b3 Display "variants" in part detail view 2022-07-05 17:14:00 +10:00
Oliver Walters
4a695fa4ef String fixes 2022-06-06 21:15:58 +10:00
Oliver Walters
aa4317a2fe Add support for "quarantined" stock item status 2022-06-03 19:51:08 +10:00
Oliver Walters
acf89426ce Fix for search screen
- Change input and controller
- Add focus node
- Add "searching" indicator
2022-05-19 20:38:28 +10:00
Oliver Walters
bc53dafaba Add plugin support status to server information screen 2022-05-10 08:12:53 +10:00
Oliver Walters
5ba887d59b Refactor locate function 2022-05-10 00:28:49 +10:00
Oliver Walters
03c6de8255 Stock location can now be identified via the app 2022-05-10 00:15:20 +10:00
Oliver Walters
347d2175be Display a "launch" screen if server is not connected 2022-05-09 20:37:57 +10:00
Oliver Walters
7ef7096e26 Updates to search controller 2022-05-04 11:53:11 +10:00
Oliver Walters
6bbae67482 Add model for notifications
- Display a list of active notifications
2022-05-04 11:11:29 +10:00
Oliver Walters
3fa68ec6da The "search" window is now a tab on the main screen 2022-05-04 10:27:04 +10:00
Oliver Walters
1f75fb4c92 Add latest translation files 2022-05-02 09:56:58 +10:00