> The "hide the bots" feature request made me think (unbelievable, not?):
> What ever happened to that nice new Recent Changes page? The one with
> optional JavaScript? (I'm too lazy to dig up the mail)
> Someone working on that? Is there a demo page? Some source?
> IMO it should go online soon, if only as Yet Another User Option. If
> it's fast, nice, and bug-free, it should become standard.
Magnus,
thanks for the support. No, so far I have only done the graphical mock-up
and thought about the implementation. Do you want to help coding it?
I suggest creating a separate "SpecialRecentchangesDynamic.php". The
JavaScript for dynamic opening/closing can be taken from Scoop CVS, it
works in both IE and Mozilla. The table generation is a bit tricky because
of the positioning of the "diff" links, which also need to use the correct
change IDs (unlike the current diff links). Also, we need to create a
function for fetching just the HTML for a specific change.
It doesn't make much sense to make it the standard because the main
advantage (being able to dynamically view an individual recent history)
only works in modern browsers. Older browsers would still see the changes
in summarized form, but be unable to expand an individual set of changes,
which would make the view a disadvantage when compared to the current one.
(I get the impression that this dynamic expand/collapse concept was not
well transferred by the mock-up I made. I really suggest looking at
Kuro5hin's "dynamic threaded" comment mode to see what I mean.)
Regards,
Erik