Feature: Bar colours from the images of plan targets
Description
When planning fetches the image of a plan target, such as the icon of a YouTrack project, it takes the image's main
colour: transparent, white, black and grey pixels are left out, the others are grouped into buckets, and the largest
bucket gives the colour if it holds at least 5 % of the visible pixels. The text on it is black or white, whichever
has the higher WCAG contrast, which is always at least 4.5:1. The targets of the planning grid name both in
colour, an issue those of its project, once the image was fetched within the day.
Impact
The planning grid can show the bars of a project in the colour of its logo with readable text. A target without an image, with a grey image or whose image was not fetched yet keeps the colours of the branding.