Skip to content

[PUI] Add Link/Unlink Barcode action - #7939

Merged
SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:matmair/issue7920
Aug 22, 2024
Merged

SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:matmair/issue7920

Conversation

@matmair

@matmair matmair commented Aug 21, 2024 •

Copy link
Copy Markdown
Member

This PR adds link and unlink actions to the various interfaces.

Todo

  • Refactor BarcodeActionDropdown to remove duplications
  • Add functional tests

-[ ]Re-Enable camera-based scanning on link -> will be new PR

Fixes #7920

@matmair matmair added the User Interface Related to the frontend / User Interface label Aug 21, 2024
@matmair matmair added this to the 0.17.0 milestone Aug 21, 2024
@matmair matmair self-assigned this 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 f93bc4f
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66c63412b259070008e794e5
😎 Deploy Preview https://deploy-preview-7939--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 21, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.45%. Comparing base (5515e07) to head (9b1404f).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7939      +/-   ##
==========================================
+ Coverage   83.41%   83.45%   +0.03%     
==========================================
  Files        1130     1130              
  Lines       50410    50434      +24     
  Branches     1750     1754       +4     
==========================================
+ Hits        42052    42091      +39     
+ Misses       7920     7893      -27     
- Partials      438      450      +12     
Flag Coverage Δ
pui 65.21% <100.00%> (+0.28%) ⬆️

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.

@matmair matmair added the enhancement This is an suggested enhancement or new feature label Aug 21, 2024
@matmair
matmair marked this pull request as ready for review August 21, 2024 18:30
@matmair
matmair force-pushed the matmair/issue7920 branch from f148783 to f93bc4f Compare August 21, 2024 18:38
@matmair

matmair commented Aug 21, 2024

Copy link
Copy Markdown
Member Author

@SchrodingersGat this is ready for review; I have refactored barcode actions into a singular function

@SchrodingersGat SchrodingersGat added the barcode Barcode scanning and integration label Aug 22, 2024
@SchrodingersGat
SchrodingersGat merged commit b0c7a1a into inventree:master Aug 22, 2024
@SchrodingersGat
SchrodingersGat deleted the matmair/issue7920 branch August 22, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

barcode Barcode scanning and integration enhancement This is an suggested enhancement or new feature User Interface Related to the frontend / User Interface

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

[PUI] Add Link Barcode action

2 participants