InvenTree/src/frontend
github-actions[bot] e749ece58e
fix: low-privilege user token creation (#11492) (#11521)
* [bug] Users cannot create their own API tokens
Fixes #11486

* fix detection of metadata

* make easier to read

* add handler for IsAuthenticated

* use correct method

* fix style see #11487

* add frontend test

* make test more reliable?

(cherry picked from commit fda3204e33)

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-03-14 12:35:28 +11:00
..
lib feat(frontend): Add better frontend tracing (#11244) 2026-02-12 15:53:58 +11:00
playwright [bug] Playwright fixes (#9933) 2025-07-02 22:12:17 +10:00
public Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
src fix: low-privilege user token creation (#11492) (#11521) 2026-03-14 12:35:28 +11:00
tests fix: low-privilege user token creation (#11492) (#11521) 2026-03-14 12:35:28 +11:00
.babelrc fix(backend): Bump maybe vulnerable esbuild (#9155) 2025-03-26 09:30:59 +11:00
.gitignore [PUI] Add coverage testing (#6881) 2024-04-03 19:26:38 +11:00
.linguirc [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
.npmignore [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
CHANGELOG.md Plugin stock forms (#10584) 2025-10-15 09:08:38 +11:00
LICENSE [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
README.md [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
index.html chore: bump react to current major versions (#8913) 2025-05-10 22:38:41 +01:00
netlify.toml Specify python version in netlify.toml (#10859) 2025-11-19 13:55:34 +11:00
package.json [security] Bump react deps (#10991) 2025-12-10 23:02:06 +11:00
playwright.config.ts [bug] Fix custom logo and splash (#11391) (#11399) 2026-02-22 22:46:25 +11:00
tsconfig.json [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
tsconfig.lib.json [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
tsconfig.node.json [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
version-info.ts [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
vite-env.d.ts [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
vite.config.ts fix medium sec issues in frontend dependencies (#10686) 2025-10-28 07:09:51 +11:00
vite.lib.config.ts [plugin] Library updates (#10070) 2025-07-25 01:23:34 +10:00
yarn.lock bump react-router-dom (#11210) 2026-01-27 20:01:53 +11:00

README.md

inventree-ui

User Interface (UI) elements for the InvenTree web interface.

Description

This package provides a public interface allowing plugins to hook into core UI functionality. In particular, it defines a set of interface types provided by the InvenTree user interface, to be used by a custom plugin to implement some custom UI feature.

This library is intended to be used for creating plugins - any other use is outside of its scope and is not supported.

Plugin Creator

This library is intended to be used with the InvenTree Plugin Creator. Read the documentation for the plugin creation tool for more information.

The plugin creation tool uses the types provided in this package at build time, but it is intended that most of the major packages are externalized - as these are provided as global objects by the core InvenTree UI code.

Installation

This should be installed as a part of the plugin creator tool. If you need to install it manually, e.g. using npm:

npm i @inventreedb/ui

Versioning

Each change to the plugin API will be described in the CHANGELOG file.