Repository navigation
[WIP] Background reports - #9199
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9199 +/- ##
==========================================
- Coverage 86.15% 86.15% -0.01%
==========================================
Files 1186 1186
Lines 52440 52501 +61
Branches 2211 2216 +5
==========================================
+ Hits 45182 45234 +52
+ Misses 6698 6696 -2
- Partials 560 571 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@SchrodingersGat is there a reason to have separate output models and endpoints for reports and labels or can we merge these? We seem to duplicate a lot of functions between the two |
|
It is a big duplication - and about to become a triplication with the data export plugins If we moved all this onto one model, and define the "export type" field, then this could be reduced to a single model. I might look into that after this PR, to reduce the scope |
* Update report generation progress * Add shim task for offloading report printing * Cleanup * Add detail endpoints for label and report outputs * Display report printing progress in UI * Implement similar for label printing * Reduce output for CI * Add plugin slug * Bump API version * Ensure it works with machine printing * Fix null comparison * Fix SKU link * Update playwright tests * Massively reduce log output when printing
* increase character limits on all link fields to 2000 * update test to still trigger * Don't fail when diff is too big for echo (#9205) * Reduce severity of error message (#9209) - Currently flooding sentry.io with reports * Disable pagination for ConfigList class (#9210) * [API] Auth login error (#9212) Fixes #9211 * [UI] Table Update (#9220) - Retain user selection for pageSize * renumber migrations after merge from master * Remove quick actions (#9222) * Remove placeholder components - No function - Cleanup for 1.0.0 * Remove Placeholder.tsx * feat(backend): Add user profile (#9116) * Add user profile * fix choice set * ensure primary_group is valid * add missing migrations * fix tests * merge migrations * add migration test * add new model to ruleset * ensure changed to the m2m conenction also validate primary grups * move signals * fix import? * patch user language through * use set methods correctly * bump api * refactoring to make debugging and extending easier * fix dum recurrsion problem * fix user pk lookup * rename migration * add user and group page * cleanup * add hoverCard for user / owner / group render * include owner_model in owner responses * move user serializers to users * add profile to list * add brief serializer for profiles * ensure profile is present in most apis * extend rendered data * store and observe langauge in profile * reduce unneeded complexity * enable access to full profle (including internal fields) in me serializer * move theme to a single object * persist theme settings * fix radius lookup * remove debug message * fix filter * remove unused field * remove image fields * add setting to control showing profiles * fix settings * update test * fix theme reload * Add contact UI * Add profile edit screen * fix test * Add testing for user theme panel * fix var name * complete coverage of theme * Add test for new pages * make test more reliable in strict mode * remove step * fix ref * add verbose names * fix used setting * extend tests * fix permissions * fix lookup * use lookup to enuse ursls stay valid * update migrations * Add position field * fix permissions * Fix font size in location column (#9230) * [WIP] Background reports (#9199) * Update report generation progress * Add shim task for offloading report printing * Cleanup * Add detail endpoints for label and report outputs * Display report printing progress in UI * Implement similar for label printing * Reduce output for CI * Add plugin slug * Bump API version * Ensure it works with machine printing * Fix null comparison * Fix SKU link * Update playwright tests * Massively reduce log output when printing * handle null values in existing db data * fix test to pass at max character limit again --------- Co-authored-by: Matthias Mair <[email protected]> Co-authored-by: Oliver <[email protected]> Co-authored-by: Joe Rogers <[email protected]>
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |

Work in progress to allow report generation in the background worker
TODO
Future Work