-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ellipses stylable and provide more CSS hooks to pagination markup #14
Conversation
Great! Only concern: the removed class When doing changes here, what about changing the structure for a better semantic meaning? Probably a |
You're right, CSS/JS references to
CSS/JS references to
Templates using
So I see two paths: either we keep Re: existing deployments, not completely sure about this case but I think Plone 5 should be the major version where we fix all these old markup issues, shouldn't it? So integrators should already expect a bit more work, alongside Barceloneta changes. |
Did you search in a Plone 4.3 installation?
and
I wonder, if nextprevious functionality couldn't be changed to use plone.batching's navigation directly? With only these few references, it's easier to change it to Existing deployments/projects will still break, if they customize the batch navigation styles and use listingBar. I did such customizations myself in a lot of (Plone 4.3 based) projects. But if this change is good documented (raise at least minor version, document in CHANGES.rst and the upgrade guide) I'm all for modernizing our HTML layout, which is out of date on a number of places. |
Yep, that was the count for Plone 4.3.7. For P5 coredev it is much smaller: CSS/JS references to
CSS/JS references to
Templates using
So my doubt now is: should I propose PRs to the P5 packages only or to all listed in my previous comment, thus providing the improvements to P4 too? IMO at least the ellipsis separation in its own DOM element is an addition that will be appreciated for the P4 series (many projects still begin with it). Re: nextprevious, I agree but maybe that change should pertain to another PR? |
I would add the Next pull request would be to remove listingBar, add the nav/ul/li HTML structure, change references to listingBar and div.listingBar in all Plone 5 core packages and document the changes properly. This would make a plone.batching |
3b529fa
to
b0a5673
Compare
Thanks for the suggestions! I updated the PR and successfully ran tests locally for |
I've added a Jenkins Job for this pull request. You can see it running below ("Some checks haven’t completed yet"). Should go green if all is OK. This job runs the whole test suite, including Robot tests. You can add such Pull-Request jobs here: http://jenkins.plone.org/job/pull-request-5.0/build |
Thanks, @thet. It seems we have a green light :) |
Make ellipses stylable and provide more CSS hooks to pagination markup
Done! Tnx. |
No description provided.