You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Applications page: show the logo shipped with the app #8139
The Applications page shows the generic placeholder logo for apps when the repository is not reachable or disabled. The app drawer, fed by the same list-modules output, shows the correct logo for those apps, so the two views disagree.
The reason is that the table keeps the logo only when it is an absolute URL, which is what a repository serves. An app installed outside any repository publishes its logo with its own UI bundle, and list-modules reports that local path, which the table discards.
Proposed solution
Keep both logo sources for each row: the repository logo first, then the one the app published with its own bundle. Show the first one that loads, and fall back to the shipped default asset if none does.
Alternative solutions
Accept the local path as well and use it when the repository logo is missing. This is simpler, but a published bundle can disappear, and the row would then show a broken image instead of the placeholder.
Additional context
Reproduced by installing from the nethforge and after the installation, disable the repository and go to the application page
Page under test: Applications, /applications-center
Test apps are SoGo and WordPress: both ship a real logo in their own UI bundle. That matters — an app that ships none, like Mail, shows the generic placeholder before and after the fix, and would make the test look like a failure.
1. Setup
Node running core:3.22.0-dev.2
Enable the nethforge repository in Settings › Software repositories
The SoGo row shows the green SoGo circle, the WordPress row the blue W. On 3.21.1 both are the generic NethServer placeholder — that is the bug.
Rows for apps served by a still-enabled repository are unchanged
4. Table and app drawer agree
The issue is that the two views disagreed. Open the app launcher and compare.
SoGo and WordPress show the same logo in the drawer and in the table
Known, not a failure
The Mail row keeps the generic placeholder — it ships no logo of its own.
With no internet connectivity, the Applications page takes about 20 seconds to populate: list-modules waits on the repository HTTP timeouts before returning. The list is then complete and shows the shipped logos. This is server-side and pre-existing, unrelated to this PR.
@DavidePrincipi the fix just add to display the logo bundled in the app if the remote url is not reachable so in short you see
logo from https (like before) -> logo bundled in the app (new way) -> logo fail over of the ns8-core assets (like before)
However with no internet connectivity, the Applications page takes about 20 seconds to populate: list-modules waits on the repository HTTP timeouts before returning. The list is then complete and shows the shipped logos. This is server-side and pre-existing, unrelated to this PR.
While fetching remote logo makes sense in Software Center (first implemented in ui history) to display the app catalog, in app drawer and Applications page we'd aim to show the local app-provided logo, and fallback to default only if this doesn't exist.
IIUC the table component wants an absolute URL. We'd build it in the frontend data model, e.g. with window.location
losing this. Superseded by a redesign agreed with @DavidePrincipi.
#1281 made the Applications page fall back to the logo shipped inside the app
bundle. It works on core:3.22.0-dev.3, but it is a workaround in the wrong place.
list-modules was designed for Software Center, which lists remote resources
because its job is installing apps not yet in the cluster. The Applications page
lists what is already inside the cluster. It reused that API, and that is the
mismatch.
The plan:
New local-only action list-applications. No remote calls, returns installed
apps with the data the cluster already holds, logos included.
Progressive load on Applications and Cluster status: list-applications first
for a fast local list, then list-modules to merge in available updates.
Outside Software Center the UI never fetches absolute remote URLs. Where such
URLs are used they must be trusted, not defined by the app developer.
Separate bug found while testing, I will open it on its own. With the repository
hosts unreachable and one repository enabled, Applications takes 21.3 s to render
and Software Center 51.9 s. list-modules sweeps the repositories twice per call: list_available() and decorate_with_updates() both call _get_available_modules(), with no memoization. And _list_repository_modules writes cluster/repository_cache/<repo> only on
success, so a failure caches nothing and every page load pays the timeout again.
Activity
fix(applications): show the logo shipped with the app (#1281)
stephdl commentedon Aug 28, 2026
QA — core 3.22.0-dev.2 — Application logos
PR: NethServer/ns8-core#1281 — issue #8139
Page under test: Applications,
/applications-centerTest apps are SoGo and WordPress: both ship a real logo in their own UI bundle. That matters — an app that ships none, like Mail, shows the generic placeholder before and after the fix, and would make the test look like a failure.
1. Setup
core:3.22.0-dev.22. Repositories enabled — repository logo wins
3. Disable nethforge — the fix
The SoGo row shows the green SoGo circle, the WordPress row the blue W. On 3.21.1 both are the generic NethServer placeholder — that is the bug.
4. Table and app drawer agree
The issue is that the two views disagreed. Open the app launcher and compare.
Known, not a failure
list-moduleswaits on the repository HTTP timeouts before returning. The list is then complete and shows the shipped logos. This is server-side and pre-existing, unrelated to this PR.DavidePrincipi commentedon Aug 28, 2026
What happens to Applications page if public network is not reachable? Is the app list displayed? What is the displayed logo?
fix(applications): show the logo shipped with the app (#1281)
stephdl commentedon Sep 4, 2026
@DavidePrincipi the fix just add to display the logo bundled in the app if the remote url is not reachable so in short you see
logo from https (like before) -> logo bundled in the app (new way) -> logo fail over of the ns8-core assets (like before)
However with no internet connectivity, the Applications page takes about 20 seconds to populate: list-modules waits on the repository HTTP timeouts before returning. The list is then complete and shows the shipped logos. This is server-side and pre-existing, unrelated to this PR.
DavidePrincipi commentedon Sep 4, 2026
While fetching remote logo makes sense in Software Center (first implemented in ui history) to display the app catalog, in app drawer and Applications page we'd aim to show the local app-provided logo, and fallback to default only if this doesn't exist.
IIUC the table component wants an absolute URL. We'd build it in the frontend data model, e.g. with window.location
Revert "fix(applications): show the logo shipped with the app (#1281)" (
stephdl commentedon Sep 7, 2026
losing this. Superseded by a redesign agreed with @DavidePrincipi.
#1281 made the Applications page fall back to the logo shipped inside the app
bundle. It works on core:3.22.0-dev.3, but it is a workaround in the wrong place.
list-moduleswas designed for Software Center, which lists remote resourcesbecause its job is installing apps not yet in the cluster. The Applications page
lists what is already inside the cluster. It reused that API, and that is the
mismatch.
The plan:
list-applications. No remote calls, returns installedapps with the data the cluster already holds, logos included.
list-applicationsfirstfor a fast local list, then
list-modulesto merge in available updates.URLs are used they must be trusted, not defined by the app developer.
Separate bug found while testing, I will open it on its own. With the repository
hosts unreachable and one repository enabled, Applications takes 21.3 s to render
and Software Center 51.9 s.
list-modulessweeps the repositories twice per call:list_available()anddecorate_with_updates()both call_get_available_modules(), with no memoization. And_list_repository_moduleswritescluster/repository_cache/<repo>only onsuccess, so a failure caches nothing and every page load pays the timeout again.