Jump to
JumpToEndOrRecentChanges#MostRecentChange or
Most Recent Change or
#MostRecentChange (just variations of the link).
Question
In topics with extended discussions (such as
CoffeeBreak), it would be useful to be able to provide a link at the beginning that jumps quickly to the most recent change, or perhaps more simply to the end of the topic. I've looked through variables and searches but don't see a ready way to achieve this. I realize that "recent changes" could be anything from a few edits spread throughout a topic or addition of a large chunk of text somewhere. Still I think it would be useful even to simply to be able to jump to the beginning of whatever is the most recent edit. Short of that, simply being able to jump to the very end of the topic would be useful and perhaps easier to implement.
Anyone see a way to do this within current TWiki capability or should I repost this under feature brainstorming?
- TWiki version: Dec 01
- Web server:
- Server OS:
- Web browser:
- Client OS:
--
LynnwoodBrown - 19 Apr 2002
Answer
.This is a "workaround" to accomplish what you want now, with no changes to TWiki. You might still want to list it under feature brainstorming if you want something more clever than this -- perhaps something that automatically puts an anchor(s) at the most recent change(s??). Mention that you are aware of the possibility of using manually inserted anchors:
(paraphrased from
TWikiFormattingRules:) To define an anchor, type #AnchorName at the beginning of a line. To link to an anchor use the
MyTopic#MyAnchor syntax.
Edit this topic (or view it "raw") to see the hidden #MostRecentChange anchor.
You could include the anchor to the most recent change or to the end of the topic in the topic template, along with a brief instruction like move #MostRecentChange anchor to just before the most recent change. (Or, make all your changes before the #EndOfPage anchor.)
All that said:
- it seems easy enough to scroll down (if HTML could selectively load only parts of a page it might be different -- as it is for me now, the worst part of a long page is waiting for the whole thing to load over my dial up modem)
- if I were voting, I'd vote for better diffs (word style diffs) before this change
--
RandyKramer - 19 Apr 2002
Randy - thanks for that suggestion and I had looked at using the anchor function. I was hoping for an approach that didn't require manually update the anchor each time a change or addition to discussion was added.
One approach that occurs to me is If I could capture the text string at the beginning of the last edit, then I could do a search within the topic for that string. It seems like there should be some way to achieve this without requiring some new function or variable.
Anyway, Let see if any more ideas come up.
--
LynnwoodBrown - 20 Apr 2002
Absolutely!
--
RandyKramer - 20 Apr 2002
Just clarifying my intent by moving the #MostRecentChange anchor to the most recent change. See the HTML comments in edit mode for a better understanding.
--
RandyKramer - 28 Jul 2002