Add Activity block to My Page
|Assignee:||Jean-Philippe Lang||% Done:|
It's nice to be able to see the recent activity across all projects in which one might be involved. This patch creates an addition block for inclusion on My Page which extracts all the activity information for today and yesterday.
I would have liked to make the number of past days configurable, and also the types of activity (bugs, wiki, msg, news, etc) to be included in the report configurable, but I saw no good way to do it.
The _activity.rhtml file goes in the ./app/views/my/blocks directory.
#1 Updated by W Snyder about 10 years ago
+1 Nice, I'm going to use it on my site.
WRT showing two days; I'd like to see it do what the Moin Moin Wiki does; it has a button that says "Set Bookmark" this sets a date field in the user record with the timestamp of the youngest message shown (not current time to prevent races), and the recent activity only shows activity younger than that timestamp. It also has a "show 1, 2, 3, 7, 14, 30, 60, 90 days" button that overrides that.
The bookmarking is really, really nice, because it works no matter how infrequently you check in, you see what you haven't seen before. You can also decide when you've absorbed the info. I use it constantly, and have turned off emails on my MoinMoin accounts because it's so much nicer to deal with it all at once.
If you don't get to adding bookmarks maybe I'll make a stab at it, but can't be soon.