Commit Graph
89 Commits
Author SHA1 Message Date
Oliver Walters 5e3793b3ba Moar features for "StockItem" class 2020-04-06 12:56:40 +10:00
Oliver Walters 59d2b9cf1a Configurable GET and LIST filters per model type 2020-04-06 12:35:59 +10:00
Oliver Walters fb1fb799d2 Better layout mechanic for Part display
- Now works well even if it overflows the available screen space
2020-04-06 12:09:27 +10:00
Oliver Walters 5652926a38 Close expander items if there are no children! 2020-04-05 23:16:09 +10:00
OliverandGitHub b4c540433f Merge pull request #17 from SchrodingersGat/part-page
UI Updates
2020-04-05 23:15:25 +10:00
Oliver Walters 4c8bbd46e7 StockLocation display now improved
- Expandable list of sublocations
- Expandable list of stockitems
- Traverse upward (to higher locations)
- Fix rendering of unknown part thumbnails
2020-04-05 23:10:36 +10:00
Oliver Walters 04ad279c58 Search icon displays unsupported dialog 2020-04-05 22:31:43 +10:00
Oliver Walters 0cc210cf2b Add more buttons to the main screen
- Currently just display an "unsupported" dialog
2020-04-05 22:19:40 +10:00
Oliver Walters 15d5bf3fb5 Navigate "up" the category path to the parent category 2020-04-05 22:06:56 +10:00
Oliver Walters 683f1e8efd Link to parent part category 2020-04-05 22:03:01 +10:00
Oliver Walters 0f2c88e630 Fix listview-within-listview scrolling
https://stackoverflow.com/questions/45270900/child-listview-within-listview-parent#45274055
2020-04-05 21:49:00 +10:00
Oliver Walters f32c9f024e Display subcategory part count 2020-04-05 21:41:13 +10:00
Oliver Walters 57ab6546ab Expandable panel for subcategory and part list for category view 2020-04-05 21:35:11 +10:00
Oliver Walters 1f88f1d8ab Spelling fix 2020-04-05 19:21:54 +10:00
Oliver Walters 65d955bcc6 Use the new API notation for external URL ('link') 2020-04-05 19:19:44 +10:00
Oliver Walters fbd52e1414 More display items for Part view:
- BOM count
- Used in count
- Notes
2020-04-05 15:50:13 +10:00
Oliver Walters d1fba27f3a Part display
Much improve - so wow!
2020-04-05 15:00:58 +10:00
Oliver Walters f84ba65f6c Some more value getters for Part model 2020-04-05 15:00:27 +10:00
Oliver Walters 06446998b2 Improve API image fetcher 2020-04-05 15:00:05 +10:00
OliverandGitHub e7bf236486 Merge pull request #15 from SchrodingersGat/settings-fix
Load preferences before opening server settings dialog
2020-04-05 13:20:49 +10:00
Oliver Walters cb751a7432 Load preferences before opening server settings dialog
- This ensures the settings are loaded and ready to go

(cherry picked from commit cd72d474a626232d10a7f7ff08419a10038c2c08)
2020-04-05 13:20:12 +10:00
OliverandGitHub 804ed72dc6 Merge pull request #13 from SchrodingersGat/icons
Add FontAwesome icons
2020-04-05 13:07:14 +10:00
Oliver Walters 2cef9e8190 Add server status icon 2020-04-05 13:06:59 +10:00
Oliver Walters d38ff5ad7f Add FontAwesome icons
- Fill out icons on main screen
- Fill out icons in app drawer
2020-04-05 12:36:38 +10:00
OliverandGitHub 317a6f737e Merge pull request #12 from SchrodingersGat/submit-issue
Add "submit a bug" tile
2020-04-05 12:27:05 +10:00
Oliver Walters e9f12c1e9f Add "submit a bug" tile 2020-04-05 12:26:38 +10:00
OliverandGitHub 51ac5b0bfb Merge pull request #2 from SchrodingersGat/initial
Initial
2020-04-05 01:13:10 +11:00
Oliver Walters 1d1bdb1a4b Display part image in stock list 2020-04-05 01:10:31 +11:00
Oliver Walters c8f09ed62e Display stock list using ListTiles 2020-04-05 00:46:33 +11:00
Oliver Walters 8450d0cb22 Record InvenTree server version in the API 2020-04-05 00:38:47 +11:00
Oliver Walters cd4731833d Driving the refactor tractor
- InvenTreeAPI() object now has a method to return a cache-backed image from the server
2020-04-05 00:34:08 +11:00
Oliver Walters 528215455d Display part thumbnail in part list 2020-04-05 00:27:54 +11:00
Oliver Walters 44a0c3e18d Improve display of part category / part 2020-04-04 21:16:56 +11:00
Oliver Walters 29c28aad91 Improve server status message 2020-04-04 15:42:47 +11:00
Oliver Walters d536174fb9 API url management improvements 2020-04-04 14:57:27 +11:00
Oliver Walters 3908fc669b Remove generated file from tracking 2020-04-04 14:55:01 +11:00
Oliver Walters 4075f4485a Remove file which should not be tracked 2020-04-04 14:54:22 +11:00
Oliver Walters df5a187a5e API cleanup
- Better URL accessors
2020-04-04 14:19:46 +11:00
Oliver Walters a18a0222ce Add connection status display to home screen
- Also add some buttons which replicate the functionality available in the app drawer
2020-04-04 14:01:44 +11:00
Oliver Walters 055cc37e68 API improvements
- Simple function connect() which loads saves settings from preferences file
2020-04-04 13:43:29 +11:00
Oliver Walters 6d3db243c3 Move Drawer to separate file
- Now consistent drawer is accessible across all views
2020-04-04 10:48:48 +11:00
Oliver Walters aa865eea1b Add "About" dialog 2020-04-03 23:03:45 +11:00
Oliver Walters d57e2033dc Further support for QR decoding
- StockItem
- Part
2020-04-03 22:47:03 +11:00
Oliver Walters 876aad5805 Scan QR code now working!
- Navigate to a StockLocation
2020-04-03 22:36:21 +11:00
Oliver Walters fca9ad2a50 "Home" button pops stack 2020-04-03 22:27:15 +11:00
Oliver Walters 49133a8e71 Add qr_utils barcode scanner 2020-04-03 15:31:36 +11:00
Oliver Walters 570e44a83a Remove drawer.dart 2020-04-03 14:50:46 +11:00
Oliver Walters 728597fcdc Allow model class to be filtered
- Each subclass should provide a custom filtering function
2020-04-03 14:27:39 +11:00
Oliver Walters ee7ab5308e server / username / password now saved to local preferences 2020-04-03 14:25:28 +11:00
Oliver Walters 2ec662fdef Remove the button counter 2020-04-03 12:24:46 +11:00
Oliver Walters 3a686b8b7f Display for StockItem
- Empty for now
2020-04-03 12:23:57 +11:00
Oliver Walters 7d060acc93 Add "location" display widget 2020-04-03 11:28:46 +11:00
Oliver Walters 718f89b339 Add display for part information
- Very sparse currently
2020-04-03 11:14:25 +11:00
Oliver Walters d3415e5ebe Simplify PartCategory display
- Pass an InvenTreePartCategory object
2020-04-03 11:00:38 +11:00
Oliver Walters 5d8126d6d1 Display parts in each subcategory 2020-04-03 10:43:43 +11:00
Oliver Walters 01faed03ee Add "Category display" view
- Select "parts" from the app drawer
- Allow traversal of sub-categories
2020-04-03 10:37:28 +11:00
Oliver Walters f9dddfe3a2 Simplify part filtering 2020-04-02 11:47:05 +11:00
Oliver Walters 2797bc1912 Request list of parts from the server, and display the results
- Also allow custom filtering of the returned results!
2020-04-02 10:30:27 +11:00
Oliver Walters 5325a028a0 Update README.md 2020-04-01 16:25:46 +11:00
Oliver Walters 039b09564e Add class for representing SupplierPart model 2020-04-01 16:24:02 +11:00
Oliver Walters 784fae276b Add endpoint for Company model 2020-04-01 10:28:00 +11:00
Oliver Walters 0bf02dad64 Add endpoint for StockLocation model 2020-04-01 10:04:55 +11:00
Oliver Walters df0b3c796c Add endpoint for StockItem model 2020-04-01 10:02:01 +11:00
Oliver Walters e9b0cc3128 rename InvenTreeObject to InvenTreeModel 2020-04-01 09:48:53 +11:00
Oliver Walters cc4f5091c7 Fix:
methods / data with _ can't be seen from separate library :|
2020-04-01 00:55:04 +11:00
Oliver Walters 3c541a9656 Split 'part' model into new file 2020-04-01 00:52:20 +11:00
Oliver Walters 25a16b5a28 Rename to 'model' 2020-04-01 00:06:51 +11:00
Oliver Walters bce0d959c5 Move model representation code to sub-directory 2020-04-01 00:04:55 +11:00
Oliver Walters c05c07dd0a Class for reading Partcategory data 2020-03-31 23:52:38 +11:00
Oliver Walters 120e481e27 cleanup objects 2020-03-31 23:45:56 +11:00
Oliver Walters c06dd9d999 Returning object list now works correctly (and asynchronously!) 2020-03-31 23:38:24 +11:00
Oliver Walters 0ee1dedd45 Connection now works properly! yay!
Nested asyncs are hard ya'll
2020-03-31 23:35:23 +11:00
Oliver Walters 83fc4b407d Work on improving async calls
- Still don't fully grok them
2020-03-31 23:07:31 +11:00
Oliver Walters e75297053b Cleanup of list creation 2020-03-31 23:03:05 +11:00
Oliver Walters ef09b024e6 Add InvenTreeObject class for getting API data 2020-03-31 00:05:54 +11:00
Oliver Walters 3da5adca28 GET request now can be provided with query parameters, and works OK 2020-03-29 13:05:11 +11:00
Oliver Walters 4da4731fb2 API improvements
- Catch more errors
- Use username/password data if token has not been received
2020-03-29 12:44:36 +11:00
Oliver Walters c64d4c3ccb Require "preferences" plugin 2020-03-29 11:15:12 +11:00
Oliver Walters b71c665453 Better use of async functions for API
- Use local_preferences for storing data
2019-06-26 00:07:18 +10:00
Oliver Walters 6e807cbed1 Make the API a singleton class
Also add some simple URL validation
2019-06-25 22:38:11 +10:00
Oliver Walters 6b58ccb844 Load / save login settings
- Using simple shared_preferences package for now
2019-06-25 22:14:31 +10:00
Oliver Walters e723a70d15 Add a 'login setings' form 2019-06-25 21:48:37 +10:00
Oliver Walters 75306a9ca5 i18n 2019-06-25 15:06:12 +10:00
Oliver Walters 3258903745 Add API class
- Secure token based on username/password
2019-06-25 00:40:03 +10:00
Oliver Walters f747692277 Add an 'app drawer' 2019-06-24 22:48:48 +10:00
Oliver Walters f174d99844 Change app title block 2019-06-24 22:48:31 +10:00
Oliver Walters 56d7f6389c Initial project commit
Generated icon using flutter_launcher_icons plugin
2019-06-24 00:33:22 +10:00
OliverandGitHub 74d5974236 Update README.md 2019-05-07 21:23:04 +10:00
OliverandGitHub 8dc0f6fc61 Initial commit 2019-05-07 14:57:02 +10:00