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

62 Commits

Author SHA1 Message Date
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
58a52c9d6d Custom empty builder for dropdown search 2022-04-02 11:37:58 +11:00
Oliver Walters
ad97fb0f92 Fixes for static analysis 2022-03-29 20:43:27 +11:00
Oliver Walters
52d42c85c8 More refactorign 2022-03-29 20:08:05 +11:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
02a9bbe3c6 Enhance existing api_forms functionality
- Allow form to be created without an actual API endpoint
- Useful for creating client-side forms without any server interaction
2022-03-25 23:36:56 +11:00
Oliver
25701c0c1c Bug fix for stock item creation form 2022-01-05 14:58:04 +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
69c15797e8 Linting fixes 2021-10-03 12:12:16 +11:00
Oliver
4f8794e652 Refactor barcode scann function
- Provide a custom callback to be executed when the barcode is scanned
2021-10-03 12:04:01 +11:00
Oliver
f75aa4ca0e Update form field with scanned barcode 2021-10-03 11:41:16 +11:00
Oliver
6288088a65 Adds "barcode" field handler for API forms 2021-10-03 11:36:41 +11:00
Oliver
9eaf4a09da Linting fixes 2021-10-03 01:36:46 +10:00
Oliver
6ff99b15c3 Clear errors once fixed 2021-10-03 01:25:45 +10:00
Oliver
e9fa0f5eb4 Remove some debug messages 2021-10-03 01:21:27 +10:00
Oliver
2886f7c930 Display non-field errors as returned from the server 2021-10-03 01:20:37 +10:00
Oliver
b7f9f1c55f Handle form posting with complex "layered" data
- Handle data rendering
- Handle returned errors
2021-10-03 00:40:26 +10:00
Oliver
80b203ce7b Reimplement instance data 2021-10-02 23:47:33 +10:00
Oliver
ce31d968b3 Refactoring for APIFormField class
- Class now stores field definitions as returned from the server
- Complex lookup for multi-level form structures
- Improved / increased error handling
2021-10-02 23:34:37 +10:00
Oliver
529510bc5c Display HTTP error codes on form errors 2021-10-02 22:33:59 +10:00
Oliver
2f8d02b0be API_Form: Allow customizable icon
- Also fixes for API search
2021-10-02 22:31:28 +10:00
Oliver
961a35d410 bug fix for "owner" rendering 2021-09-29 00:30:09 +10:00
Oliver
cbb668687e Set default location for part
- Used as "default" when creating new StockItem for that part
2021-09-29 00:24:21 +10:00
Oliver
94cca19ccc Bug fix for API forms 2021-09-29 00:10:07 +10:00
Oliver
a9b96f22a3 Fixes for purchase order editing 2021-09-28 23:53:26 +10: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
68d542cb6b Add API form support for date fields 2021-09-28 01:14:58 +10:00
Oliver
2720280ada Remove floating action button 2021-08-16 20:40:29 +10:00
Oliver
8bca501fc4 Allow file fields for api forms 2021-08-16 20:22:05 +10:00
Oliver
1896b71533 Improve form spacing 2021-08-16 11:15:59 +10:00
Oliver
4243876111 Create new stock item from part detail view 2021-08-15 18:22:11 +10:00
Oliver
a4c96694bb Refactorin' 2021-08-15 15:34:40 +10:00
Oliver
3e3ab680f6 Add more fields for stock item creation 2021-08-15 14:53:13 +10:00
Oliver
3fb6b38930 Create new stock item 2021-08-15 14:44:40 +10:00
Oliver
a09d0b6887 rendering support for "part" foreign key 2021-08-15 14:32:46 +10:00
Oliver
81602512a5 Display error message when form submission returns error 2021-08-15 13:44:27 +10:00
Oliver
6d0282519d API forms return the JSON data to the onSuccess function 2021-08-10 14:33:08 +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
08eb6fc4b1 Remove typeahead library 2021-07-26 23:04:43 +10:00
Oliver
978cefd6bf edit stock item
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver
e8cb002e3c Edit StockLocation 2021-07-26 22:03:37 +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
377da3c2fb Handle "filters" for related fields 2021-07-26 21:02:24 +10:00
Oliver
2bdadc2140 Cleanup 2021-07-26 17:28:16 +10:00
Oliver
d07b704014 Looks like dropdown_search is the way to go! 2021-07-26 17:21:17 +10:00
Oliver
ca4297ae6d Working on implementation of a related field 2021-07-25 23:26:27 +10:00