[PR #3999] [MERGED] Improve Book Sorting User Experience #6282

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/3999
Author: @ssddanbrown
Created: 1/27/2023
Status: Merged
Merged: 1/27/2023
Merged by: @ssddanbrown

Base: developmentHead: sort_ui_improvements


📝 Commits (6)

  • a3e7e75 Improves sortable ux
  • 7cacbaa Added functionality/logic for button-based sorting
  • 40e112f Extracted text & added dropdown for book sort move actions
  • 022cbb9 Finished off design and fixing of sort buttons
  • b649738 Made book-sort changes based on screen reader testing
  • 87e371f Added prevention of nested chapters on sort

📊 Changes

11 files changed (+314 additions, -59 deletions)

View changed files

📝 resources/js/components/book-sort.js (+191 -10)
📝 resources/js/components/entity-selector.js (+0 -10)
📝 resources/js/services/keyboard-navigation.js (+1 -1)
📝 resources/lang/en/entities.php (+12 -0)
📝 resources/sass/_layout.scss (+5 -0)
📝 resources/sass/_lists.scss (+34 -3)
📝 resources/sass/styles.scss (+3 -7)
resources/views/books/parts/sort-box-actions.blade.php (+26 -0)
📝 resources/views/books/parts/sort-box.blade.php (+34 -17)
📝 resources/views/books/sort.blade.php (+8 -5)
📝 resources/views/entities/selector.blade.php (+0 -6)

📄 Description

  • Fixes multi-select functionality.
  • Adds a range of button-based move actions/shortcuts.
  • Makes interface much more accessible to keyboard & screen-reader.
  • Updated other books to be sticky.
  • Added some general intro/desc text.
  • Updated sort boxes to be collapsible.
  • Cleaned up other books styling.

Related to #3987


🔄 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/3999 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 1/27/2023 **Status:** ✅ Merged **Merged:** 1/27/2023 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `sort_ui_improvements` --- ### 📝 Commits (6) - [`a3e7e75`](https://github.com/BookStackApp/BookStack/commit/a3e7e754b94a77e6608e1bd35316f849c514a8e5) Improves sortable ux - [`7cacbaa`](https://github.com/BookStackApp/BookStack/commit/7cacbaadf0dc2d9b94e163597bd2b3d2cc05be53) Added functionality/logic for button-based sorting - [`40e112f`](https://github.com/BookStackApp/BookStack/commit/40e112fc5b4896c52d5aa09ea2ad2a9da6eccfa1) Extracted text & added dropdown for book sort move actions - [`022cbb9`](https://github.com/BookStackApp/BookStack/commit/022cbb9c004561c902bfea86221424cf2fdb03ac) Finished off design and fixing of sort buttons - [`b649738`](https://github.com/BookStackApp/BookStack/commit/b649738718fb62632574530392299f9aa9bbf53b) Made book-sort changes based on screen reader testing - [`87e371f`](https://github.com/BookStackApp/BookStack/commit/87e371ffde35043b8d889d4012fee0fbdf5a0e36) Added prevention of nested chapters on sort ### 📊 Changes **11 files changed** (+314 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `resources/js/components/book-sort.js` (+191 -10) 📝 `resources/js/components/entity-selector.js` (+0 -10) 📝 `resources/js/services/keyboard-navigation.js` (+1 -1) 📝 `resources/lang/en/entities.php` (+12 -0) 📝 `resources/sass/_layout.scss` (+5 -0) 📝 `resources/sass/_lists.scss` (+34 -3) 📝 `resources/sass/styles.scss` (+3 -7) ➕ `resources/views/books/parts/sort-box-actions.blade.php` (+26 -0) 📝 `resources/views/books/parts/sort-box.blade.php` (+34 -17) 📝 `resources/views/books/sort.blade.php` (+8 -5) 📝 `resources/views/entities/selector.blade.php` (+0 -6) </details> ### 📄 Description - Fixes multi-select functionality. - Adds a range of button-based move actions/shortcuts. - Makes interface much more accessible to keyboard & screen-reader. - Updated other books to be sticky. - Added some general intro/desc text. - Updated sort boxes to be collapsible. - Cleaned up other books styling. Related to #3987 --- <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:28:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6282