inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.34k stars 786 forks source link

Remove unneeded AjaxView usage #8461

Closed matmair closed 1 week ago

matmair commented 1 week ago

This PR removes an unneeded dependency on AjaxView in prep for https://github.com/inventree/InvenTree/pull/8384. Also updates the schema for the information endpoint and removes the general "not found" endpoint from the schema.

netlify[bot] commented 1 week ago

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
Latest commit 93ef393870ba8b5fa6e42ef3038a6ef8e98e6be2
Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67312b5f6011c4000833945b
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.36%. Comparing base (255a5d0) to head (93ef393). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8461 +/- ## ======================================= Coverage 84.35% 84.36% ======================================= Files 1175 1175 Lines 53636 53662 +26 Branches 2015 2015 ======================================= + Hits 45245 45270 +25 - Misses 7872 7873 +1 Partials 519 519 ``` | [Flag](https://app.codecov.io/gh/inventree/InvenTree/pull/8461/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/inventree/InvenTree/pull/8461/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree) | `85.86% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inventree#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

SchrodingersGat commented 1 week ago

Nice addition, thanks @matmair

matmair commented 1 week ago

@SchrodingersGat slowly chipping away at CUI removal