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

feat: Add email notification when a part is changed #9275

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

matmair
Copy link
Member

@matmair matmair commented Mar 10, 2025

This PR:

  • re-adds the subscription buttons for parts and part categories (was not re-implemented when porting from CUI)
  • adds a built-in plugin that optionally notifies on part events

Closes #7834

@matmair matmair added enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem labels Mar 10, 2025
@matmair matmair added this to the 1.0.0 milestone Mar 10, 2025
@matmair matmair self-assigned this Mar 10, 2025
Copy link

netlify bot commented Mar 10, 2025

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

Name Link
🔨 Latest commit 2000b83
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67cf625498781f00087e713f
😎 Deploy Preview https://deploy-preview-9275--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: 95 (🔴 down 3 from production)
Accessibility: 89 (no change from production)
Best Practices: 92 (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.

Copy link

codecov bot commented Mar 10, 2025

Codecov Report

Attention: Patch coverage is 64.58333% with 17 lines in your changes missing coverage. Please review.

Project coverage is 86.14%. Comparing base (94ded91) to head (2000b83).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...end/src/components/buttons/StarredToggleButton.tsx 38.46% 6 Missing and 2 partials ⚠️
...e/plugin/builtin/integration/part_notifications.py 77.41% 7 Missing ⚠️
src/frontend/src/pages/part/CategoryDetail.tsx 0.00% 1 Missing ⚠️
src/frontend/src/pages/part/PartDetail.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9275      +/-   ##
==========================================
- Coverage   86.18%   86.14%   -0.05%     
==========================================
  Files        1199     1201       +2     
  Lines       52572    52619      +47     
  Branches     2216     2220       +4     
==========================================
+ Hits        45311    45328      +17     
- Misses       6699     6720      +21     
- Partials      562      571       +9     
Flag Coverage Δ
backend 88.07% <78.78%> (-0.01%) ⬇️
pui 69.81% <33.33%> (-0.21%) ⬇️

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.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Email notification when a part is changed
1 participant