Skip to content

Applications page: show the logo shipped with the app #8139

Description

@stephdl

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

See also

NethServer/ns8-core#1281

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingPackages are available from testing repositories

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions