Trello coloured lists for Tampermonkey updated to v4.x

Coloured lists make identifying their purpose quicker at a glance
Coloured lists makes identifying their purpose quicker at a glance

This evening I updated a script I first wrote back in March 2014. I wrote about it on the old University of St Andrews web team blog.

The script, which runs in the browser using an add-on such as Tampermonkey, lets you define Trello list titles to search for, and then apply a background colour to it.

It’s not a particular complex script. I daresay it could be optimised further, but it has such a low impact on performance that I’m happy to leave it as it is.

Improvements for v4.0.0 include:

  • NEW Add code to allow titles to be case-insensitive (so ‘DONE’, ‘Done’ and ‘done’ are covered with the same rule).
  • FIX Make code easier to read and therefore update.
  • FIX Add better comments.
  • CHANGE Allow titles to be grouped together (in alphabetical order) in the same rule, to prevent a lot of duplicate code.
  • CHANGE Change colours to a more cohesive set.
  • CHANGE Reorganise rules by colour.
  • CHANGE Update UserScript block.
  • CHANGE Update license to GNU General Public License v3.0.
  • CHANGE Update README.md file to provide more useful information.

Update

Saturday 4 November 2017

I made a further couple of fixes this morning:

  • FIX Ensure colour of labels while editing is consistent regardless of background colour. There was a bug in the previous code where you couldn’t read the text while editing dark list titles.
  • FIX Scrum for Trello – Ensure list totals are visible on dark lists.

Check out the code on GitHub.

Published by

Gareth Saunders

I’m Gareth J M Saunders, 48 years old, 6′ 4″, father of 3 boys (including twins). Scrum master at Vision Ltd, Dundee. Latterly, web architect and agile project manager at the University of St Andrews and former warden at Agnes Blackadder Hall. Enneagram type FOUR and introvert, I am a non-stipendiary priest in the Scottish Episcopal Church, I sing with the NYCGB alumni choir, play guitar, write, draw and laugh… a lot.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.