dbcodeio / public

The Power of Databases, The Convenience of VS Code: All in One Place
15 stars 0 forks source link

Enhancement Proposal for Connection Color Settings #72

Closed devpkr1 closed 5 days ago

devpkr1 commented 1 week ago

Hi Mike,

I hope this message finds you well.

I have come up with an enhancement idea for the color settings related to connections. The proposal is to allow users to select a specific color for each connection. Once a color is chosen, it will be displayed in the Connection pane for that particular connection, as well as in the connected DBCode notebook.

I have attached some screenshots for your reference.

Image Image

Looking forward to your thoughts on this enhancement.

Best regards, Pradeep Kumar

mikeburgh commented 1 week ago

Not sure if I can set background in the DB Explorer, will have to look and see if that's been exposed.

Where are you thinking for the color in the notebook ?

devpkr1 commented 1 week ago

Its about color of the notebook header , i have used Navicat Premium where i have noted that when we set color to any connection then that color appears on that connection in the connection pane as well as in Header of the opened SQL query tab connected to that database connection.

You have already done this for notebook header but color is not displayed in the connections pane to the particular connection as i have sent you the screenshot.

mikeburgh commented 5 days ago

Confirmed, I can set the text color of the items in the tree, but not the background colors.. so cannot get that effect.

I can change the icon color, which you can see below (Maria and one of the Mongo's have been colored)… It works okay with Maria, might not look good with some of the others, and kinda loose some of that visual clue to which database type it is we get from the colors.

Screenshot 2024-10-24 at 7.38.53 PM.png

I think this one might need to be closed and re opened if VSCode ever open up the ability to change the background for individual items in the tree