Ticket #675 (closed enhancement: fixed)
add paramifier "recent:N" to show N most recently modified tiddlers on startup
| Reported by: | EricShulman | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.1 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
as described in the summary, this paramifier makes it easy to open a document and immediately view the most recently changed tiddlers.
config.paramifiers.recent= {
onstart: function(v) {
var titles=[];
var tids=store.getTiddlers("modified","excludeLists").reverse();
for (var t=0; t<v && t<tids.length; t++)
titles.push(tids[t].title);
story.displayTiddlers(null,titles);
}
};
Change History
Note: See
TracTickets for help on using
tickets.
