.. include:: /Includes.rst.txt .. _bugfix-1792971126: ============================================================== Bugfix: Bars of freshly opened lanes get their colours at once ============================================================== Description =========== With a YouTrack connection, the bars of the planning grid take their colours from the project image. The grid never waits for a source, so a lane whose image was not fetched yet came without colours, and they only appeared after the page was reloaded. The browser now asks for the colours of such lanes once their images have loaded, in one request for all of them (``GET /api/v1/plan-targets/colours``), and paints the bars. Nothing is asked when every lane has its colours, and the grid response still never waits for a source. Impact ====== Bars take their colours as soon as a lane is open; nothing to do. The API gains the read operation ``getPlanTargetColours``. .. index:: API, package:adsum-planning