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
ed2523c3c5
Linting fixes
2022-07-06 21:29:26 +10:00
Oliver Walters
847fda7652
Enable ordering for purchase order list
2022-07-06 21:24:26 +10:00
Oliver Walters
2e7abf8a1e
Allow "trailing" widget to be displayed on home screen entries
2022-07-06 21:21:19 +10:00
Oliver Walters
bb73fb7400
Cleanup
2022-07-06 21:17:52 +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
6192932322
Add ordering options for "Part" list
2022-07-06 20:59:38 +10:00
Oliver Walters
6d247f426c
Further refactoring
2022-07-06 20:54:17 +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
6c1099356f
Enable basic ordering for BOM list
2022-07-06 09:49:40 +10:00
Oliver Walters
c878f37ec2
Implementing a generic "ordering" option configuration for paginated list widget
2022-07-05 21:42:55 +10:00
Oliver Walters
78a5a9090d
Adds new custom widget for displaying Bill of Materials data
2022-07-05 19:16:06 +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
e35c4df846
Allows displays of Bill of Materials for assembled parts
2022-07-05 16:59:32 +10:00
Oliver Walters
0d06d07e0f
Adds ability to display "links" uploaded to attachment fields
2022-06-20 15:32:36 +10:00
Oliver Walters
4a695fa4ef
String fixes
2022-06-06 21:15:58 +10:00
Oliver Walters
2a685a743f
Wrap search queries in permission checks
2022-06-04 09:31:34 +10:00
Oliver Walters
0237e9c819
Adds attachment support for purchase orders
2022-06-04 00:28:39 +10:00
Oliver Walters
ada64f3971
Adds attachment support for the StockItem model
2022-06-04 00:23:10 +10:00
Oliver Walters
fcfda4ebff
Display number of attachments on part view
2022-06-04 00:15:34 +10:00
Oliver Walters
10783cd1c4
Refactor PartAttachmentWidget
...
- Now displays generic attachments
- Augment the InvenTreeAttachment class to "know" about its model reference
2022-06-04 00:12:44 +10:00
Oliver Walters
dbc024491c
Pass URL through to the showServeError method
...
- Can decide, based on the URL, if we want to show an error
2022-06-03 20:23:59 +10:00
Oliver Walters
aa4317a2fe
Add support for "quarantined" stock item status
2022-06-03 19:51:08 +10:00
Oliver Walters
1b901b39df
Remove old stuffs
2022-05-22 16:19:10 +10:00
Oliver Walters
850c2b8c12
Remove support for legacy stock transfer API code
...
- Relies on modern API now
- Checks for error messages against hidden fields in stock items
2022-05-22 15:59:19 +10:00
Oliver Walters
b98f044204
More checks
2022-05-22 09:56:22 +10:00
Oliver Walters
f13b04d029
Refactor audio file player
...
- Do not play if there is no context available (e.g. unit testing)
2022-05-22 08:23:20 +10:00
Oliver Walters
e424a3cf7b
Start of unit tests for the actual API code
2022-05-22 00:04:13 +10:00
Oliver Walters
b18dd92079
Fixes after preferences file refactor
2022-05-21 19:44:47 +10:00
Oliver Walters
11157b7c77
Fix search counter
2022-05-19 21:11:46 +10:00
Oliver Walters
941ee5e172
Prevent "old" search results from mucking up the displayed data
...
- Only accept results if the search term has not changed
2022-05-19 21:06:20 +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
c90a849a5a
Add extra context information to sentry error reports
...
- Should help to track down bugs where stacktrace is missing information
- Adds some more error catching, too
2022-05-12 22:46:12 +10:00
Oliver Walters
b4e8d47d9a
Prevent notification requests if server is not connected
2022-05-10 23:49:03 +10:00
Oliver Walters
7c36659fe9
Remove "submit feedback" widget
...
- Now open source on github!
2022-05-10 18:15:53 +10:00
Oliver Walters
4bd800d273
linting fix
2022-05-10 17:07:53 +10:00
Oliver Walters
969875ad49
Hide manufacturer / supplier / customer screens
...
- For now, as they don't do anything useful
- Will add back in once features are expanded
2022-05-10 08:42:08 +10:00
Oliver Walters
9f6269375f
linting
2022-05-10 01:19:38 +10:00
Oliver Walters
366c732668
Add support for locating a stock item
2022-05-10 00:30:28 +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
cc3f7e7f7c
Merge pull request #123 from inventree/server-settings
...
Server settings
2022-05-09 22:20:09 +10:00
Oliver Walters
059b69ce99
Adds code to requeest global setting from server
...
- Settings are individually cached for 5 minutes
- For now, use it for the purchase order reference prefix
2022-05-09 21:41:34 +10:00
Oliver Walters
347d2175be
Display a "launch" screen if server is not connected
2022-05-09 20:37:57 +10:00
Oliver Walters
407250c336
Further linting fixes
2022-05-04 12:17:55 +10:00
Oliver Walters
7ef7096e26
Updates to search controller
2022-05-04 11:53:11 +10:00