2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-05 06:32:55 +00:00
Files
InvenTree/src/frontend
Oliver 6111aace1f [UI] Table field refactor (#12274)
* Use callback funcs

* Don't use idx to identify rows

* Add debug function for finding why a component re-rendered

* Do not pass 'control' through to each row

* Prevent unnecessary re-rendering of table rows

* Adjust order of operations for hooks

* Keep props hidden

* Use lightweight NumberInput

* Use NumberInput elsewhere

* Add comment

* use rowId instead of idx

* Generic row memos

* Compare errors too

* Fix for BomItemSubstituteRow

* Adjust more forms

* memoize quantity

* Memoize build lines

* Fix re-rendering issues for build allocation

* Fix for useConsumeBuildLinesForm

* Fix for transfer order table

* Fix useReceiveLineItems

* Remove memoized pattern

* Fix row keys

* Cleanup

* Create useStockItems hook for memoizing items

* Refactoring

* More refactoring

* Remove obj reference

- preventing shallow comparison from working

* Add error message to useWhyDidYouUpdate

* Cleanup

* Cleanup dead code

* Adjust modal width

* Change attr name

* Remove autoFillFilters prop

* Adjustments for serialized stock

* Fix typing

* Bump frontend version

* Adjustments for playwright testing

* Fix ref issue

* Remove debug entry

* Update CHANGELOG.md

* Reintroduce index to table header

* Refactor common component
2026-06-30 18:10:40 +10:00
..
2026-06-30 18:10:40 +10:00
2026-06-30 18:10:40 +10:00
2026-06-30 18:10:40 +10:00
2026-05-09 12:44:05 +10:00
2025-04-16 00:30:34 +10:00
2025-04-16 00:30:34 +10:00
2025-04-16 00:30:34 +10:00
2025-04-16 00:30:34 +10:00
2025-04-16 00:30:34 +10:00
2025-04-16 00:30:34 +10:00
2026-06-30 00:44:25 +10:00
2026-06-25 16:06:02 +10:00

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.