[PR #2511] [MERGED] Add prev and next button to navigate through different pages #6007

Closed
opened 2026-02-05 10:22:26 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2511
Author: @ghost
Created: 1/27/2021
Status: Merged
Merged: 5/29/2021
Merged by: @ssddanbrown

Base: masterHead: prev-next-button


📝 Commits (1)

  • 99c4203 Add prev and next button to navigate through different pages

📊 Changes

6 files changed (+89 additions, -1 deletions)

View changed files

📝 app/Entities/Models/Page.php (+9 -0)
📝 app/Entities/Repos/PageRepo.php (+6 -0)
📝 app/Http/Controllers/PageController.php (+37 -1)
📝 resources/sass/_layout.scss (+19 -0)
📝 resources/sass/_text.scss (+6 -0)
📝 resources/views/pages/show.blade.php (+12 -0)

📄 Description

  • Added feature to navigate through the different pages.

  • This will help the user to navigate through different pages without scrolling above and clicking on the page.

  • User can directly switch to the next page from the bottom of the page.

  • This feature will be more helpful if the user using mobile/tab then, the user doesn't have to switch to the info tab from the content tab to view the next page.
    bookstack1

  • After the implementation of this feature user can view the next or previous page without switching to the info tab from the content tab.

bookstack2

Prev and Next button functionality can be seen in the attached video below:

https://user-images.githubusercontent.com/57482557/105948778-98804680-6091-11eb-9eff-893d7b3482e6.mp4


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2511 **Author:** [@ghost](https://github.com/ghost) **Created:** 1/27/2021 **Status:** ✅ Merged **Merged:** 5/29/2021 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `prev-next-button` --- ### 📝 Commits (1) - [`99c4203`](https://github.com/BookStackApp/BookStack/commit/99c42033b1ede3af48f7479a5c1b82dc2cd912e9) Add prev and next button to navigate through different pages ### 📊 Changes **6 files changed** (+89 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/Entities/Models/Page.php` (+9 -0) 📝 `app/Entities/Repos/PageRepo.php` (+6 -0) 📝 `app/Http/Controllers/PageController.php` (+37 -1) 📝 `resources/sass/_layout.scss` (+19 -0) 📝 `resources/sass/_text.scss` (+6 -0) 📝 `resources/views/pages/show.blade.php` (+12 -0) </details> ### 📄 Description - Added feature to navigate through the different pages. - This will help the user to navigate through different pages without scrolling above and clicking on the page. - User can directly switch to the next page from the bottom of the page. - This feature will be more helpful if the user using mobile/tab then, the user doesn't have to switch to the info tab from the content tab to view the next page. ![bookstack1](https://user-images.githubusercontent.com/57482557/105949293-789d5280-6092-11eb-88a5-ca60decc14d0.png) - After the implementation of this feature user can view the next or previous page without switching to the info tab from the content tab. ![bookstack2](https://user-images.githubusercontent.com/57482557/105949307-7dfa9d00-6092-11eb-8ef6-203df23b39d2.png) Prev and Next button functionality can be seen in the attached video below: https://user-images.githubusercontent.com/57482557/105948778-98804680-6091-11eb-9eff-893d7b3482e6.mp4 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:22:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6007