Skip to content

Temporary fix for Redoc - #13201

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
sufyanaslam198:patch-1
Nov 6, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
sufyanaslam198:patch-1

Conversation

@sufyanaslam198

Copy link
Copy Markdown
Contributor

Added temporary fix for Redoc distribution URL as Redoc 3 is an ES-module-only and drf-spectacular's template can't load (tfranzel/drf-spectacular#1543).

Fix copied from https://github.com/opengisch/QFieldCloud/pull/1859/changes

Fixes #13200

Added temporary fix for Redoc distribution URL as Redoc 3 is an ES-module-only and drf-spectacular's template can't load (tfranzel/drf-spectacular#1543)
@netlify

netlify Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 26134ba
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aecbcf8f2bc619a884d443e

@SchrodingersGat

Copy link
Copy Markdown
Member

@sufyanaslam198 thanks for the fix, I have confirmed that it works locally

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed api Relates to the API documentation backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch labels Nov 6, 2026
@SchrodingersGat SchrodingersGat added this to the 1.8.0 milestone Nov 6, 2026
@SchrodingersGat
SchrodingersGat merged commit 08dad19 into inventree:master Nov 6, 2026
44 checks passed
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.7.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.96%. Comparing base (c5c878d) to head (26134ba).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #13201   +/-   ##
=======================================
  Coverage   86.96%   86.96%           
=======================================
  Files        1568     1568           
  Lines      111515   111515           
  Branches    12230    12230           
=======================================
+ Hits        96976    96979    +3     
+ Misses      14473    14470    -3     
  Partials       66       66           
Flag Coverage Δ
backend 91.37% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.88% <ø> (ø)
Backend General 94.93% <ø> (ø)
Frontend 79.49% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat

Copy link
Copy Markdown
Member

I have added a regression test for this endpoint here - #13210

SchrodingersGat pushed a commit that referenced this pull request Nov 7, 2026
Added temporary fix for Redoc distribution URL as Redoc 3 is an ES-module-only and drf-spectacular's template can't load (tfranzel/drf-spectacular#1543)

(cherry picked from commit 08dad19)

Co-authored-by: sufyanaslam198 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch bug Identifies a bug which needs to be addressed documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Documentation page loads empty

2 participants