Skip to content

handle invalid and nonexistent icon paths in coder_app #14759

@matifali

Description

@matifali

Problem

When we set a coder_app icon to a nonexistent path Coder dashboard is not able to render the icon and instead shows something like the image below.

image

This can happen when a coder module with a coder_app using a built in icon is used with an older Coder deployment not having that icon.

For example the cursror module icon is added to main but is not available in any Coder release yet.

Suggested solution

When the icon is set to a non existent icon let us skip rendering and it only show the display_text.

Metadata

Metadata

Assignees

Labels

customer-reportedBugs reported by enterprise customers. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy