Skip to content

[bug] Fix custom logo and splash - #11391

Merged
SchrodingersGat merged 22 commits into
inventree:masterfrom
SchrodingersGat:check-custom-logo
Feb 22, 2026
Merged

SchrodingersGat merged 22 commits into
inventree:masterfrom
SchrodingersGat:check-custom-logo

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Feb 21, 2026 •

Copy link
Copy Markdown
Member
  • Prevent recursive behavior in settings.py
  • Fix broken implementation of custom logo in new UI
  • Add playwright tests to ensure "custom" UI functionality works as expected.

Closes #11342

@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Feb 21, 2026
@SchrodingersGat SchrodingersGat added CI CI / unit testing ecosystem backport Apply this label to a PR to enable auto-backport action User Interface Related to the frontend / User Interface backport-to-1.2.x labels Feb 21, 2026
@netlify

netlify Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 4822fe8
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/699ad30dffb9570007b3e94d
😎 Deploy Preview https://deploy-preview-11391--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: 92 (🔴 down 2 from production)
Accessibility: 81 (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 project configuration.

@codspeed

codspeed Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 8.17%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

❌ 2 regressed benchmarks
✅ 42 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime test_api_options_performance[/api/order/po-line/] 149.1 ms 159.3 ms -6.36%
❌ WallTime test_api_list_performance[/api/build/item/] 299.3 ms 326 ms -8.17%

Comparing SchrodingersGat:check-custom-logo (4822fe8) with master (2e22245)

Open in CodSpeed

- django app not fully initialized yet
- can cause loops
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process labels Feb 21, 2026
@codecov

codecov Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.00%. Comparing base (2e22245) to head (4822fe8).
⚠️ Report is 329 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11391   +/-   ##
=======================================
  Coverage   87.99%   88.00%           
=======================================
  Files        1295     1295           
  Lines       58824    58821    -3     
  Branches     1943     1943           
=======================================
+ Hits        51761    51763    +2     
+ Misses       6579     6574    -5     
  Partials      484      484           
Flag Coverage Δ
backend 89.18% <100.00%> (-0.01%) ⬇️

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

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

@SchrodingersGat
SchrodingersGat merged commit e1a9200 into inventree:master Feb 22, 2026
36 of 37 checks passed
@SchrodingersGat
SchrodingersGat deleted the check-custom-logo branch February 22, 2026 11:04
@github-actions

Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
❌ 1.2.x An unhandled error occurred. Please see the logs for details

Manual backport

To create the backport manually run:

backport --pr 11391

Questions ?

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

SchrodingersGat added a commit to SchrodingersGat/InvenTree that referenced this pull request Feb 22, 2026
* Add custom logo and splash to playwright fixtures

* Render custom logo in frontend

* Add playwright tests for customization settings

* Separate playwright run for customization

* Update ci file

* Update playwright config file

* Do not call get_custom_file from withing settings.py

- django app not fully initialized yet
- can cause loops

* Disable default tests (for now)

* Re-enable normal tests

* Update qc checks

* Order of operations?

* Debug output

* Use env

* Add more debug info

* More debug

* Further debug

* Add collectstatic check

* Run normal tests too

* Remove debug prints
SchrodingersGat added a commit that referenced this pull request Feb 22, 2026
* Add custom logo and splash to playwright fixtures

* Render custom logo in frontend

* Add playwright tests for customization settings

* Separate playwright run for customization

* Update ci file

* Update playwright config file

* Do not call get_custom_file from withing settings.py

- django app not fully initialized yet
- can cause loops

* Disable default tests (for now)

* Re-enable normal tests

* Update qc checks

* Order of operations?

* Debug output

* Use env

* Add more debug info

* More debug

* Further debug

* Add collectstatic check

* Run normal tests too

* Remove debug prints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem setup Relates to the InvenTree setup / installation process User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error after 1.1.12 -> 1.2.0 "error: You're using the staticfiles app without having set the required STATIC_URL setting."

1 participant