Skip to content
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

Add support for removal of "next" and "back" buttons on the bottom of each page. #34

Open
AGaiki opened this issue Jun 14, 2021 · 8 comments
Assignees
Labels

Comments

@AGaiki
Copy link
Contributor

AGaiki commented Jun 14, 2021

Hey there! I've noticed that there is no way for a user to remove the "next" and "back" buttons on the bottom of each page, for specific pages. Having these buttons for specific pages, such as landing pages, is especially pointless. In my opinion, having it as an option in the metadata section for each page would be a good implementation.

@geoffreymcgill geoffreymcgill self-assigned this Jun 14, 2021
@geoffreymcgill geoffreymcgill added this to the v1.7 milestone Jun 14, 2021
@geoffreymcgill
Copy link
Contributor

Thanks for the feature request. I agree, Retype should have the ability to configure this functionality in the page metadata. At the project level too would be nice, for instance, disable site wide.

This should be easy for us to add. We will try to get it into the next release v1.7.0.

Just need to figure out what those property names should be called.

@geoffreymcgill geoffreymcgill modified the milestones: v1.7, v1.8 Jun 22, 2021
@geoffreymcgill
Copy link
Contributor

We will be implementing configs to control the hide, show, and exclude of the nextprev buttons, but we need to bump to the v1.8.0 release.

@geoffreymcgill
Copy link
Contributor

This functionality did not make it into v1.8.0. It's still a very high priority feature for us to implement, but we need to wrap this up into a larger refactoring of the templates functionality.

@geoffreymcgill geoffreymcgill removed this from the v1.8 milestone Aug 4, 2021
@matkuliak
Copy link

Hi. Just wondering if this feature is still considered or it was dropped, I don't see it mentioned in your docs yet. I could use it. Thanks

@geoffreymcgill
Copy link
Contributor

@matkuliak It should be easy for us to do, but we just got pulled in a different direction with higher priority tasks. I don't think we ever settled on what the configuration names should be. That is probably the hardest part of this feature, just naming the config(s).

Reading above, looks like we were thinking about:

nextprev: hide|show|exclude

The nextprev config would be available as both a Page and Project level configuration.

@AGaiki
Copy link
Contributor Author

AGaiki commented Dec 19, 2021

@matkuliak It should be easy for us to do, but we just got pulled in a different direction with higher priority tasks. I don't think we ever settled on what the configuration names should be. That is probably the hardest part of this feature, just naming the config(s).

Reading above, looks like we were thinking about:

nextprev: hide|show|exclude

The nextprev config would be available as both a Page and Project level configuration.

Just for curiosity's sake, what would the difference between hide and exclude be?

@geoffreymcgill
Copy link
Contributor

geoffreymcgill commented Dec 23, 2021

Default value for nextprev would be show.

Config Description
show Show the Previous / Next buttons on this page.
hide Hide the Previous / Next buttons on this page, but keep the page in the same sequential order. The Next button on the previous page would still link to this page. The Previous button on the next page would still link to this page.
exclude Hide the Previous / Next on this page and exclude this page from the sequential ordering of pages in the previous and next pages. The Next button on the previous page would not link to this page. The Previous button on the next page would not link to this page.

Hope this makes sense.

@geoffreymcgill
Copy link
Contributor

This feature is still on our radar and will likely be implemented in Retype v3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants