dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.37k stars 348 forks source link

Proposal: Enable branding config for Aspire Dashboard #3925

Open timheuer opened 2 months ago

timheuer commented 2 months ago

Consider exposing a small set of properties via CSS that could enable 'branding' of the Aspire Dashboard a bit more.

An example of this is the HealthChecksUI, that comes with a default experience: image

But with providing a branding CSS file can be customized: image

Exposing a small set of branding UI properties via environment variables and or mapping a CSS file for the Dashboard would enable those who are desiring a branded experience (maybe using hosted container image) a simple way rather than rebuild the source itself with adjustments.

Example methods HealthChecksUI uses:

Recommended customizations:

kvenkatrajan commented 2 months ago

@leslierichardson95 - lets discuss details/timeframe etc.

samsp-msft commented 2 months ago

@timheuer - With all due respect, NO. The dashboard is not intended as a component that others can take, rebrand and use in different places. We will have extensibility for adding more modules.

Once you have people adding their own CSS, the opportunity for conflicts, especially during ongoing development is not worth the risk.

timheuer commented 2 months ago

Let’s not close things without a discussion and have PM participate (as noted from Kay).