2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

73 Commits

Author SHA1 Message Date
Oliver
2964950b26
Home screen (#559)
* Use grid view for home screen

* Update release notes

* Prune dead code
2024-12-05 17:10:56 +11:00
Oliver
9c12a83176
Specify app bar color (#558) 2024-12-05 14:55:10 +11:00
Oliver
c9cad2f89f
Change from fontawesome to tabler icons (#516)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* Change from fontawesome to tabler icons

- Consistent with the frontend

* Cleanup conflicts

* Use double quotes

* remove unused import

* Update release notes

* Migrate some google icons to tabler icons

* Icon update

* Properly support display of custom icons

* Fix lookup
2024-08-08 19:44:44 +10:00
Oliver
bdd5470e68
Sales order support (#438)
* Add new models for SalesOrder

- Create generic Order and OrderLine models with common functionality

* Refactor

- Move some widgets around
- Cleanup directory structure

* Add link to home screen and nav drawer

* Add SalesOrder list widget

* Linting fixes

* Fix string

* Refactor PurchaseOrderDetailWidget

* Tweaks to existing code

* linting

* Fixes for drawer widget

* Add "detail" page for SalesOrder

* Add more tiles to SalesOrder detail

* Allow editing of salesorder

* add list filters for sales orders

* Display list of line items

* Customer updates

- Display customer icon on home screen
- Fetch sales orders for customer detail page

* Cleanup company detail view

* Create new sales order from list

* Stricter typing for formFields method

* Create new PurchaseOrder and SalesOrder from company deatil

* Status code updates

- Add function for name comparison
- Remove hard-coded values

* Update view permission checks for home widget

* Add ability to manually add SalesOrderLineItem

* Add nice progress bar widgets

* Display detail view for sales order line item

* edit SalesOrderLineItem

* Fix unused import

* Hide "shipped items" tab

- Will be added in a future update
2023-11-12 23:13:22 +11:00
Oliver
76b6191a67
Token auth (#434)
* Embed device platform information into token request

* Remove username and password from userProfile

* Display icon to show if profile has associated user token

* Remove username / password from login settings screen

* Refactor login procedure around token auth

* Refactoring

* Add profile login screen

- Username / password values are not stored
- Just to fetch api token

* Login with basic auth

* Pass profile to API when connecting

* Remove _BASE_URL accessor

- Fixes URL caching bug

* Add more context to login screen

* Add helper functions for unit tests

- Change default port to 8000 (makes testing easier with local inventree instance)

* api.dart handles basic auth now

* fix api_test.dart

* Further test improvements

* linting fixes

* Provide feedback when login fails

* More linting

* Record user details on login, and display in "about" widget

* Fix string lookup

* Add extra debug

* Fix auth values

* Fix user profile test
2023-10-23 01:29:16 +11:00
Oliver
0365557475
Tweaks for home page widget (#389) 2023-07-02 20:24:07 +10:00
Oliver
925966c627
Barcode refactor (#381)
* Simplify barcode scanning interface

* Use consistent colors

* Fix notches

* Remove old comment
2023-06-24 21:06:08 +10:00
Oliver
347692bf70
Add transparent background image (#323)
- Fixes display of background image in dark mode
2023-04-19 20:54:52 +10:00
Oliver
612db9f194
Improvements for dark mode (#322)
* Action colors are now determined based on theme

* Fix unused import

* Update some more colors based on theme

* Updated release notes

* Better color choice

* Update for home screen

* Updates for app drawer

* remove unused import
2023-04-18 23:07:24 +10:00
Oliver
946abb60a0
Update notifications periodically (#311)
- Call periodically from API class
2023-04-11 21:25:39 +10:00
Oliver
a8f87e2f5a
UX Overhaul (#300)
* Add "global actions" to title bar

* Implement actions

* Add "speed dial" action buttons

* tweak global action icons

* Refactor actions for "stock item" display

* Refactor "part" detail

* part category

* SupplierPart

* More updates

* Add BottomAppBar

* Add a global bottom app bar

* Move "edit" buttons back to the app bar

* tweaks

* Updates to drawer navigation menu

* home screen improvements

* text tweaks

* Fix appBarTitle for notifications widget

* Update "tabs" for category display

* Fix for attachment widget

* Update tabs for purchaseorder view

* Update part display

* Cleanup

* Add "BOM" tab to part detail widget

* Paginated list search cleanup

* Update release notes

* Update old function

* linting

* linting

* Tweaks to bottomappbar

- Increase icon size slightly
- Adjust "actions" icon
2023-04-08 23:59:11 +10:00
Gustaf Järgren
6d4973deb8
Updated dependencies (#255)
* Bump android compile and target version, also flutter dependencies and resolve issues

* Remove deprecated splashscreen and added support for new Android 12 version.

* Updated workflow action versions and flutter sdk

* Resolved linting issues

* Resolved test binding issues
2023-02-11 00:24:06 +11:00
Oliver
15bf109296
Supplier part support (#253)
* Bump version and release noes

* Add barebone list and detail widgets for the SupplierPart model

* Launch into SupplierPartList from CompanyDetail

* Update StockDetail widget

* Fixes for SupplierPart model

* Add images to supplier part list

* Add search functionality to SupplierPart list

* Added details to SupplierPartDetail widget

* Link through to supplier company

* Add some more details

* Adds ability to edit SupplierPart information

* Navigate to supplier part list from part detail page

* Display supplier part information on stock item detail page

* Add barcode scan response for SupplierPart

* Refactor barcode scanning code

* Navigate to supplier part detail from stock item page

* Support custom barcode for SupplierPart via app

* Cleanup comment

* linting

* Fix override

* Enable display of supplier list on home screen

* Code cleanup

* Update release noets
2023-02-04 09:05:36 +11:00
Oliver
c5162c1947
Check if widget is mounted before calling setstate() (#193) 2022-07-29 20:01:06 +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
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 Walters
2e7abf8a1e Allow "trailing" widget to be displayed on home screen entries 2022-07-06 21:21:19 +10:00
Oliver Walters
b98f044204 More checks 2022-05-22 09:56:22 +10:00
Oliver Walters
b18dd92079 Fixes after preferences file refactor 2022-05-21 19:44:47 +10:00
Oliver Walters
b4e8d47d9a Prevent notification requests if server is not connected 2022-05-10 23:49:03 +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
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
Oliver Walters
6533cc4af6 Display badge showing current number of unread notifications 2022-05-04 11:41:53 +10:00
Oliver Walters
b8857f2dbe Adds skeleton widget for displayign notifications 2022-05-04 10:50:51 +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
3fa68ec6da The "search" window is now a tab on the main screen 2022-05-04 10:27:04 +10:00
Oliver Walters
102b4e021b Change home screen from "grid" display to "list" display 2022-05-04 10:02:50 +10:00
Oliver Walters
cbd6cade49 Fix alignment of text on home screen icons 2022-04-22 00:53:38 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver
1cb10c5fe7 remove debug message 2022-01-05 15:06:06 +11:00
Oliver
2788ed5bd7 User configurable home screen actions 2022-01-05 14:00:38 +11:00
Oliver
d296d589d9 Update barcode / qrcode icons 2022-01-05 12:08:47 +11:00
Oliver
21271d71c1 Better handling of date inputs within forms
- use datetime_picker_formfield
- Allow null / empty dates
2021-10-05 21:19:35 +11:00
Oliver
4a238d0530 Home page improvements
- Add button for "starred" parts
- Remove ganky line on buttons
2021-10-04 08:37:04 +11:00
Oliver
a5b52ea1cc Linting 2021-10-04 08:31:39 +11:00
Oliver
1ca3732a33 Work on refactoring search page
- Implement generic "search" count preview
- Nice and speedy!
2021-10-03 23:37:15 +11:00
Oliver
488df25758 Display link to purchase orders on the "company" page 2021-10-03 22:26:45 +11:00
Oliver
86584b366f Building context menu for purchase order line item 2021-10-02 11:53:45 +10:00
Oliver
c868e36eb9 Refactor "home" screen
- Add serttings button
- Simplify server connection display
2021-09-28 23:06:35 +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
037564c6a3 Adds workflow for code linting 2021-09-28 12:19:19 +10:00
Oliver
c1a1ef0ad2 Cleanup home page widget 2021-09-28 12:05:44 +10:00
Oliver
06631803c8 Display list of outstanding purchase orders 2021-09-28 00:00:08 +10:00
Oliver
dcfd9d8dd4 Add "customers" button to home screen 2021-09-27 23:24:06 +10:00
Oliver
d28392bae3 Simplify grid layout 2021-09-27 23:15:33 +10:00
Oliver
7d80b4f151 Use GridView.extent instead 2021-09-27 22:43:18 +10:00