[PATCH] Highlight New Events in Timeline
|Reported by:||Mikael Relbe||Owned by:||Mikael Relbe|
Highlight timeline events which are new since last visit
This is a suggestion to slightly change the presentation of new events on the Timeline. A patch is attached that implements the following.
New events since the Timeline was viewed last time are highlighted:
Pressing the Update button, revisiting or reloading the Timeline, will make the highlighting go away for the currently viewed events.
No highlighting is made when the Timeline is viewed for the first time!
This behaviour does not interfere with the case when a precise event on the Timeline is browsed, which is the case when a time stamp link directs a user to a precise event on the Timeline.
In case there are unread events on the Timeline, and a user is directed to it via a time stamp link, highlighting of the precise event takes precedence:
Database usage: The datetime of the latest (topmost) event, presented on the Timeline, is stored in the session_attribute table, with name timeline.lastread on datetime.isoformat.
(I didn't grasp how the date formatters in datefmt.py can be used with microseconds resolution. Using the inbuilt datetime.isoformat() should be fine, I hope you agree on this.)
Change History (45)
comment:2 by , 10 years ago
|Summary:||[PATCH] Highlight Unread Events in Timeline → [PATCH] Highlight New Events in Timeline|
by , 10 years ago
comment:12 by , 10 years ago
|Milestone:||next-major-0.1X → 0.13|
|Priority:||normal → highest|
|Severity:||normal → trivial|