Skip to content

[feature] tags support - #12077

Merged
SchrodingersGat merged 32 commits into
inventree:masterfrom
SchrodingersGat:tag-filters
Jun 4, 2026
Merged

SchrodingersGat merged 32 commits into
inventree:masterfrom
SchrodingersGat:tag-filters

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Jun 3, 2026 •

Copy link
Copy Markdown
Member

Brings 'proper' support for tags

Features

  • Filter models by tags, via the API
  • Exposes API endpoint with all available tags
  • Edit tags directly via the UI
  • Display tags on detail pages
  • Filter tables by tags
  • Add "tags" support for multiple new model types

Tasks

  • Implementation
  • Back-end unit tests
  • Migrations
  • Add tags to demo dataset - Tags demo-dataset#118
  • Playwright testing
  • Documentation
  • CHANGELOG update
  • API version update

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature api Relates to the API feature User Interface Related to the frontend / User Interface labels Jun 3, 2026
@netlify

netlify Bot commented Jun 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit f1c564b
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a2135743ae2a1000837bb6a

@codecov

codecov Bot commented Jun 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.47%. Comparing base (47c6906) to head (f1c564b).
⚠️ Report is 388 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12077      +/-   ##
==========================================
+ Coverage   91.44%   91.47%   +0.02%     
==========================================
  Files         976      979       +3     
  Lines       52162    52331     +169     
==========================================
+ Hits        47701    47870     +169     
  Misses       4461     4461              
Flag Coverage Δ
backend 90.48% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.77% <100.00%> (+<0.01%) ⬆️
Backend General 93.53% <100.00%> (+0.15%) ⬆️
Frontend ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 75a08a1 into inventree:master Jun 4, 2026
37 checks passed
@SchrodingersGat
SchrodingersGat deleted the tag-filters branch June 4, 2026 09:38
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Add Tag API endpoints

* Enable filtering by model type

* Remove old tags filters against Part endpoint

* Add generic tags filter for filtering against tagged items

* Add API unit tests for the tags API endpoints

* Create generic mixin class for adding tags support

* Update existing tagged models

* Add tags to more model types

* Enable new tags API filtering for multiple models

* Add support for tag filtering in part table

* Update transfer table filters

* Add tags filter to more places

* Allow multiple values to be selected as filters

* Add a new 'tags' type form field

* Display tags on part page

* tags support for orders

* Add support for SalesOrderShipment

* build order

* Company support

* SupplierPart and ManufacturerPart

* support StockItem

* Enable tag filtering for attachments

* Make tagslist readonly

* docs

* Mark props as read only

* Update API version

* Update CHANGELOG

* force tags to be case insensitive

* Add playwright test for build order tags

* more playwright testing

* Fix docs link
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Add Tag API endpoints

* Enable filtering by model type

* Remove old tags filters against Part endpoint

* Add generic tags filter for filtering against tagged items

* Add API unit tests for the tags API endpoints

* Create generic mixin class for adding tags support

* Update existing tagged models

* Add tags to more model types

* Enable new tags API filtering for multiple models

* Add support for tag filtering in part table

* Update transfer table filters

* Add tags filter to more places

* Allow multiple values to be selected as filters

* Add a new 'tags' type form field

* Display tags on part page

* tags support for orders

* Add support for SalesOrderShipment

* build order

* Company support

* SupplierPart and ManufacturerPart

* support StockItem

* Enable tag filtering for attachments

* Make tagslist readonly

* docs

* Mark props as read only

* Update API version

* Update CHANGELOG

* force tags to be case insensitive

* Add playwright test for build order tags

* more playwright testing

* Fix docs link
@matmair

matmair commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

@SchrodingersGat this keyword shadows the parameter we use to turn on / off tag inclusion. We should change it soonish as it leads to confusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API enhancement This is an suggested enhancement or new feature feature User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants