UX: Disable standard allocation for trackable parts (#11811)#11967
UX: Disable standard allocation for trackable parts (#11811)#11967adityakrmishra wants to merge 2 commits into
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
matmair
left a comment
There was a problem hiding this comment.
Lgtm; @SchrodingersGat should we extend the test harness to cover these edge cases?
|
Hey @matmair I pushed the update to the Playwright test to assert the button is disabled, but it looks like the pipeline is still tripping up on a QC test Im having a little trouble interpreting the logs for this specific failure Could you take a quick look? Let me know if this is a known flaky test, or if there's a specific edge case I missed. Any pointers on where to look next would be hugely appreciated! |
|
@matmair I investigated the Web UI test failure to ensure my changes didn't introduce a regression. The changes in this PR are completely isolated to BuildLineTable.tsx and the build allocation logic. |

Fixes #11811.
As discussed in the issue, trackable parts must be allocated via the "Build Outputs" dialog. The previous UI allowed users to click the standard "Allocate" button for trackable parts, which opened a dialog that silently failed to load any stock ("No entries available").
This PR improves the UX by disabling the standard "Allocate" button for trackable items and adding a helpful tooltip directing the user to use the Build Outputs tab instead.
Tested locally and ran the frontend formatter. Let me know if it looks good!