Jopyth / MMM-Trello

This an extension for the MagicMirror. It provides a very simple Trello integration, by displaying cards in a list.
54 stars 25 forks source link

add wholeList config option #6

Closed izanbard closed 7 years ago

izanbard commented 7 years ago

I use trello as a to do list in a really simple way, where each card only consists of a title (no description, checklist or anything else). As such it makes more sense to view the whole list at once.

To that end I have added a config option wholeList that is default false - thus default behaviour remains unchanged - setting it to true simply renders all cards in the list as per your other settings. I acknowledge that if each card has a deadline, description and checklist then the full render will be pretty ugly. In this case either leave wholeList false or set MMM-Trello to not show deadline, description or checklist until you have what you want.

I have also altered the refresh rate when viewing the whole list to be the same as the reload rate, as there is no need to keep re-rendering the same list.

The meat of the change is on lines 125-131 with the rest of that section being indent changes.

Jopyth commented 7 years ago

Thanks!