InvenTree/InvenTree/label
Lukas e4d2e2f96b
PUI Template editor (#6541)
* Added first POC for label editor

* Added preview item selection

* Split code

* Fix import

* Use liquid lang and added custom tooltips

* Auto load first item for preview and add BOM part assembly filter

* Make the save&reload action more obvious

* Make save optional and use server stored template

* Fix icons and inherit model url

* Add label/report extra fields to serializer and default templates

* Bump api version to v176

* Remove generic and pass template to editor

* Added error overlay

* Moved default tempaltes in default folder

* Only show detail drawer back button if necessary

* Rename action dropdown disabled to hidden and add loading disabled to template editor

* Fix types

* Add icons to editor/preview tabs

* Add draggable split pane and make editors use full height

* Add SplitButton component

* add code editor tag description

* fix related model field if empty string

* remove debug console.log

* move code editor/pdf preview into their own folder

* Update api_version.py

* add support for multiple editors

* fix template editor error handleing while loading/saving code

* add documentation for the template editor
2024-03-05 07:58:12 +11:00
..
migrations Label plugin refactor (#5251) 2023-07-17 21:39:53 +10:00
templates/label Label sheet printer (#5883) 2023-11-09 09:00:23 +11:00
__init__.py Add "label" app 2020-08-16 09:28:12 +10:00
admin.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
api.py Machine integration (#4824) 2024-02-14 14:13:47 +00:00
apps.py Refactor label/report template copying (#6582) 2024-02-28 09:25:01 +11:00
models.py Refactor label/report template copying (#6582) 2024-02-28 09:25:01 +11:00
serializers.py PUI Template editor (#6541) 2024-03-05 07:58:12 +11:00
tasks.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
test_api.py Add tests for report API (#6214) 2024-01-17 06:55:55 +11:00
tests.py Refactor label/report template copying (#6582) 2024-02-28 09:25:01 +11:00