apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Adding color support for environments

Open ashitaprasad opened this issue 10 months ago • 18 comments

Tell us about the task you want to perform and are unable to do so because the feature is not available

When a new environment is created it can be assigned a color. This color can be used to highlight the environment name in the dropdown when the user is switching the environment.

For example, user can assign the color RED for prod env & GREEN for dev env.

ashitaprasad avatar Feb 22 '25 17:02 ashitaprasad

I would like to work on this issue. Please assign me.

Jaishree2310 avatar Feb 27 '25 18:02 Jaishree2310

@ashitaprasad how you are expecting the user to choose the color in the ui

AffanShaikhsurab avatar Mar 02 '25 18:03 AffanShaikhsurab

@ashitaprasad how you are expecting the user to choose the color in the ui

@AffanShaikhsurab yes

ashitaprasad avatar Mar 02 '25 23:03 ashitaprasad

here which approch would be better any suggestions ?

Image


Image

AffanShaikhsurab avatar Mar 04 '25 14:03 AffanShaikhsurab

here which approch would be better any suggestions ?

Image

Image

How does it look when you open the dropdown?

ashitaprasad avatar Mar 04 '25 22:03 ashitaprasad

Currently I didn’t implemented the color of the each dropdown element

AffanShaikhsurab avatar Mar 05 '25 07:03 AffanShaikhsurab

@ashitaprasad is this feature has been implemeneted??? Can I work on it??

WannaCry016 avatar Mar 13 '25 13:03 WannaCry016

@WannaCry016 you can work on it.

ashitaprasad avatar Mar 13 '25 17:03 ashitaprasad

Is this feature is implemented ? I want to work on this

MDJAVEED7 avatar Apr 19 '25 17:04 MDJAVEED7

@MDJAVEED7 Sure you can work on it.

animator avatar Apr 19 '25 18:04 animator

Still the issue is open now

sudhar08 avatar May 14 '25 18:05 sudhar08

@sudhar08 yes

WannaCry016 avatar May 14 '25 19:05 WannaCry016

Yes @sudhar08 You can work on it if you have a better UX in mind.

animator avatar May 14 '25 19:05 animator

Hi, i have implemented the following. Should i open a PR for the same or any changes are requiured?

Image Image Image

shashank-lol avatar Nov 08 '25 07:11 shashank-lol

@shashank-lol where are you selecting the color?

animator avatar Nov 12 '25 23:11 animator

When adding a new env, a color is automatically assigned to the env, the user can then change it by clicking on the 3 dot menu, Currently I only have added 8 color options to choose from.

shashank-lol avatar Nov 13 '25 05:11 shashank-lol

@shashank-lol I will recommend not to assign colors randomly and make the option to choose color more prominent instead of hiding it under 3 dots.

animator avatar Nov 14 '25 15:11 animator

So should i add a default color that will be assigned whenever a new env is created or when the user creates a new env i should let him select a color there itself (in this case i feel i should ask the user to choose a name for the env also instead of assigning untitled)

shashank-lol avatar Nov 18 '25 08:11 shashank-lol

For changing colors i can add the functionality to click on the color dot and change the color from there

shashank-lol avatar Nov 18 '25 08:11 shashank-lol