Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
4 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
I may have missed it (Original Post) Tesha Aug 2023 OP
On which page do you mean? EarlG Aug 2023 #1
I enjoy reading Greatest first Tesha Aug 2023 #2
Ah, okay EarlG Aug 2023 #3
Great answers and very helpful. Tesha Aug 2023 #4

EarlG

(22,405 posts)
1. On which page do you mean?
Mon Aug 21, 2023, 10:28 PM
Aug 2023

The vast majority of the time you'd just want to use your browser's Back button to go back a page...?

Tesha

(20,917 posts)
2. I enjoy reading Greatest first
Tue Aug 22, 2023, 08:53 AM
Aug 2023

and I often go from one thread to the next. so a next/last button would be 'nice'

The browser back button works, but it sometimes wants me to confirm the move which is a pain.

I could use the breadcrumbs, which I just thought of - rambling thought with a usability focus.

Thanks for the update - you folks are amazing.

EarlG

(22,405 posts)
3. Ah, okay
Tue Aug 22, 2023, 10:18 AM
Aug 2023

I see what you're saying about having a Next/Previous link that would allow you to page through the Greatest threads in order, but unfortunately I'm not sure how it would be implemented. Once you click through to a thread from the Greatest page, you're on a "thread page" -- but the page doesn't know where you've come from to get to it, if that makes sense.

Say you arrived at the thread page from Latest instead of Greatest -- if that were the case and you saw Next/Previous links, you'd assume that you were paging through Latest threads, not Greatest threads. Or if you arrived at the thread from a forum, you'd assume the links would page you through the forum in order.

So if we were to put Next/Previous links on a thread page, we'd have to also track where you came from to get to that page, so that we're not showing the wrong Next/Previous links. It gets quite complicated I'm afraid, with a lot of room for things to go wrong. So this is probably something we're not going to be able to do.

As for your browser "confirming" the move when you hit the Back button, I can explain this and potentially how to avoid it. This is actually to do with how browsers work, it's not something inherent to DU.

If you're on the Greatest page and you change the filter options at the top -- say you change the date range from 24 hours to 12 hours -- you're submitting data to the DU database to tell it you want to view the page differently. After that data is submitted, the Greatest page reloads with the new view that you've asked for.

But because that reloaded page is a response to the data you submitted, if you leave the page and then come back to it (by clicking the browser's Back button) the reloaded page will still expect to receive data. When it doesn't receive it, it will ask you if you want to submit the data again (that's the "Confirm Form Resubmission" page.)

There is a way to work around this -- if you change the filter on the Greatest page, then once the page reloads, just click the big Greatest Discussions page title one more time. This will load the page again, but this time it will be a "normal" page load, and not a form submission. So when you click to a thread and then click your browser's Back button, you won't get the "Confirm Form Resubmission" page.

Tesha

(20,917 posts)
4. Great answers and very helpful.
Tue Aug 22, 2023, 07:45 PM
Aug 2023

Generally I understand the complex nature of DU, but not how incredibly complex it really is.
Thank you for the info - and for all the incredibly hard work that’s gone into this.

Latest Discussions»Help & Search»DU4 Questions & Answers»I may have missed it