David Can I also ask how the plugin chronologically sorts status update entries? What prompts the question is that I found through use that it uses a date/time tiddler name that drops the leading zeros. If it sorts on the tiddler title (as I think it should) then losing the leading zero will result in some entries being in the wrong order chronologically. In one of my first attempts at this I sorted on Tiddler creation date (much more logical. However, I soon found that this only worked if I was never too busy, and was always able to enter status updates as they happen. Alas, I sometimes catch-up after the event and enter status updates from several days previously. That's when I changed the sort to the tiddler name (which can always be manually backdated).
So could I suggest, a date default of "YYYY.0MM.0DD_0hh:0mm" for the tiddler name, sorting on tiddler names (and probably something in the plugin notes to explain how and why it works this way - if you agree). Stuckagain On Tuesday, 7 February 2012 14:54:27 UTC, David Szego wrote: > > Hi all... > I more or less packaged StuckAgain's excellent idea of using Journals > as Project Status Updates into a plugin ... > > I say "more or less" because it adds the code so it won't get > overwritten, and gives instructions on how to add the other necessary > Tiddlers, all in one place. > > Some caveats: > * I've re-term'd StuckAgain's use of "Journal" entries as project > notes, to "Status Updates" -- This keeps them separate from "Journal" > entries (which may be useful for actual personal journal entries). > This is also a little more appropriate for me as a Project Manager. > * Project names with (parenthesis) don't get their Status Updates > listed. Something to do with the tags:[['$1']] in the mgtdList choking > on the brackets. > * I've changed the date format to "YYYY/MM/DD - hh:0mm", which reads > like: "2012/2/6 - 21:36" ... You can change this in the plugin, but do > keep in mind that this changes the order. > * The Project Dashboard has been appended with a full-width area at > bottom for Status Updates > * Added a + button for new Status Updates (with instructions on > changing the label) > > Check it out at > http://www.thinkcreatesolve.biz/mGSDMeetingEnhancements.html > - scroll down to the [[Example Project]] > The plugin is in [[mGSDProjectStatusUpdatesPlugin]], or copied below > in this message. > > Anyways, would love some help debugging the ( ) issue ... Kudos to > "StuckAgain" who is the proper author! This is just a compilation (and > tweaking) of his work! > > -- David Szego > > ---------------- > > /*** > |Name:|mGSDProjectStatusUpdatesPlugin| > |Description:|Creates "New Status Update" macros| > |Version:|1.0| > |Date:|6-Feb-2012| > |Source:|Based on http://mptw.tiddlyspot.com/#NewHerePlugin and > http://groups.google.com/group/gtd-tiddlywiki/browse_thread/thread/27... > |Author:|"StuckAgain", David Szego <[email protected]> based on Simon > Baird <[email protected]> and the thread above| > |License|http://mptw.tiddlyspot.com/#TheBSDLicense| > !!!To Install: > Please add a Tiddler called [[StatusUpdateView]], containing: > //{{{ > <slider Status Updates> > <<mgtdList startTag:StatusUpdate > dontShowEmpty:no > tags:[['$1']] > sort:-date > gView:bold > ignoreRealm:yes > view:TiddlerText > > </slider> > //}}} > And in the [[TagDashboards]] Tiddler, make the last divs of the ''! > Projects'' section, just before the ''!Context'' section, look like > this (shown in-place): > //{{{ > <!--}}}--> > > </div> > </div> > <p> > <div class="cols3"> > <hr style="width: 98%;"> > <div macro="newStatusUpdateHere" style="float:left;"></div><div > macro="tiddler StatusUpdateView with:{{tiddler.title}}" > style="float:left; clear:none;"></div> > </div> > > <!--}}}--> > > !Context > //}}} > And in your CSS [[StyleSheet]], add: > //{{{ > // Additions for mGSDProjectStatusUpdatesPlugin > .sliderPanel { width: 98%; }; > .sliderPanel h1, .sliderPanel h2, .sliderPanel h3, .sliderPanel h4, > .sliderPanel h5, .sliderPanelh6 {font-weight:bold; text- > decoration:none; > color:black} > .sliderPanel h1, .sliderPanel h2, .sliderPanel h3 {padding-bottom:1px; > margin-top:1.2em;margin-bottom:0.3em;} > .sliderPanel h4,.sliderPanel h5,.sliderPanel h6 {margin-top:1em;} > .sliderPanel h1 {font-size:1.35em;} > .sliderPanel h2 {font-size:1.25em;} > .sliderPanel h3 {font-size:1.1em;} > .sliderPanel h4 {font-size:1em;} > .sliderPanel h5 {font-size:.9em;} > .sliderPanel .mgtdList .innerList br { display:inline!important; } > .sliderPanel span.action { > font-size:1.2em; > font-weight:bold; > padding-top:9px; > padding-bottom:9px; > } > .sliderPanel hr { width: 98%; } > //}}} > !!!Code: > !!!!This adds a New Status Update button: > //You can change the ''label:'' to anything you'd like// > ***/ > //{{{ > merge(config.macros, { > newStatusUpdateHere: { > handler: > function(place,macroName,params,wikifier,paramString,tiddler) > { > wikify("<<newJournal \"YYYY/MM/DD - hh:0mm\" label:'+' > tag:StatusUpdate [["+tiddler.title+"]]>>",place,null,tiddler); > } > } > > }); > > //}}} > /*** > !!!!This adds a StatusUpdate view method: > ***/ > //{{{ > merge(Tiddler.prototype,{ > //TiddlerText with contents - additional to core TiddlerViewMethods > tiddler > render_TiddlerText: function() { > var showControl= ""; > var mydisplayType = ""; > var tid_length=""; > mydisplayType += store.getTiddlerText(this.title); > tid_length +=mydisplayType; > if (tid_length !="null") {showControl += '<<tiddler [[%0]]>>\n<hr/ > > > \n'; } > > return this.renderUtil( > '{{action{'+ > ' [[%0]] '+ > '<<deleteTiddler [[%0]]>>'+ > '\n'+ > '}}} %1', > [ > this.title, > showControl.format([this.title]) > ] > ); > }, > }); > > //}}} On Tuesday, 7 February 2012 14:54:27 UTC, David Szego wrote: > > Hi all... > I more or less packaged StuckAgain's excellent idea of using Journals > as Project Status Updates into a plugin ... > > I say "more or less" because it adds the code so it won't get > overwritten, and gives instructions on how to add the other necessary > Tiddlers, all in one place. > > Some caveats: > * I've re-term'd StuckAgain's use of "Journal" entries as project > notes, to "Status Updates" -- This keeps them separate from "Journal" > entries (which may be useful for actual personal journal entries). > This is also a little more appropriate for me as a Project Manager. > * Project names with (parenthesis) don't get their Status Updates > listed. Something to do with the tags:[['$1']] in the mgtdList choking > on the brackets. > * I've changed the date format to "YYYY/MM/DD - hh:0mm", which reads > like: "2012/2/6 - 21:36" ... You can change this in the plugin, but do > keep in mind that this changes the order. > * The Project Dashboard has been appended with a full-width area at > bottom for Status Updates > * Added a + button for new Status Updates (with instructions on > changing the label) > > Check it out at > http://www.thinkcreatesolve.biz/mGSDMeetingEnhancements.html > - scroll down to the [[Example Project]] > The plugin is in [[mGSDProjectStatusUpdatesPlugin]], or copied below > in this message. > > Anyways, would love some help debugging the ( ) issue ... Kudos to > "StuckAgain" who is the proper author! This is just a compilation (and > tweaking) of his work! > > -- David Szego > > ---------------- > > /*** > |Name:|mGSDProjectStatusUpdatesPlugin| > |Description:|Creates "New Status Update" macros| > |Version:|1.0| > |Date:|6-Feb-2012| > |Source:|Based on http://mptw.tiddlyspot.com/#NewHerePlugin and > http://groups.google.com/group/gtd-tiddlywiki/browse_thread/thread/27... > |Author:|"StuckAgain", David Szego <[email protected]> based on Simon > Baird <[email protected]> and the thread above| > |License|http://mptw.tiddlyspot.com/#TheBSDLicense| > !!!To Install: > Please add a Tiddler called [[StatusUpdateView]], containing: > //{{{ > <slider Status Updates> > <<mgtdList startTag:StatusUpdate > dontShowEmpty:no > tags:[['$1']] > sort:-date > gView:bold > ignoreRealm:yes > view:TiddlerText > > </slider> > //}}} > And in the [[TagDashboards]] Tiddler, make the last divs of the ''! > Projects'' section, just before the ''!Context'' section, look like > this (shown in-place): > //{{{ > <!--}}}--> > > </div> > </div> > <p> > <div class="cols3"> > <hr style="width: 98%;"> > <div macro="newStatusUpdateHere" style="float:left;"></div><div > macro="tiddler StatusUpdateView with:{{tiddler.title}}" > style="float:left; clear:none;"></div> > </div> > > <!--}}}--> > > !Context > //}}} > And in your CSS [[StyleSheet]], add: > //{{{ > // Additions for mGSDProjectStatusUpdatesPlugin > .sliderPanel { width: 98%; }; > .sliderPanel h1, .sliderPanel h2, .sliderPanel h3, .sliderPanel h4, > .sliderPanel h5, .sliderPanelh6 {font-weight:bold; text- > decoration:none; > color:black} > .sliderPanel h1, .sliderPanel h2, .sliderPanel h3 {padding-bottom:1px; > margin-top:1.2em;margin-bottom:0.3em;} > .sliderPanel h4,.sliderPanel h5,.sliderPanel h6 {margin-top:1em;} > .sliderPanel h1 {font-size:1.35em;} > .sliderPanel h2 {font-size:1.25em;} > .sliderPanel h3 {font-size:1.1em;} > .sliderPanel h4 {font-size:1em;} > .sliderPanel h5 {font-size:.9em;} > .sliderPanel .mgtdList .innerList br { display:inline!important; } > .sliderPanel span.action { > font-size:1.2em; > font-weight:bold; > padding-top:9px; > padding-bottom:9px; > } > .sliderPanel hr { width: 98%; } > //}}} > !!!Code: > !!!!This adds a New Status Update button: > //You can change the ''label:'' to anything you'd like// > ***/ > //{{{ > merge(config.macros, { > newStatusUpdateHere: { > handler: > function(place,macroName,params,wikifier,paramString,tiddler) > { > wikify("<<newJournal \"YYYY/MM/DD - hh:0mm\" label:'+' > tag:StatusUpdate [["+tiddler.title+"]]>>",place,null,tiddler); > } > } > > }); > > //}}} > /*** > !!!!This adds a StatusUpdate view method: > ***/ > //{{{ > merge(Tiddler.prototype,{ > //TiddlerText with contents - additional to core TiddlerViewMethods > tiddler > render_TiddlerText: function() { > var showControl= ""; > var mydisplayType = ""; > var tid_length=""; > mydisplayType += store.getTiddlerText(this.title); > tid_length +=mydisplayType; > if (tid_length !="null") {showControl += '<<tiddler [[%0]]>>\n<hr/ > > > \n'; } > > return this.renderUtil( > '{{action{'+ > ' [[%0]] '+ > '<<deleteTiddler [[%0]]>>'+ > '\n'+ > '}}} %1', > [ > this.title, > showControl.format([this.title]) > ] > ); > }, > }); > > //}}} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/eVf_quRqfrgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

