[RFC] Better Pagination for touch screens

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
Post Reply
User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais »

Nope. I just wanted to confirm if it was worth it... I'll make it anyway, then. But not today.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais »

If you need js (non-mozilla browser), you can try this code, for now:

Code: Select all

var isTouch = (('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0));
source: http://stackoverflow.com/a/15439809/551625

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Better Pagination for touch screens

Post by DavidIQ »

Like I said, this is already being done:
https://github.com/phpbb/phpbb/blob/dev ... ore.js#L18
Image

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais »

Ah, right *facepalm* thanks.
Is the CSS @media (CSS4 & -moz) also done?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Better Pagination for touch screens

Post by DavidIQ »

I'm not really sure what is being loaded or how that's being determined at view time. I do know it is somehow being determined in the Backend since things look different when on a tablet or smartphone. Arty knows more although we could probably figure it out by looking at the "responsive layout" changes he did.
Image

Alien_Time
Registered User
Posts: 165
Joined: Fri Apr 05, 2013 3:38 am

Re: Better Pagination for touch screens

Post by Alien_Time »

Kamahl19 wrote:I would prefer to change pagination for everybody,
+1. Its not just for touchscreens, even people using touchpads sometimes have trouble. Not everyone uses mouse.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais »

Isn't a touchpad a device with a touch screen?
If it is a touch screen, then it deserves to have it the same way to allow the touch to happen. I just want to avoid what I ad to put up with win8 that is also happening all over the web.
"Don't do a touch 1st, do both at the same time, for the crying out loud!"
We want stuff to work for both not just the touch screens. I still like my dearest mouse ^^.
My mistake. I associated the name to the thing wrongly. Sorry.
Last edited by brunoais on Wed Apr 09, 2014 9:26 pm, edited 1 time in total.

User avatar
Kamahl19
Registered User
Posts: 161
Joined: Thu Dec 27, 2007 10:31 am

Re: Better Pagination for touch screens

Post by Kamahl19 »

No, touchpad is the small board on notebooks. I also use it when I don use my touch screen and it is hard to click on such a small pagination. I dont even know why we are talking about changing pagination for only touch devices. It does not fit into the design. Everything should be redesigned according to new buttons including pagination.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais »

Ah! Sorry. Wrong naming. (ups).
I have the same precision in my laptop with the touch pad than I have with my mouse in all aspects. Is that abnormal? Sometimes I even see myself using the touchpad instead of the mouse because it is more in handy than the mouse itself... I see myself using it when I program. I just use the thumb to move the mouse (and consequently, the cursor) to the next place to write. Depending on the situation, I use the thumb or just the keyboard in order to move the cursor to the right place.

Am I an exception?

User avatar
PayBas
Registered User
Posts: 305
Joined: Tue Jul 29, 2008 6:08 pm
Contact:

Re: Better Pagination for touch screens

Post by PayBas »

To get this back on track:
3.png
3.png (9.55 KiB) Viewed 14986 times
Does anyone seriously use the page jump? We already know we are on page 6, and we also already know there are 19 pages. So I would just get rid of it. If you're looking for a specific post on a specific page, you would use "search this topic".
And everybody understands arrows, so there's no need for words like "Next" and "Previous".

Post Reply