Badger is a Chrome extension for adding and viewing arbitrary badges and weightings to Trello cards.
- Clone the repository to a local directory.
- Go to
chrome://extensionsin Chrome. - Click Load unpacked extension...
- Select the directory to which you cloned the repository.
- Open Trello in a new tab. You should see a Badger icon on the right-hand side of the address bar.
- Tag:
#mytag - Dependency:
d(X), whereXis the ID of another card - Time estimate:
~X, whereXis a number of days. This will be aggregated at the top of the list. - Weight/score:
(X), where X is a number. This will be aggregated at the top of the list.
To customise badges/lists, click the Badger icon on the right-hand side of the address bar to edit the JSON configuration file.
Each card badge is identified by the following fields:
name: Badge name/typefield: Internal badge identifiericon: The Font Awesome icon to display on the badgeregex: Text to be matched and removed from the card titletextColor: Badge text foreground colourbgColor: Badge background colourfontSize: Font size for badge textfontWeight: Font weight for badge text
name: See abovefield: See aboveicon: See aboveregex: See abovetextColor: See abovebgColor: See abovefontSize: See abovefontWeight: See abovereduce: JavaScript function used to reduce information from cards in the list down to a single value (e.g. producing "2 weeks and 3 days" by summing time estimates from each card)reduceInit: Initial value for reduce function