Skip to content

[PUI] notifications fix - #8392

Merged
SchrodingersGat merged 7 commits into
inventree:masterfrom
SchrodingersGat:pui-notifications-fix
Oct 29, 2024
Merged

SchrodingersGat merged 7 commits into
inventree:masterfrom
SchrodingersGat:pui-notifications-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Enhanced support for notifications preview in PUI

  • Improved UX
  • Better resolution of the right URL
  • Use react-router based navigation (where possible)

- Add error boundary
- Separate rendering func for individual entry
- Allow router navigation
- Better link introspection
- Add tooltip for notification description
@SchrodingersGat SchrodingersGat added user interface refactor User Interface Related to the frontend / User Interface labels Oct 29, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Oct 29, 2024
@netlify

netlify Bot commented Oct 29, 2024 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit fd51c08
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67205840093c8d00082397b3
😎 Deploy Preview https://deploy-preview-8392--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: 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.

@SchrodingersGat
SchrodingersGat merged commit 8a7a2da into inventree:master Oct 29, 2024
@SchrodingersGat
SchrodingersGat deleted the pui-notifications-fix branch October 29, 2024 04:00
@codecov

codecov Bot commented Oct 29, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 21.56863% with 40 lines in your changes missing coverage. Please review.

Project coverage is 84.24%. Comparing base (89946ae) to head (fd51c08).
Report is 296 commits behind head on master.

Files with missing lines Patch % Lines
...frontend/src/components/nav/NotificationDrawer.tsx 11.53% 21 Missing and 2 partials ⚠️
src/frontend/src/tables/settings/ErrorTable.tsx 21.42% 11 Missing ⚠️
...c/frontend/src/components/plugins/PluginDrawer.tsx 0.00% 3 Missing ⚠️
src/frontend/src/components/render/ModelType.tsx 0.00% 2 Missing ⚠️
src/frontend/src/components/render/Generic.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8392      +/-   ##
==========================================
- Coverage   84.40%   84.24%   -0.16%     
==========================================
  Files        1167     1167              
  Lines       53057    53512     +455     
  Branches     1947     1972      +25     
==========================================
+ Hits        44782    45083     +301     
- Misses       7791     7925     +134     
- Partials      484      504      +20     
Flag Coverage Δ
backend 85.98% <100.00%> (ø)
pui 67.85% <18.36%> (+0.50%) ⬆️

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

refactor User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant