InvenTree/docs/docs
Oliver 5e7e258289
[Plugin] Plugin context (#9439)
* Pass more stuff to window

* Expose form functions to plugin context

* Breaking: Render plugin component in context tree

- Required due to createRoot function
- Adds necessary context providers

* Fix context

* Provide MantineThemeContext

* Bundle mantine/core

* Hack for useNavigate within ApiForm

- Errors out if called within plugin context
- Workaround to catch the error

* Update build cmd

* Define config for building "Library" mode

* Update package.json

* Add basic index file

* Factor out ApiEndpoints

* factor out ModelType

* Factor out role enums

* Further refactoring

* More refactoring

* Cleanup

* Expose apiUrl function

* Add instance data to plugin context type def

* Tweaks for loading plugin components

- LanguageContext must be on the inside

* Tweak StylishText

* Externalize notifications system

* Update lingui config

* Add functions for checking plugin interface version

* Extract package version at build time

* Enhance version checking

* Revert variable name change

* Public package

* Add README.md

* adjust packge name

* Adjust name to include org

* Update project files

* Add basic changelog info

* Refactoring to expose URL functions

* Refactor navigation functions

* Update package and README

* Improve navigateToLink function

* Refactor stylish text

- Move into ./lib
- Do not require user state

* Revert changes

- StylishText throws error in plugin
- Low priority, can work out later

* expose function to refresh page index

* Provide RemoteComponent with a method to reload itself

* Bump version

* Cleanup tests

* Prevent duplicate --emptyOutDir arg

* Tweak playwright tests

* Expose role and permission enums

* Fix imports

* Updated docs

* Fix spelling, typos, etc

* Include more package version information

* Expose more version context

* Cleanup

* Probably don't need hooks

* Fix links

* Docs updates

* Fix links
2025-04-16 00:30:34 +10:00
..
api [Feature] Data export plugins (#9096) 2025-03-18 11:35:44 +11:00
app Sales order barcode allocate (#6072) 2023-12-14 11:13:50 +11:00
assets [UI] Reimplement calendar views (#8933) 2025-03-16 18:01:51 +11:00
barcodes Barcode scanning (#8732) 2024-12-28 20:38:53 +11:00
build [Feature] Data export plugins (#9096) 2025-03-18 11:35:44 +11:00
concepts Fix typo in docs (#9493) 2025-04-11 14:22:24 +10:00
develop [UI] Web Prefix (#9334) 2025-03-20 00:12:52 +11:00
extend [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
javascripts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
order [UI] Reimplement calendar views (#8933) 2025-03-16 18:01:51 +11:00
part chore(backend): bump devtools (#9088) 2025-02-18 18:57:48 +11:00
project Add docs for governance and security (#9360) 2025-03-25 10:57:46 +11:00
releases Remove CUI (#8384) 2024-12-17 12:30:41 +11:00
report Typed report context (#9431) 2025-04-03 07:45:37 +11:00
settings User Setting To Search Notes (#9393) 2025-04-04 09:22:39 +11:00
start refactor(frontend): seperate Alerts into own component (#9442) 2025-04-03 18:03:07 +11:00
stock [UI] Web Prefix (#9334) 2025-03-20 00:12:52 +11:00
stylesheets Render API docs (#6463) 2024-03-02 11:28:37 +11:00
webfonts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
__init__.py Fixes for docs building (#4659) 2023-04-22 23:35:25 +10:00
demo.md Invoke docs (#8373) 2024-10-27 10:51:51 +11:00
faq.md feat(backend): Improve error with missing manifest (#8957) 2025-01-27 19:52:05 +11:00
features.md Fix spelling of InvenTree in code base (#8561) 2024-11-26 08:29:47 +11:00
hooks.py [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
index.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
privacy.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
security.md fix list format (#9376) 2025-03-25 20:07:42 +11:00