feat(backend): add tipps endpoint#10715
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10715 +/- ##
==========================================
+ Coverage 88.14% 88.19% +0.04%
==========================================
Files 1290 1297 +7
Lines 58360 58637 +277
Branches 1966 1966
==========================================
+ Hits 51441 51714 +273
- Misses 6429 6433 +4
Partials 490 490
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…add-tipps-model
…add-tipps-model
…add-tipps-model
…add-tipps-model
|
@SchrodingersGat ready for review; still working out a few lines for the contrib docs but done otherwise |
|
@matmair can you provide some more context here, perhaps some examples of what these guides might look like? And, do we need to add any documentation around this? |
|
@SchrodingersGat I have moved guides to the next PRs This PR lays the backend/frontend foundation for tipp / guide handling. There are new models to handle general tipps/guides and how/when they were executed; The PR also includes the generic frontend components to handle displaying the tipps/guides depending on the current user and their past states. Guides are defined in the backend: Calling a tipp in the frontend is pretty simple |
|
Just curious, what is the usecase of defining them on the backend rather than hardcoding them into the frontend? Can that be used by plugins? Are they still translated and actually show the correct language the user has selected? |


Adds models, API endpoints and frontend components to show tipps in the frontend dependent on various conditions
TODO
Todo next:
Required for #2907 and #2284
Follow up to #7995