From 513db2a6cc7576b0cc2e72ee004f9e2f9442da37 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 8 May 2022 08:07:37 +1000 Subject: [PATCH] Adds new file for panel plugin mixin --- docs/extend/plugins.md | 1 + docs/extend/plugins/panel.md | 7 +++++++ docs/releases/0.7.0.md | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 docs/extend/plugins/panel.md diff --git a/docs/extend/plugins.md b/docs/extend/plugins.md index 6d87df8..7484da3 100644 --- a/docs/extend/plugins.md +++ b/docs/extend/plugins.md @@ -65,6 +65,7 @@ Supported mixin classes are: - [ScheduleMixin](./plugins/schedule.md) - [SettingsMixin](./plugins/settings.md) - [UrlsMixin](./plugins/urls.md) +- [PanelMixin](./plugins/panel.md) ## Installing a Plugin diff --git a/docs/extend/plugins/panel.md b/docs/extend/plugins/panel.md new file mode 100644 index 0000000..462aa61 --- /dev/null +++ b/docs/extend/plugins/panel.md @@ -0,0 +1,7 @@ +--- +title: Panel Mixin +--- + +## PanelMixin + +The `PanelMixin` enables plugins to render custom content to "panels" on individual pages in the web interface. \ No newline at end of file diff --git a/docs/releases/0.7.0.md b/docs/releases/0.7.0.md index 6e7d451..65644f6 100644 --- a/docs/releases/0.7.0.md +++ b/docs/releases/0.7.0.md @@ -75,6 +75,10 @@ Multiple improvements have been made to the docker installation process, most no [#2770](https://github.com/inventree/InvenTree/pull/2770) implements a major overhaul of the "order parts" wizard, with the form now making use of the API rather than being rendered on the server. +### Panel Plugins + +[#2937](https://github.com/inventree/InvenTree/pull/2937) adds a new type of plugin mixin, which allows rendering of custom "panels" on certain pages. This is a powerful new plugin feature which allows custom UI elements to be generated with ease. Read more about this new mixin [here](../extend/plugins/panel.md). + ## Bug Fixes | Pull Request | Description |