Hi Tim

I'm getting errors using your TiddlyKanBanPlugin in TW version 2.8.1 (no 
errors in TW version 2.6.5) :

Error Syntax error, unrecognized expression: 
.kanbancolumn[kanbanstate="[tagName1]",.kanbancolumn[kanbanstate="[tagName2]", 
etc

Despite from the errors - the plugin seems to work fine. 

Is it somehow possible to remove the error notification?

https://github.com/tim-barnes/TiddlyKanban/blob/master/Kanban.js

//Create the kanban
                 var states = params;
                 var table = createTiddlyElement(place, 'span', null, 
'kanbantable', null);
                        var ids = "";
                        var width = (100 / states.length) - 1.5;
                                        
                        for (j=0; j< states.length; j++) {
                                var state = states[j];
                                
                                var stateDiv = createTiddlyElement(table, 
'div', null, 'kanbancolumndiv', null);
                                jQuery(stateDiv).css('width', width + "%");
                                
                                var header = createTiddlyElement(stateDiv, 
'div', null, 'kanbancolumnheader', state);
                                var column = createTiddlyElement(stateDiv, 
'div', null, 'kanbancolumn', null);
                                jQuery(column).attr("kanbanstate", state);
                                                                                
        
                                var tiddlers = store.getTaggedTiddlers(state);
                                
                                ids += ".kanbancolumn[kanbanstate=" + state + 
"],";
                                
                                for (k = 0; k < tiddlers.length; k++) {
                                        this.create_workitem(tiddlers[k], 
column, state);
                                }
                                
                                //Create a new tiddler link at the base of each 
Kanban column
                                var newLink = "<<newTiddler 
tag:%0>>".format(state);
                                wikify(newLink, stateDiv);                      
          
                        }


Cheers Måns Mårtensson

Den søndag den 20. november 2011 23.15.25 UTC+1 skrev Tim Barnes:
>
> Hi All
>
> I don't know if this will be useful for anyone, but I use kanbans a
> lot for personal productivity and wanted one in a form I could carry
> around with me.  As a consequence I've written a Kanban plugin.
>
> It will show in a tiddler a kanban with a set of configurable
> columns.  Work cards are tiddlers tagged with the column name, and the
> position in the kanban can be changed by dragging and dropping the
> card between the columns.
>
> At the moment the code and an example TiddlyWiki are on github here:
> https://github.com/tim-barnes/TiddlyKanban
>
> If there is enough interest I may post it to a plugin repository.  I'm
> new to javascript, css and writing plugins in general, so any feedback
> would be much appreciated!
>
> Thanks
>
> Tim
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to