[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: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais » Mon Apr 07, 2014 9:14 pm

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: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais » Mon Apr 07, 2014 9:56 pm

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: 1736
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Better Pagination for touch screens

Post by DavidIQ » Tue Apr 08, 2014 12:28 am

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: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais » Tue Apr 08, 2014 6:24 am

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

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

Re: Better Pagination for touch screens

Post by DavidIQ » Tue Apr 08, 2014 10:33 am

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 » Wed Apr 09, 2014 1:41 pm

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: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais » Wed Apr 09, 2014 7:33 pm

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 » Wed Apr 09, 2014 8:33 pm

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: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: Better Pagination for touch screens

Post by brunoais » Wed Apr 09, 2014 9:20 pm

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 » Sun May 25, 2014 11:24 am

To get this back on track:
3.png
3.png (9.55 KiB) Viewed 3140 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