MMM-Trello icon indicating copy to clipboard operation
MMM-Trello copied to clipboard

Add support for multiple lists

Open Jopyth opened this issue 9 years ago • 2 comments

Simply use comma-separated lists, and maybe possibility to add all lists on a board (empty string)

Jopyth avatar Aug 10 '16 13:08 Jopyth

Did anything come of this enhancement? Right now I'm trying to display 6 lists on one MMM and it's not playing nicely.

hoofta avatar Aug 08 '18 00:08 hoofta

I am in no way a programmer but I do like playing around to see what happens. I do not know how this works, or if it will always work, or if it is what you are looking for, but for now it is working for me. I have been using MM to create a work board with upcoming events and whatnot and needed multiple lists to display without scrolling through. This was so we can see tasks at hand indefinitely. I have been able to get two lists from Trello to work by simply using the key after "id" in the Trello json for the second list on the board. I did have to use the key after "idList" for the first list, otherwise it would throw "error:404". I did this by making two modules with different keys, while this may not be what you are looking for I can say that having multiple lists without separate boards is nice. Even better, the id of the specific list is searchable in the json by your list title!

Here is the Trello section of my MM config file, API key and token omitted and list key obscured of course:

 {
                        module: "MMM-Trello",
                        position: "top_left",
                        classes: "trellolargerfont",
                        config: {
                                api_key: "YOUR API KEY HERE",
                                token: "YOUR TOKEN HERE",
                                list: "5aXXXXXXXXXXXXXXXXXXXX2a",
                                showTitle: "true",
                                }
                },
                {
                        module: "MMM-Trello",
                        position: "top_center",
                        classes: "trellolargerfont",
                        config: {
                                api_key: "YOUR API KEY HERE",
                                token: "YOUR TOKEN HERE",
                                list: "5bXXXXXXXXXXXXXXXXXXXXe8",
                                showTitle: "true",
                                }
                },

And of course a screenshot: screen shot 2018-08-14 at 8 02 32 pm

Pattanner92 avatar Aug 15 '18 00:08 Pattanner92