Issue #3347474: Fix Icon patch for Type Tray with the Origin URL (scheme and HTTP host) of the site
3 unresolved threads
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -183,14 +183,19 @@ class TypeTrayController extends NodeController {
Just for clarity, can we maybe define here directly the default URL we want to use? So instead of
$origin_url_type_tray = $origin_url . '/' . $this->moduleList->getPath('type_tray');
we can use
$default_thumbnail_url = $origin_url . '/' . $this->moduleList->getPath('type_tray') . static::TYPE_TRAY_DEFAULT_THUMBNAIL_PATH;
and then just use
$default_thumbnail_url
as the fallback in the ternary check down below? I think this makes things a bit clearer. Thanks!
This comment seems innacurate? Can we replace with something that explains why we calculate all this at this point? Maybe something along the lines of