Oliver
c931ab6815
[bug] Bulk edit fix ( #11945 )
...
* Prevent editing of items which do not point directly to the part
* Allow table to define which records can be selected
2026-05-15 00:24:22 +10:00
Matthias Mair
701a788a6e
feat(frontend): custom model render registration ( #11928 )
...
* refactor RenderInstance
* add custom mode renderer
* add optional custom_model api form arg
* switch to fallback mechanism
* remove warning
* fix imports
* adress sonarque rules
2026-05-14 13:18:52 +10:00
Oliver
3d2577b411
[UI] Refactor order table filters ( #11939 )
...
* Refactor build order filters
- Common set of filters for build order views
* Refactor PurchaseOrder filters
* Update company table
* Refactor SalesOrder filters
* Refactor common filters
* Refactor ReturnOrder table filters
2026-05-13 20:24:40 +10:00
Oliver
573c82f98d
Refactor part table filters ( #11938 )
...
- Expose extended filters to the parameteric table
2026-05-13 18:08:28 +10:00
Oliver
d0acbf1191
[UI] Adjust week start date ( #11934 )
...
* Adjust week start date
Co-authored-by: Copilot <copilot@github.com >
* Change to global setting
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-13 17:32:59 +10:00
Oliver
727ca62883
External order checks ( #11935 )
...
* Add new global settings
Co-authored-by: Copilot <copilot@github.com >
* Validation logic
Co-authored-by: Copilot <copilot@github.com >
* Remove one setting
- Already covered if build order requires validation
* Add unit test
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-13 15:16:34 +10:00
Matthias Mair
34a9f1e10c
feat(frontend): expose inline render helpers ( #11917 )
...
* expose RenderInlineModel
* expose Thumbnail
* add changelog / lib entry
* move thumbnail back; use context
* move to context
* reduce diff
* add better type
* reduce diff more
2026-05-12 13:46:58 +10:00
Oliver
b6a304e553
Block SO allocation until tests pass ( #11915 )
...
* Add new global setting
* Check item before allocating
* add unit test
2026-05-11 20:09:34 +10:00
github-actions[bot]
95fd997d9c
New Crowdin translations by GitHub Action ( #11913 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-11 14:22:44 +10:00
Matthias Mair
d29361fded
remove dead function InstanceFromUrl ( #11918 )
2026-05-11 11:51:20 +10:00
Oliver
35aa4d33d3
Maximum stock level ( #11914 )
...
* Add "maximum_stock" field
* Add API filter
* Update API version
* Update CHANGELOG
* Frontend updates
* Add dashboard widget
* docs
* Add API tests
2026-05-10 20:55:05 +10:00
Oliver
bb2a72a6fb
Support physical units for BOM lines ( #11631 )
...
* Add new "raw_amount" field to BomItem model
* Batch process data migration
* Update migration
* Calculate 'quantity' from 'raw_amount' field
* Improve decimal formatting in migration
* Allow raw_amount in serializer
* Adjust frontend form
* API validation and unit tests
* Additional playwright tests
* Update API version and CHANGELOG
* Updated docs
* Fix docstring
* Better handling of empty values
* Tweak unit tests
* Tweak unit test
* Fix unit test
* Adjust form field text
* Adjust migration file
* Tweak playwright tests
* Fix unit test
* Adjust serializers / import-export / playwright
* Fix migration
* Fix validation
* Loosen comparison
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-05-10 15:32:34 +10:00
github-actions[bot]
29027c1cf2
New Crowdin translations by GitHub Action ( #11904 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-10 14:23:21 +10:00
Oliver
9a2b82d582
Fix lazy loading of context modals ( #11911 )
2026-05-10 09:11:39 +10:00
Matthias Mair
61eb5e8d0f
frontend: more exposing for plugins ( #11897 )
...
* expose EditApiForm in context
* expose renderRemoteInstance in context
* expose useInstance in context
* export DetailDrawerComponent, useLocalLibState
* fix import/type
* add changelog entry
2026-05-09 23:14:36 +10:00
Oliver
04ef8a497a
Remove rollup-plugin-visualizer ( #11903 )
2026-05-09 15:04:46 +10:00
github-actions[bot]
f5cd1b7b86
New Crowdin translations by GitHub Action ( #11856 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-09 12:44:14 +10:00
Oliver
583c7ad5f2
[UI] Optimize bundle ( #11896 )
...
* lazy load global window modules
- Required for plugins
- Can be separated from the "main.tsx" code
Co-authored-by: Copilot <copilot@github.com >
* Defer modal loading
Co-authored-by: Copilot <copilot@github.com >
* Rollup visualiser tool
* Remove debug msg
* Rearrange to reduce deltas
* Refactor CodeEditor and PdfPreview
* Split NotesPanel
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-09 12:44:05 +10:00
dependabot[bot]
4461f1d3f1
chore(deps): bump fast-uri from 3.1.0 to 3.1.2 in /src/frontend ( #11900 )
...
Bumps [fast-uri](https://github.com/fastify/fast-uri ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases )
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-09 10:37:42 +10:00
dependabot[bot]
6b069f66d0
chore(deps): bump axios from 1.15.0 to 1.15.2 in /src/frontend ( #11890 )
...
* chore(deps): bump axios from 1.15.0 to 1.15.2 in /src/frontend
Bumps [axios](https://github.com/axios/axios ) from 1.15.0 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.15.0...v1.15.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.15.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix type
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-05-08 08:49:50 +10:00
Matthias Mair
44b31fc44a
fix(frontend): adjust media queries for newer postcss style ( #11892 )
2026-05-08 08:49:21 +10:00
Oliver
cbf3fc9f57
[UI] Smaller text for PathColumn ( #11888 )
...
Reduce text size in tables
2026-05-08 08:47:20 +10:00
Oliver
12d32b1d80
[UI] Adjust default dashboard ( #11889 )
...
- Only display "news" for superuser
Co-authored-by: Copilot <copilot@github.com >
2026-05-08 00:45:46 +10:00
Oliver
3be740c019
[UI] Fix child builds panel ( #11886 )
...
* [UI] Fix child builds panel
- Adjust logic for displaying or hiding child build panel
Co-authored-by: Copilot <copilot@github.com >
* Add brief playwright test
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-08 00:02:11 +10:00
Oliver
e16eb4a94d
Supplier part form ( #11884 )
...
* Fix SupplierPart sub-form
Co-authored-by: Copilot <copilot@github.com >
* Fix details panel for SupplierPart page
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-07 22:48:44 +10:00
Matthias Mair
610e275ca0
Lock notes on orders if they are completed ( #11880 )
...
* Lock notes on orders if they are completed
Fixes #11879
* also check setting
* use statuscode object
* remove build lock
2026-05-06 22:25:14 +10:00
Oliver
aae97eeb40
[UI] Fix for parameter form ( #11875 )
...
- Ensure string field is properly selected
2026-05-05 19:31:59 +10:00
Oliver
6f1d40d546
[UI] Add Admin button for SalesOrderShipment ( #11874 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-05 18:25:58 +10:00
Oliver
5c4c583e8e
[UI] Adjust stock column for virtual parts ( #11873 )
...
- Display "virtual part" instead
Co-authored-by: Copilot <copilot@github.com >
2026-05-05 14:47:08 +10:00
Oliver
18e3c5a0e9
Prevent delete serialized stock ( #11872 )
...
* Add setting to prevent deletion of serialized stock
Co-authored-by: Copilot <copilot@github.com >
* Add unit test
Co-authored-by: Copilot <copilot@github.com >
* Update CHANGELOG
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-05 10:43:02 +10:00
Oliver
3c3964062f
UI tweak ( #11871 )
...
* [UI] Small visual tweaks for plugin settings panel
Co-authored-by: Copilot <copilot@github.com >
* Refactor common code
Co-authored-by: Copilot <copilot@github.com >
* Reduce code duplication
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-05 10:15:04 +10:00
Oliver
00d6f1c3ab
[feature] Bulk replace ( #11861 )
...
* Allow bulk replace of BOM items
* Add "locked" filter for UsedIn table
* Add playwright tests
* docs
* Bump API version
* Update CHANGELOG
* Update api_version.py
---------
Co-authored-by: Matthias Mair <code@mjmair.com >
2026-05-04 23:13:23 +10:00
Oliver
2a5925f4f7
[UI] BOM pricing fix ( #11860 )
...
* Ensure BOM pricing is fetched
* Enable IPN sorting for "used-in" table
* Update playwright tests
2026-05-04 21:15:32 +10:00
Miklós Márton
cc60692388
Implement Latest parts dashboard widget ( #11540 )
...
* Implement Latest parts dashboard widget
* Removed unused variables
* Fix StylishText include
2026-05-04 20:25:48 +10:00
Oliver
79521f974f
[UI] Adjust form properties ( #11855 )
...
- Remove certain properties from downstream components
- Reduces unnecessary console errors
2026-05-03 19:37:23 +10:00
Oliver
12c060c7d1
[UI] Remove debug message ( #11854 )
2026-05-03 19:23:33 +10:00
github-actions[bot]
62b06502a8
New Crowdin translations by GitHub Action ( #11828 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-03 18:13:18 +10:00
Oliver
24ce51c5ca
[UI] BOM compare ( #11853 )
...
* Refactor existing components
* Select assembly for comparison
* Rough BOM comparison table
* Select display mode
* Layout tweaks
* Reset secondary part when drawer is closed
* Responsive grids
* Documentation
* Update CHANGELOG.md
* Add playwright tests
* Update wording
* Allow specification of secondary part with URL search params
* Update URL params when value changes
* Clearer display using icons
* Improve diff layout
* Adjust playwright tests
2026-05-03 12:18:44 +10:00
Oliver
76407d71b8
[UI] Fix ReturnOrder table ( #11845 )
...
* [UI] Fix ReturnOrder table
- Closes https://github.com/inventree/InvenTree/issues/11833
* Add playwright test
2026-05-02 10:04:41 +10:00
Oliver
c4a395ac0c
[UI] Adjust frontend deps ( #11840 )
...
* Frontend deps
- Follow-up to https://github.com/inventree/InvenTree/pull/11831
- Pin vite version to 8.0.5
* Revert vite to 6.4.2
Co-authored-by: Copilot <copilot@github.com >
* Fix dependency warnings
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-02 07:19:00 +10:00
Oliver
679665d491
Adjust text color for stock column ( #11841 )
...
- Muted color output
- Fixes https://github.com/inventree/InvenTree/issues/11835
Co-authored-by: Copilot <copilot@github.com >
2026-05-01 17:06:36 +10:00
Matthias Mair
6f56d44287
feat(frontend): lib make Detaildrawer available ( #11827 )
...
* feat(frontend): lib make Detaildrawer available
Co-authored-by: Copilot <copilot@github.com >
* move StylishText to lib
Co-authored-by: Copilot <copilot@github.com >
* add changelog entry
Co-authored-by: Copilot <copilot@github.com >
* fix import path
---------
Co-authored-by: Copilot <copilot@github.com >
2026-05-01 14:49:43 +10:00
Matthias Mair
76da739c48
bump vite, lodash, postcss ( #11831 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-01 14:02:51 +10:00
tigger2000ttfn
d603358205
Fix: preserve existing widget sizes when adding a dashboard widget ( #11834 )
...
* Fix: preserve existing widget sizes when adding a dashboard widget
When adding a new widget from the drawer, addWidget called
updateLayoutForWidget with overrideSize=true on every existing layout
key. That flag forces w/h on every layout entry to the widget's
minWidth/minHeight, which silently reset all user-customised widget
sizes back to their minimums.
Pass overrideSize=false instead. Existing widgets retain their layout
entries (and therefore their user-set sizes); the newly added widget
has no entry yet, so react-grid-layout auto-places it at default size.
Adds a Playwright regression test that resizes a widget, adds a second
widget, and asserts the first widget's height is preserved.
* Make widget-resize regression test reliable
Replace the previous drag-based test with a deterministic check that
manipulates the persisted layout directly. The resize handles only
exist when isResizable={editing} is true, so the previous test's
attempt to grab .react-resizable-handle returned null in CI.
The new test inflates the first widget's layout entry in
localStorage, reloads to rehydrate zustand, then adds a second widget
via the menu and asserts the first widget retained its enlarged
dimensions. This directly exercises the addWidget code path without
needing edit mode or mouse simulation.
* Apply biome formatting
* Patch backend profile to inflate widget; fix unused non-null assertion
Updating localStorage was wiped out by observeProfile() on reload, so
inflate the widget on the backend user profile instead.
---------
Co-authored-by: tigger2000ttfn <tigger2000ttfn@users.noreply.github.com >
2026-05-01 13:58:54 +10:00
Oliver
2b6952eabd
BOM Ruleset ( #11825 )
...
* Add BOM role
* Adjust UI permissions
* Adjust docs
* Add data migratoin
* Specify role for BOM validation
* Tweak old migrati
* Fix role_required
* Update API version and CHANGELOG
Co-authored-by: Copilot <copilot@github.com >
* Update unit tests
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 12:29:57 +10:00
Matthias Mair
6e4ffcb6d2
also expose TableState ( #11826 )
2026-04-28 11:04:49 +10:00
github-actions[bot]
bf3ac8eba0
New Crowdin translations by GitHub Action ( #11791 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 10:30:00 +10:00
Oliver
afa3807978
Adjust BomSubassemblyTable ( #11819 )
...
- Fixes for height of sub-table
2026-04-27 20:14:52 +10:00
Oliver
65b2283c7f
Stock convert ( #11818 )
...
* [UI] Reimplement "convert stock" action
* Add playwright tests
2026-04-27 19:59:30 +10:00
Oliver
9958f4a247
[UI] Invalid BOM warning ( #11817 )
...
* [UI] Invalid BOM warning
* Add similar warning to BOM table
* Adjust bom subassembly table
2026-04-27 18:17:49 +10:00