Ideas. Standard Style Improvements.

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB's style.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB or modifying styles of released phpBB versions. If you need support for phpBB please visit the Support Forums on phpbb.com.

If you have questions regarding creating styles please post in Styles Support & Discussion to receive proper guidance from our staff and community.
User avatar
hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 905
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Ideas. Standard Style Improvements.

Post by hanakin » Tue Apr 02, 2019 6:34 pm

So one idea is to not have it infinitely scroll at first. But to instead still require to use of the nav, to go to the next set first then uniformly scroll from there. This would allow you to see the footer initially the normal way then from there you still have the top and bottom nav jump buttons.

As for the knowing where you were we could change the center to show the top most post number currently on the screen after the first page. This could update on scroll. And easily be passed through on click. So let’s say we display 25 topics per page.

The next button loads the next 25 from the number currently shown on the nav. Scrolling would do the same it would take the displayed number and load 25 topics from that number. So if you can see let’s say 10 topics per page and the number showed 50, then it would load topics 50-74..

This means that you would always have 15 more topics to view. It would also have to load 5 extra to the top for buffer for scrolling up.

We could detect how many are on the screen at anytime in order to provide more granular functionality to Mobile/tablet basically based on the height of your browser.


We can easily solve the navigation issues on mobile as well by making the nav parallax sticky. Meaning that once to scroll past it it becomes sticky at the top of the screen. And reverts going the other direction.
Donations welcome via Paypal Image

User avatar
david63
Registered User
Posts: 273
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: Ideas. Standard Style Improvements.

Post by david63 » Tue Apr 02, 2019 9:07 pm

Whilst all of this "fancy" scrolling is admirable from a technical perspective, and possibly a challenge in development terms, I think that we are loosing sight at who all of this is aimed at - the end user, not developers, not extension/style creators, not board owners but the end user.

Changing how users navigate a board is one of the most contentious issues that are raised by the users when major changes are introduced.
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 905
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Ideas. Standard Style Improvements.

Post by hanakin » Tue Apr 02, 2019 9:11 pm

That’s all well and good but change is inevitable and that’s one major reason why we are releasing this as a major version. Besides it will all be done via js and fallback to normals without it so you can simply disable it for your forum.

Also keep in mind with chameleon we can and will have several components in the library that can be easily swapped out eventually so we can easily have both in core but not in the theme 😉
Donations welcome via Paypal Image

Post Reply