Repository navigation
feat: Add facility to completely hide parts of the interface - #12842
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
In experimenting I have decided to not make the following UI functions not disable-able as them missing makes the system basically un-usable:
If this in an issue we will have to add those in a follow up |
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (87.50%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #12842 +/- ##
==========================================
+ Coverage 86.39% 87.22% +0.82%
==========================================
Files 1425 1500 +75
Lines 95256 101818 +6562
Branches 9966 11596 +1630
==========================================
+ Hits 82295 88808 +6513
- Misses 12917 12947 +30
- Partials 44 63 +19
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…; reduce number of chained gates
|
@SchrodingersGat this is ready to review; turned out simpler than thought. Would this need to be implemented in the app too before we release? |
|
This now also fixes an issue with #12839 that caused issues with the frontend CI |
|
@SchrodingersGat ready for review and merge |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@matmair nice work, this is a clean implementation. Thanks for tackling this one. |
Provides options to hide various parts of InvenTree core functions in the UI - these are just primitive toggles to turn off parts of the UI. Admins can additionally now disable:
It also lays the groundwork for a few related things:
mostly unrelated:
Transfer Ordersunderstock;same asReturn OrderIn a follow up we could consider also turning of the related APIs. I honestly would prefer to move code paths that should be disable-able into optional built-in plugins.
Fixes #6023