[PATCH 0/5] gitk: make color preferences visually more pleasing and better usable
"Johannes Sixt via GitGitGadget" <[email protected]> Thu, 06 Aug 2026 06:40:13 +0000
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
I find the user interface to set the color preferences a bit ugly for these reasons: * The color samples are not clickable as one would expect who enters the dialog. Instead, the description is the button that must be clicked. * Since the descriptive texts are different for the preferences, the width of the buttons are different, too. * The descriptions themselves are not always natural language (read: they are nerdy) and use abbreviations. This series makes the descriptions static text and turns the color samples into the clickable buttons. It also makes the descriptions and dialog titles more natural language. This is the dialog before the change: Screenshot_color_buttons_before [https://github.com/user-attachments/assets/910a647f-4e56-47b0-b4c4-e6e7bc966e9c] And this is the dialog after the change: Screenshot_color_buttons_after [https://github.com/user-attachments/assets/d985d837-1b1e-4b43-8bcd-76bca8d060ce] Johannes Sixt (5): gitk: set intitial colors of swatches using the available helper gitk: condense repetitive code around color buttons into foreach loops gitk: show color preferences on the button instead of the label gitk: use more natural language for labels of color preferences gitk: avoid constructing dialog titles from text pieces gitk-git/gitk | 123 ++++++++++++++++++++++++-------------------------- 1 file changed, 59 insertions(+), 64 deletions(-) base-commit: a97fcc37c2bc6340a8d7ce78dedf227aac4e9aa7 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2194%2Fj6t%2Fgitk-prefs-color-buttons-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2194/j6t/gitk-prefs-color-buttons-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/2194 -- gitgitgadget