refactor: use generic model insights for frontend features (#13072)

* feat:generic model insights

inspired by https://github.com/inventree/InvenTree/pull/13069 this adds a more general approach to generic features like attachments, notes

some tests and functions written with assistance of AI

* lazy load panels

* add pr version

* fix snapshot issue

* move history panel to new generic mechanism

* Update api_version.py

* move to generic

* remove duplicate

* clean up import

* fix test

* add ignore for broken contract in test
This commit is contained in:
Matthias Mair authored and GitHub committed 2026-11-16 09:45:17 +11:00
1 parent 016f965ac8
commit a87489ca44
32 files changed
+533 -477

No files matched your search

+1
View File
@@ -232,6 +232,7 @@ ignore_imports = [
"generic.states.test_transition -> order.status_codes",
"generic.states.api_helpers -> users.permissions",
"generic.states.test_transition -> users.models",
"generic.modelfeatures.tests -> part.models",
]
[[tool.importlinter.contracts]]