git-log--graph icon indicating copy to clipboard operation
git-log--graph copied to clipboard

OPINION: hide git-log--graph.branch-colors list in settings

Open dimateos opened this issue 5 months ago • 1 comments

A minor detail:

git-log--graph.branch-colors takes a long time to scroll and IMO text-based HEX colors are not something a user is going to edit there. I mean there is no color preview / picker, so its hard to know what are you editing / removing. Image

Maybe using a proxy object or whatever similar to git-log--graph.branch-color-custom-mapping: Image

This adds the default setting to the JSON, and then there are many extensions that show color preview/pickers on text files e.g. Image

dimateos avatar Jul 07 '25 16:07 dimateos

I've ever been using the json-based way of editing settings so I wasn't aware of this. Perhaps we just change the default value from this huge-ass array to null and instead apply the fallback in the source code internally? It's rare this option is gonna be edited anyway, after all. Making it an object setting like you suggested is also feasible, but then some day VSCode might add a GUI for that too and then we're stuck with an established format and can't change it.

phil294 avatar Jul 08 '25 20:07 phil294