InvenTree/src/frontend
Oliver 885ec81a08
Import update (#10188)
* Add field to "update" existing records

* Ensure the ID is first

* Prevent editing of "ID" field

* Extract db instance

* Bump API version

* Prevent edit of "id" field

* Refactoring

* Enhanced playwright tests for data importing

* Update docs

* Update src/backend/InvenTree/importer/models.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/frontend/src/forms/ImporterForms.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix silly AI mistake

* Fix for table pagination

- Ensure page does not exceed available records

* Bug fix for playwright test

* Add end-to-end API testing

* Fix unit tests

* Adjust table page logic

* Ensure sensible page size

* Simplify playwright test

* Simplify test again

* Tweak unit test

- Importing has invalidated the BOM?

* Adjust playwright tests

* Further playwright fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-20 15:34:49 +10:00
..
lib Build order consume (#8191) 2025-08-19 17:03:19 +10: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 Import update (#10188) 2025-08-20 15:34:49 +10:00
tests Import update (#10188) 2025-08-20 15:34:49 +10: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] Library updates (#10070) 2025-07-25 01:23:34 +10: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 [P_UI] Added django settings for p_ui (#5343) 2023-08-10 20:57:33 +10:00
package.json [plugin] Library updates (#10070) 2025-07-25 01:23:34 +10:00
playwright.config.ts Import update (#10188) 2025-08-20 15:34:49 +10: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 Import fix 2 (#9992) 2025-07-09 23:32:00 +10:00
vite.lib.config.ts [plugin] Library updates (#10070) 2025-07-25 01:23:34 +10:00
yarn.lock [plugin] Library updates (#10070) 2025-07-25 01:23:34 +10: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.