Skip to content

Replace parse url function

be924cd
Select commit
Loading
Failed to load commit list.
Open

GOOWOO-447: Implement image proxying for generated images to bypass adblockers #3248

Replace parse url function
be924cd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 16, 2026 in 1s

66.2% (-0.0%) compared to 686c940

View this Pull Request on Codecov

66.2% (-0.0%) compared to 686c940

Details

Codecov Report

❌ Patch coverage is 62.14953% with 81 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.2%. Comparing base (686c940) to head (be924cd).

Files with missing lines Patch % Lines
js/src/hooks/useAdBlockImage.js 6.5% 37 Missing and 6 partials ⚠️
...Site/Controllers/Ads/AssetImageProxyController.php 81.9% 25 Missing ⚠️
js/src/utils/getProxiedImageUrl.js 0.0% 6 Missing and 4 partials ⚠️
.../asset-group/asset-group-editor/images-selector.js 88.2% 2 Missing ⚠️
...p/asset-group-editor/asset-group-images-section.js 0.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                         Coverage Diff                         @@
##             feature/GOOWOO-383-genai-assets   #3248     +/-   ##
===================================================================
- Coverage                               66.3%   66.2%   -0.0%     
- Complexity                              5267    5293     +26     
===================================================================
  Files                                    898     901      +3     
  Lines                                  27419   27624    +205     
  Branches                                1645    1658     +13     
===================================================================
+ Hits                                   18174   18298    +124     
- Misses                                  9004    9075     +71     
- Partials                                 241     251     +10     
Files with missing lines Coverage Δ
...up/asset-group-editor/gen-ai-image-picker/index.js 43.5% <100.0%> (ø)
...ernal/DependencyManagement/RESTServiceProvider.php 100.0% <100.0%> (ø)
...p/asset-group-editor/asset-group-images-section.js 8.3% <0.0%> (-0.8%) ⬇️
.../asset-group/asset-group-editor/images-selector.js 82.4% <88.2%> (-0.7%) ⬇️
js/src/utils/getProxiedImageUrl.js 0.0% <0.0%> (ø)
...Site/Controllers/Ads/AssetImageProxyController.php 81.9% <81.9%> (ø)
js/src/hooks/useAdBlockImage.js 6.5% <6.5%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.