Skip to content

[PUI] Build actions - #7945

Merged
SchrodingersGat merged 27 commits into
inventree:masterfrom
SchrodingersGat:build-actions
Aug 24, 2024
Merged

SchrodingersGat merged 27 commits into
inventree:masterfrom
SchrodingersGat:build-actions

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Aug 21, 2024 •

Copy link
Copy Markdown
Member

Expanding the range of build order actions provided in PUI.

Also some refactoring for the "table field" to display per-row errors, and reduce boilerplate code

TODO

  • Prevent allocation against "consumable" items
  • Implement "source location" fieled (which limits stock selection in table) - as per CUI

Future Work

  • Allow viewing of "allocations" per row - either via row-expansion or different method
  • Extend new refactoring to other "table" forms

@SchrodingersGat SchrodingersGat added user interface build Build orders User Interface Related to the frontend / User Interface labels Aug 21, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Aug 21, 2024
@netlify

netlify Bot commented Aug 21, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit de1fae3
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66c93ef70ec6fd00081a4dfd
😎 Deploy Preview https://deploy-preview-7945--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 92 (no change from production)
SEO: 70 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov

codecov Bot commented Aug 24, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 44.91525% with 65 lines in your changes missing coverage. Please review.

Project coverage is 83.18%. Comparing base (8f4929d) to head (de1fae3).
Report is 306 commits behind head on master.

Files with missing lines Patch % Lines
src/frontend/src/forms/BuildForms.tsx 46.80% 25 Missing ⚠️
src/frontend/src/tables/build/BuildLineTable.tsx 42.30% 14 Missing and 1 partial ⚠️
.../frontend/src/components/forms/StandaloneField.tsx 12.50% 6 Missing and 1 partial ⚠️
src/frontend/src/components/forms/ApiForm.tsx 14.28% 5 Missing and 1 partial ⚠️
...rontend/src/components/forms/fields/TableField.tsx 0.00% 3 Missing ⚠️
src/frontend/src/hooks/UseSelectedRows.tsx 72.72% 2 Missing and 1 partial ⚠️
...rontend/src/components/buttons/RemoveRowButton.tsx 50.00% 2 Missing ⚠️
...ntend/src/components/forms/fields/ApiFormField.tsx 66.66% 0 Missing and 1 partial ⚠️
.../src/components/forms/fields/RelatedModelField.tsx 0.00% 0 Missing and 1 partial ⚠️
src/frontend/src/forms/PurchaseOrderForms.tsx 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7945      +/-   ##
==========================================
- Coverage   83.62%   83.18%   -0.44%     
==========================================
  Files        1136     1140       +4     
  Lines       50906    51309     +403     
  Branches     1758     1774      +16     
==========================================
+ Hits        42568    42681     +113     
- Misses       7901     8168     +267     
- Partials      437      460      +23     
Flag Coverage Δ
backend 85.38% <ø> (-0.01%) ⬇️
pui 65.16% <44.91%> (-0.08%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@SchrodingersGat
SchrodingersGat merged commit eec53ff into inventree:master Aug 24, 2024
@SchrodingersGat
SchrodingersGat deleted the build-actions branch August 24, 2024 05:17
@SchrodingersGat SchrodingersGat mentioned this pull request Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build orders User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant