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

Remove custom context processors #8540

Merged
merged 7 commits into from
Dec 17, 2024

Conversation

SchrodingersGat
Copy link
Member

DO NOT MERGE UNTIL 0.17.0 IS RELEASED

  • Only merge after 0.17.0 release
  • Remove code which injects custom context variables into CUI requests
  • Not needed for new API-based PUI code
  • Speeds up requests - remove unnecessary DB hits

- Only merge after 0.17.0 release
- Remove code which injects custom context variables into CUI requests
- Not needed for new API-based PUI code
- Speeds up requests - remove unnecessary DB hits
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Nov 24, 2024
Copy link

netlify bot commented Nov 24, 2024

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

Name Link
🔨 Latest commit c47e2a0
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/6760d5502c0c5c00086814dc
😎 Deploy Preview https://deploy-preview-8540--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 (🟢 up 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
Copy link
Member

matmair commented Nov 24, 2024

See also #8384

@matmair matmair changed the title Remove custom context processors After 0.17.0 Remove custom context processors Nov 24, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.77%. Comparing base (24f433c) to head (c47e2a0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8540      +/-   ##
==========================================
- Coverage   85.26%   75.77%   -9.49%     
==========================================
  Files        1174     1193      +19     
  Lines       52506    63969   +11463     
  Branches     2072     2026      -46     
==========================================
+ Hits        44767    48472    +3705     
- Misses       7232    14974    +7742     
- Partials      507      523      +16     
Flag Coverage Δ
backend 86.90% <ø> (-0.03%) ⬇️

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 changed the title After 0.17.0 Remove custom context processors Remove custom context processors Dec 16, 2024
@matmair
Copy link
Member

matmair commented Dec 16, 2024

@SchrodingersGat does this mean we can lower the general DB hit limit?

@SchrodingersGat
Copy link
Member Author

@SchrodingersGat does this mean we can lower the general DB hit limit?

Maybe - i'm not exactly sure how many database hits we are saving here

@SchrodingersGat SchrodingersGat merged commit acb756e into inventree:master Dec 17, 2024
26 of 27 checks passed
@SchrodingersGat SchrodingersGat deleted the remove-context branch December 17, 2024 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants