2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-29 14:06:47 +00:00

92 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
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
3fa68ec6da The "search" window is now a tab on the main screen 2022-05-04 10:27:04 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
8ba4a9e678 Similar checks for other widgets 2022-03-26 18:38:10 +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
582f6bace3 Adds success messages after editing things 2022-03-10 16:59:27 +11:00
Oliver
a5b52ea1cc Linting 2021-10-04 08:31:39 +11:00
Oliver
6dad1f2b25 Refactor part list 2021-10-04 00:20:06 +11:00
Oliver
be36811cb3 More linting again 2021-09-28 21:34:11 +10:00
Oliver
77bac9af36 Yet more linting 2021-09-28 20:35:19 +10:00
Oliver
ad0cc36540 More linting work 2021-09-28 20:24:55 +10:00
Oliver
c1152ee286 Fixes for type casting 2021-09-28 17:53:14 +10:00
Oliver
64653b0642 Italic 2021-08-16 20:43:12 +10:00
Oliver
e31158a966 Download attachments and open
- Uses package "open_file"
2021-08-15 22:09:11 +10:00
Oliver
2cb3e89a9a Cleanup 2021-08-10 20:59:07 +10:00
Oliver
0d11af002b Adds placeholder for action to delete part 2021-08-10 16:58:59 +10:00
Oliver
fcc5bf8c30 Check that the user has the required permisions 2021-08-10 16:53:20 +10:00
Oliver
ed94d4eb96 Create new part from category 2021-08-10 16:51:34 +10:00
Oliver
a1a07aefd8 Refactor part form fields 2021-08-10 16:48:06 +10:00
Oliver
6d0282519d API forms return the JSON data to the onSuccess function 2021-08-10 14:33:08 +10:00
Oliver
67ccbf64b5 Adds convenience function for editing model 2021-08-10 08:40:36 +10:00
Oliver
92a7a73408 Merge branch 'master' into create-part 2021-08-10 08:14:44 +10:00
Oliver Walters
d442206c12 change default user settings values 2021-08-09 23:53:18 +10:00
Oliver
3447d08d7b Action tiles to create new category and new part 2021-08-09 07:52:09 +10:00
Oliver
2dfe8921eb Fix URL getters 2021-08-09 07:51:46 +10:00
Oliver
293750dce7 Refactor company list views:
- Suppliers
- Manufacturers
- Customers
2021-08-03 01:38:58 +10:00
Oliver
d47a8db289 More code cleanup 2021-08-02 21:53:57 +10:00
Oliver
d6a2a41ab2 Enable multi-line text editing for API forms
- User can edit part notes
- User can edit stock item notes
2021-07-28 16:19:42 +10:00
Oliver
8a114d345f Display "action" items with color 2021-07-26 23:18:52 +10:00
Oliver
bc713dfdcd API form for editing PartCategory
- Custom related field renderer function
- Grab related field data from the server
2021-07-26 21:56:29 +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
01e0dd5dce Report unhandled errors to sentry 2021-07-13 08:08:58 +10:00
Oliver
40613c9c36 .empty() -> []
Turns out .empty() creates an empty list which is fixed length!
2021-07-13 00:13:38 +10:00
Oliver
d3eec6a79e Many many changes for null-safety support 2021-07-09 23:56:38 +10:00
Oliver
04180a42c7 Null check for pagination controller 2021-07-09 19:44:11 +10:00
Oliver Walters
2a3e83509f Refactor of translation lookup! 2021-05-19 23:33:28 +10:00
Oliver Walters
34a6a43d35 Fixed (most) of the raw text instances 2021-05-19 23:08:44 +10:00
Oliver Walters
a6de7d619a Refactor search 2021-03-05 21:07:58 +11:00
Oliver Walters
fe2913529b Improves search filtering of part results 2021-03-04 23:18:21 +11:00
Oliver Walters
ce4338f244 Cascading list display working 2021-03-04 22:50:41 +11:00
Oliver Walters
c1312e4e5d Refactoring of paginated views 2021-03-03 23:58:59 +11:00
Oliver Walters
991a7a4388 PaginatedPartList is now filterable in a more "generic" manner 2021-03-01 13:31:41 +11:00
Oliver Walters
d9a92216d2 Stock display now uses infinite scroll 2021-03-01 13:17:57 +11:00
Oliver Walters
64e544c043 PartList display now utilizes infinite scrolling 2021-03-01 12:48:19 +11:00
Oliver Walters
096c4e86dc Hide actions if user does not have correct permissions 2021-02-27 22:27:18 +11:00
Oliver Walters
33483eb9e1 Fix null ptr errors 2021-02-16 23:24:10 +11:00
Oliver Walters
80247f84c1 migrate showFormDialog to OneContext 2021-02-15 20:54:15 +11:00