acadsamplesdb / acad_samples

ACAD samples database
0 stars 0 forks source link

Add “Next” and “Previous” page buttons [ACAD #14] #39

Open sgoodswen opened 8 years ago

sgoodswen commented 8 years ago

Add “Next” and “Previous” page buttons to navigate between the various sample pages

Li-ReDBox commented 8 years ago

Thought: replace this with another pagination?

sgoodswen commented 8 years ago

I am checking with some SamplesDB users about your idea of another pagination and will get back to you.

sgoodswen commented 8 years ago

The [Next] and [Previous] buttons are wanted for the actual sample page (please see attached). So, in this example, the [Next] button navigates you to sample ACAD10577 and [Previous] to ACAD10575.

Furthermore, users would like to return to a previously viewed page. For example, is it possible to record a history of recently selected pages, and then a user can select a page that was viewed previously from a dropdown box?

< Historical record of pages> https://upload-fix.oagr.org.au/sample/ https://upload-fix.oagr.org.au/sample/77/ https://upload-fix.oagr.org.au/sample/ https://upload-fix.oagr.org.au/sample/10/ https://upload-fix.oagr.org.au/sample/10/edit/

In the above example, a record of the user selecting the samples page, then sample #77, followed by editing sample #10 is recorded as URLs. The request is so that the user can easily go back to sample #77 by selecting “https://upload-fix.oagr.org.au/sample/77/“ from a dropdown box containing previously selected pages.

screen shot sample page

Li-ReDBox commented 8 years ago

Just to confirm: do you want [Next] [Previous] buttons on detail page?

sgoodswen commented 8 years ago

Sorry, I'm not sure what you mean by 'detail page'

Li-ReDBox commented 8 years ago

The page accessed with url like this: https://upload-fix.oagr.org.au/sample/10/

sgoodswen commented 8 years ago

Yes, this is the page we want the [Next] [Previous] buttons