*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Previous/next page buttons please
« on: January 01, 2014, 04:44:07 PM »
At the bottom left where the page number links are, would it be possible to get rid of the "Go Up" link and put in "Prev" and "Next" links instead?  They make much easier targets for touch screens than trying to hit a page  number.
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

Rama Set

Re: Previous/next page buttons please
« Reply #1 on: January 01, 2014, 04:45:28 PM »
Especially on a smartphone.

*

Offline Pete Svarrior

  • e
  • Planar Moderator
  • *****
  • Posts: 16073
  • (◕˽ ◕ ✿)
    • View Profile
Re: Previous/next page buttons please
« Reply #2 on: January 01, 2014, 04:46:44 PM »
Hmm, that should be easy enough. I'd probably keep the Go Up/Go Down buttons, as I expect some people might be using them, but adding a Next/Previous link is a good idea. We'll look into it.
Read the FAQ before asking your question - chances are we already addressed it.
Follow the Flat Earth Society on Twitter and Facebook!

If we are not speculating then we must assume

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: Previous/next page buttons please
« Reply #3 on: January 01, 2014, 04:53:50 PM »
I don't know about others, but I find the go up button completely useless.
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

*

Offline spoon

  • *
  • Posts: 1134
  • Foxy wins
    • View Profile
Re: Previous/next page buttons please
« Reply #4 on: January 01, 2014, 05:02:41 PM »
yeah, if you have a laptop with a trackpad or a touchscreen device, go up/down seems useless. I haven't used it once.

I can't speak for everybody though.
inb4 Blanko spoons a literally pizza

*

Offline Pete Svarrior

  • e
  • Planar Moderator
  • *****
  • Posts: 16073
  • (◕˽ ◕ ✿)
    • View Profile
Re: Previous/next page buttons please
« Reply #5 on: January 01, 2014, 05:39:20 PM »
Well, that was already an option. Apparently, SMF has two modes of displaying page links:

  • one that displays an untruncated list of all pages with arrows, e.g. « 1 2 3 4 5 »
  • one that tries to truncate the pages like 1 ... 5 and has no arrows

The truncating behaviour breaks for people who don't have JavaScript enabled, so I consider getting rid of this to be a benefit. Then again, it might get problematic with very long threads. We'll see how it works, and if it gets annoying, I'll look at hacking the two modes together. For the time being, the little arrows will now take you back and forth.

EDIT: I just realised how terrible this will be if a thread/board grows too much. Definitely just a temporary solution.
« Last Edit: January 01, 2014, 05:46:07 PM by pizaaplanet »
Read the FAQ before asking your question - chances are we already addressed it.
Follow the Flat Earth Society on Twitter and Facebook!

If we are not speculating then we must assume

Re: Previous/next page buttons please
« Reply #6 on: January 01, 2014, 05:54:58 PM »
Keep the GoUp button.  It saves a lot of finger scrolling to get back to the unread replies button, especially when the thread is full of wall texts.
I don't even care to find out what you're doing wrong, but I'm sure you're doing something wrong.

Offline Socker

  • *
  • Posts: 213
    • View Profile
Re: Previous/next page buttons please
« Reply #7 on: January 01, 2014, 08:25:34 PM »
Looking at some of the threads in CN that are well over 10 pages, the new style really doesn't work well with those. As the site grows, there will be more threads that reach that length, so I don't really see it as a good permanent solution.

*

Offline Pete Svarrior

  • e
  • Planar Moderator
  • *****
  • Posts: 16073
  • (◕˽ ◕ ✿)
    • View Profile
Re: Previous/next page buttons please
« Reply #8 on: January 01, 2014, 11:52:23 PM »
Looking at some of the threads in CN that are well over 10 pages, the new style really doesn't work well with those. As the site grows, there will be more threads that reach that length, so I don't really see it as a good permanent solution.
Yup:

EDIT: I just realised how terrible this will be if a thread/board grows too much. Definitely just a temporary solution.
Read the FAQ before asking your question - chances are we already addressed it.
Follow the Flat Earth Society on Twitter and Facebook!

If we are not speculating then we must assume

Rama Set

Re: Previous/next page buttons please
« Reply #9 on: January 02, 2014, 12:29:37 AM »
You could just stop posting in "The Mystery" and ">o<".

*

Offline Pete Svarrior

  • e
  • Planar Moderator
  • *****
  • Posts: 16073
  • (◕˽ ◕ ✿)
    • View Profile
Re: Previous/next page buttons please
« Reply #10 on: March 15, 2014, 11:00:12 AM »
Well, that was already an option. Apparently, SMF has two modes of displaying page links:

  • one that displays an untruncated list of all pages with arrows, e.g. « 1 2 3 4 5 »
  • one that tries to truncate the pages like 1 ... 5 and has no arrows

The truncating behaviour breaks for people who don't have JavaScript enabled, so I consider getting rid of this to be a benefit. Then again, it might get problematic with very long threads. We'll see how it works, and if it gets annoying, I'll look at hacking the two modes together. For the time being, the little arrows will now take you back and forth.

EDIT: I just realised how terrible this will be if a thread/board grows too much. Definitely just a temporary solution.
I think I managed to solve this. Pages should now truncate while still having the «/» arrows. While I'm reasonably confident that this code works, please let me know if you notice any strange behaviour.

Out of curiosity, do people think that « and » is a good way to mark these buttons? Should they be more visible? This is what they look like right now:


And here's an example of how they could be bigger and clearer:


Or we could make them images. I don't know if there's even a demand for that idea, but if there is, I'm open to suggestions. :)
Read the FAQ before asking your question - chances are we already addressed it.
Follow the Flat Earth Society on Twitter and Facebook!

If we are not speculating then we must assume

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: Previous/next page buttons please
« Reply #11 on: March 15, 2014, 02:18:10 PM »
Since the suggestion was designed to help fat fingered people with phones or tablets get to the next page easier, I would say that bigger, easier to hit targets would be better.
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.