Roundup Tracker - Issues

Issue 1876221

classification
Provide next/prev links
Type: rfe Severity: normal
Components: Interface Versions:
process
Status: open
:
: richard : ajaksu2, loewis, mephinet, pefu, richard
Priority: normal : patch

Created on 2008-01-21 05:44 by loewis, last changed 2012-08-01 16:11 by ezio.melotti.

Files
File name Uploaded Description Edit Remove
issue1876221.patch mephinet, 2009-03-08 15:54 patch against svn rev. 4176
search_navigation.png mephinet, 2009-03-08 15:55 screenshot
Messages
msg3490 Author: [hidden] (loewis) Date: 2008-01-21 05:44
[forwarded from http://psf.upfronthosting.co.za/roundup/meta/issue4]

When browsing issues resulting from a search, it would be nice if there were next/prev links on each issue, so that one could go through the search results without having to return to the result's index.

In Mozilla, this feature is provided as a set of links, looking like this:

Bug List:  (12 of 200) First  Last  Prev  Next   Show last search results

Apparently, it uses a cookie to implement a per-user latest bug list, however, there are certainly alternative approaches to provide that feature.
msg3620 Author: [hidden] (mephinet) Date: 2009-03-08 15:54
I've tried to come up with a patch that implements the "search
navigation" functionality in the classic tracker. What it does:

* The SearchAction creates a unique ID for each search and creates an
entry in the user's session that remembers the search URL for the
created unique search ID.

* The issue.index page stores the search result in the session, using
the search id as a key.

* The issue.item page, when coming from the issue.index page, adds
additional links to the page to:
 - go to the previous match
 - go to the next match
 - return to the search result

The search ID is passed on from the index page to the item page by
adding a variable to the GET request. This makes the URLs a bit ugly,
but is required so that multiple searches in multiple browser tabs don't
get in each other's way.

Please review & comment!
msg3625 Author: [hidden] (ajaksu2) Date: 2009-03-10 18:16
Philipp,
Thanks for the patch! This is a neat implementation, but I'd rather
achieve the same goal with less data in cookies.

IIUC, the issue.item page has the search URL embedded, but once you lose
the cookie you'd have to perform a SearchAction to be able to navigate
after clicking Next/Previous?

Also, I'm developing against 1.4.2, which doesn't have client.session_api :(

I think we can pass both IDs and the pointer in the URL, looks ugly but
is easy to share/bookmark/whatever :)

Daniel
msg4458 Author: [hidden] (pefu) Date: 2011-10-21 07:20
http://psf.upfronthosting.co.za/roundup/meta/issue4 has been set to
resolved by ezio.melotti today.
subscribed myself.
History
Date User Action Args
2012-08-01 16:11:06ezio.melottisetfiles: - issue40.html
2012-08-01 16:11:04ezio.melottisetfiles: - issue39.html
2012-08-01 16:11:03ezio.melottisetfiles: - issue38.html
2012-08-01 16:11:01ezio.melottisetfiles: - issue37.html
2012-08-01 16:10:59ezio.melottisetfiles: - issue36.html
2012-08-01 16:10:57ezio.melottisetfiles: - issue35.html
2012-08-01 16:10:55ezio.melottisetfiles: - issue34.html
2012-08-01 16:10:48ezio.melottisetfiles: - issue33.html
2012-08-01 16:10:39ezio.melottisetfiles: - ex32.html
2012-08-01 16:10:36ezio.melottisetfiles: - ex31.html
2012-08-01 16:10:34ezio.melottisetfiles: - ex30.html
2012-08-01 16:10:31ezio.melottisetfiles: - ex29.html
2012-08-01 16:10:29ezio.melottisetfiles: - ex28.html
2012-08-01 16:10:26ezio.melottisetfiles: - ex27.html
2012-08-01 16:10:24ezio.melottisetfiles: - ex26.html
2012-08-01 16:10:21ezio.melottisetfiles: - ex25.html
2012-08-01 16:10:08ezio.melottisetfiles: - shoptramadol37.html
2012-08-01 16:10:05ezio.melottisetfiles: - shoptramadol36.html
2012-08-01 16:10:02ezio.melottisetfiles: - shoptramadol35.html
2012-08-01 16:09:56ezio.melottisetfiles: - shoptramadol34.html
2012-08-01 16:09:51ezio.melottisetfiles: - shoptramadol33.html
2012-07-12 20:49:25bersetfiles: - shoptramadol38.html
2012-07-12 20:49:21bersetfiles: - shoptramadol39.html
2012-07-12 20:49:16bersetfiles: - shoptramadol40.html
2012-06-27 22:25:55bil65klo3setfiles: + shoptramadol40.html
2012-06-27 22:25:49bil65klo3setfiles: + shoptramadol39.html
2012-06-27 22:25:44bil65klo3setfiles: + shoptramadol38.html
2012-06-27 22:25:38bil65klo3setfiles: + shoptramadol37.html
2012-06-27 22:25:32bil65klo3setfiles: + shoptramadol36.html
2012-06-27 22:25:26bil65klo3setfiles: + shoptramadol35.html
2012-06-27 22:25:21bil65klo3setfiles: + shoptramadol34.html
2012-06-27 22:25:15bil65klo3setfiles: + shoptramadol33.html
2012-06-14 22:35:32bok70amo0setfiles: + ex32.html
2012-06-14 22:35:27bok70amo0setfiles: + ex31.html
2012-06-14 22:35:21bok70amo0setfiles: + ex30.html
2012-06-14 22:35:16bok70amo0setfiles: + ex29.html
2012-06-14 22:35:11bok70amo0setfiles: + ex28.html
2012-06-14 22:35:04bok70amo0setfiles: + ex27.html
2012-06-14 22:34:58bok70amo0setfiles: + ex26.html
2012-06-14 22:34:49bok70amo0setfiles: + ex25.html
2012-06-13 21:37:26bil65klo3setfiles: + issue40.html
2012-06-13 21:37:20bil65klo3setfiles: + issue39.html
2012-06-13 21:37:14bil65klo3setfiles: + issue38.html
2012-06-13 21:37:09bil65klo3setfiles: + issue37.html
2012-06-13 21:37:04bil65klo3setfiles: + issue36.html
2012-06-13 21:36:59bil65klo3setfiles: + issue35.html
2012-06-13 21:36:52bil65klo3setfiles: + issue34.html
2012-06-13 21:36:45bil65klo3setfiles: + issue33.html
2011-10-21 07:20:12pefusetnosy: + pefu
messages: + msg4458
2009-03-10 18:16:25ajaksu2setnosy: + ajaksu2
messages: + msg3625
2009-03-08 15:55:05mephinetsetfiles: + search_navigation.png
2009-03-08 15:54:40mephinetsetfiles: + issue1876221.patch
keywords: + patch
messages: + msg3620
2009-03-07 16:50:45mephinetsetnosy: + mephinet
2008-01-21 05:44:41loewiscreate