Skip to content

[bug] Fix custom logo and splash (#11391) - #11399

Merged
SchrodingersGat merged 1 commit into
inventree:1.2.xfrom
SchrodingersGat:logo-fix-backport
Feb 22, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:1.2.xfrom
SchrodingersGat:logo-fix-backport

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Feb 22, 2026 •

Copy link
Copy Markdown
Member

Backport of #11391

  • 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

* 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 SchrodingersGat added this to the 1.2.3 milestone Feb 22, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process User Interface Related to the frontend / User Interface labels Feb 22, 2026
@codspeed

codspeed Bot commented Feb 22, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 20.44%

⚠️ 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.

⚡ 34 improved benchmarks
✅ 10 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime test_api_options_performance[/api/order/po-line/] 166.1 ms 141.6 ms +17.27%
⚡ WallTime test_api_list_performance[/api/stock/] 162.1 ms 147.6 ms +9.82%
⚡ WallTime test_api_options_performance[/api/order/po/] 50.3 ms 44.7 ms +12.53%
⚡ WallTime test_api_list_performance[/api/build/item/] 331.6 ms 288.8 ms +14.81%
⚡ WallTime test_search_performance[supplierpart] 41.9 ms 36.6 ms +14.23%
⚡ WallTime test_search_performance[build] 37.8 ms 33.8 ms +11.92%
⚡ WallTime test_api_options_performance[/api/part/category/] 15 ms 13.8 ms +8.3%
⚡ WallTime test_api_list_performance[/api/order/so/] 48.1 ms 42.6 ms +13.13%
⚡ WallTime test_api_list_performance[/api/user/roles/] 9.2 ms 8.7 ms +6.35%
⚡ WallTime test_api_options_performance[/api/user/roles/] 6.6 ms 6 ms +10.06%
⚡ WallTime test_search_performance[all] 375.8 ms 338.4 ms +11.07%
⚡ WallTime test_api_list_performance[/api/parameter/] 12.4 ms 11.3 ms +9.61%
⚡ WallTime test_search_performance[partcategory] 14.2 ms 13.2 ms +7.63%
⚡ WallTime test_search_performance[part] 65.6 ms 57.4 ms +14.16%
⚡ WallTime test_api_list_performance[/api/part/] 76.9 ms 70.7 ms +8.82%
⚡ WallTime test_api_options_performance[/api/stock/location/] 25.5 ms 23.5 ms +8.37%
⚡ WallTime test_api_options_performance[/api/part/] 69.1 ms 60.8 ms +13.74%
⚡ WallTime test_search_performance[stockitem] 114.3 ms 100.5 ms +13.74%
⚡ WallTime test_api_list_performance[/api/parameter/template/] 9.2 ms 8.4 ms +9.66%
⚡ WallTime test_api_list_performance[/api/order/so/shipment/] 23 ms 20.9 ms +10.29%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing SchrodingersGat:logo-fix-backport (9534e8c) with 1.2.x (44387f3)

Open in CodSpeed

@codecov

codecov Bot commented Feb 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.05%. Comparing base (44387f3) to head (9534e8c).
⚠️ Report is 35 commits behind head on 1.2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##            1.2.x   #11399      +/-   ##
==========================================
+ Coverage   88.03%   88.05%   +0.01%     
==========================================
  Files        1292     1292              
  Lines       58523    58520       -3     
  Branches     1943     1943              
==========================================
+ Hits        51523    51529       +6     
+ Misses       6516     6507       -9     
  Partials      484      484              
Flag Coverage Δ
backend 89.26% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 91.78% <ø> (ø)
Backend General 93.38% <ø> (ø)
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 2df9eb8 into inventree:1.2.x Feb 22, 2026
32 of 33 checks passed
@SchrodingersGat
SchrodingersGat deleted the logo-fix-backport branch February 22, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed 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.

1 participant