Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI Feature] Add CSS customization option for optional visual indicator with accent color to distinguish separate deployments #5322

Open
2 tasks done
gpgn opened this issue May 3, 2024 · 1 comment
Labels
enhancement New feature or request ui Admin console user interface untriaged This issues has not yet been looked at by the Maintainers

Comments

@gpgn
Copy link

gpgn commented May 3, 2024

Motivation: Why do you think this is important?

As adoption of Flyte in our org grows, teams have one or multiple deployments of Flyte (for example, to separate dev, staging, prod) which may contain very similar projects and workflows making the UI near indistinguishable. We want to support our users and administrators to easily be able to identify at first glance in which environment they are operating, reducing cognitive load. Currently, we are doing this through a CSS workaround which adds a colored banner, but it would be great if this could be provided as a feature directly.

Goal: What should the final outcome look like, ideally?

Since the sidebar is always present, it provides an ideal location to include a noticeable border in an accent color.

image

Above: Example of a possible implementation (our current usage to distinguish production, staging, and development environments).

An alternative/extension could involve providing the possibility of adding a name for the deployment as well, which would be shown in the accent color. This option is more visually cluttered however, and less visible if not combined with the vertical bar.

Other alternatives could include allowing the Flyte logo and/or "Flyte" text at the top of the sidear to be colored as well, but as this impacts the branding I've not included it a serious option.

image

This would be set as flyteconsole.sidebarAccentColor: #ffffff in the Helm chart, picked up as SIDEBAR_ACCENT_COLOR in flyteconsole (optionally with ENABLE_SIDEBAR_ACCENT_COLOR, or similar). I could work on an initial PR if this finds traction.

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@gpgn gpgn added enhancement New feature or request ui Admin console user interface untriaged This issues has not yet been looked at by the Maintainers labels May 3, 2024
Copy link

runllm bot commented May 3, 2024

Currently, there is no built-in method to customize the Flyte admin's CSS directly from the configuration to distinguish between different deployments visually, such as changing the sidebar color or adding a deployment name in the UI. This feature is not supported as per the existing discussions on the Flyte community platform. You may need to continue using CSS workarounds or consider contributing to the project by developing this feature. Would you like more details on how to contribute to Flyte or other potential solutions within the current capabilities?

Sources:


This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.

Mention @RunLLM to ask follow-up questions. See runllm.com for more!

@gpgn gpgn changed the title [UI Feature] Add optional visual indicator with accent color to distinguish separate deployments [UI Feature] Add CSS customization option for optional visual indicator with accent color to distinguish separate deployments May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui Admin console user interface untriaged This issues has not yet been looked at by the Maintainers
Projects
None yet
Development

No branches or pull requests

1 participant