Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add reference sources model #8638

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

matmair
Copy link
Member

@matmair matmair commented Dec 8, 2024

This PR adds a way to add arbitrary or restricted (text) references to any model.
Together with a minimal UI implementation, this enables linking external sources/IDs and internal models. This is a starting point that will allow the development of plugins that expose stable linked data import/exports or integrate more transparently into external systems.

@matmair matmair added enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem api Relates to the API labels Dec 8, 2024
@matmair matmair added this to the 0.17.0 milestone Dec 8, 2024
@matmair matmair self-assigned this Dec 8, 2024
@matmair matmair changed the title Add reference sources model WIP: Add reference sources model Dec 8, 2024
Copy link

netlify bot commented Dec 8, 2024

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

Name Link
🔨 Latest commit bb15aba
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/675776ec879556000877b8ce
😎 Deploy Preview https://deploy-preview-8638--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: 99 (🔴 down 1 from production)
Accessibility: 86 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (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.

@matmair matmair modified the milestones: 0.17.0, 1.0.0 Dec 9, 2024
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 70.55556% with 53 lines in your changes missing coverage. Please review.

Project coverage is 84.59%. Comparing base (987e027) to head (bb15aba).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
src/backend/InvenTree/common/tests.py 53.12% 30 Missing ⚠️
src/backend/InvenTree/common/models.py 68.11% 22 Missing ⚠️
src/backend/InvenTree/common/serializers.py 94.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8638      +/-   ##
==========================================
- Coverage   84.64%   84.59%   -0.05%     
==========================================
  Files        1190     1191       +1     
  Lines       54297    54465     +168     
  Branches     2057     2057              
==========================================
+ Hits        45962    46077     +115     
- Misses       7828     7881      +53     
  Partials      507      507              
Flag Coverage Δ
backend 86.00% <70.55%> (-0.07%) ⬇️

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to the API enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant