hasadna / Open-Knesset

A project aimed at making the Israeli Knesset more transparent. Python and Django based
http://oknesset.org/
BSD 3-Clause "New" or "Revised" License
105 stars 174 forks source link

Add a browsing history component #187

Open ofri opened 11 years ago

ofri commented 11 years ago

save the user's browsing history in the session, so that we can show it to them (to help finding again pages they visited). this should only include pages of specific entities (i.e., pages that have an id in their url), and pages that have been visited for longer than 2 minutes.

visually, add a side tab (like feedback) that shows these pages with links to them.

Tudmotu commented 10 years ago

Such a feature can be implemented client-side-only, using sessionStorage in the browser (no server-side development should be required). Is that an acceptable approach? Most notably it will mean support in IE8+ (no IE7/6).

Also, should this include pages that are both entity-specific and viewed for more than 2 minutes, or pages that either entity-specific or viewed for more than 2 minutes?