Support more sublevel in chapters
It should be interesting if we could use at least one more level of sub-chapter in a book. Collapsible sections are also interesting.
Would prefer bookshelves myself.
+1 for subchapters
+1 for bookshelves (and permissions on those) -1 for subchapters (if choosing is needed, otherwise both)
+1 for either bookshelves or subchapter, this is merely a semantic issue. This feature would be great, especially when Bookstack is used in company environments where you need to manage and categorize massive amounts of knowledge.
bookshelves and subchapters are both very useful. But if I had to choose, bookshelfes would be more important to me. I also like @fredericmohr´s idea of adding a pagination for head tags ~~(could be done similar to mediawiki, where a pagination is generated if there are more than n headings), which could be a replacement for subchapters.~~ oops, just saw that this is already implemented
+1 there's no reason not to gonna make my own clone with it
I support this idea. But instead of an subchapter, i like the idea of bookshelves/collections. I use Bookstack for writing down stuff from university. And it is horrible to sort it like i need it. I would just need that one layer more to get out of the chaos. (I have a book for every main topic, then inside the book i use chapters for the main chapters in this topic, but one chapter has more than 50 pages with at least a minimum of 3 different subtopics. So this is chaos. I could do this all in different books, but then there is no red line anymore to learn them, i have to re-sort them, everytime i want to learn an old topic)
I would also like to know what going on now with this topic. It is now 2 years old, so many people want this, nobody is against this idea... so what is going on?
@iBooster This issue is not being ignored, I promise. It's just that this is no small task and will require a lot of fundamental re-working of BookStack to be done properly due to the core role that Books currently play.
Time is not free, All contributors are helping in their own time. As per the latest blog post (Next steps section) I am looking to plan out how to go about this as part of this release cycle.
I've been thinking about this a little more, Thought it would be good to plan out a proposal. I've got some time off in a couple of weeks where I could crack on to get this done. Here's the proposal:
BookShelves
- Sit above Books in the hierarchy.
- Can only contain Books as direct children.
- Many-to-many relationship with Books so a single Book can be part of multiple BookShelves.
- Will have a name, description, tags & cover image like Books currently have.
- Will have permissions but they won't dynamically cascade down (By maybe have an option to apply shelf permissions to all included Books).
- Accessible as a header link as Books are now.
- Will have homepage option of BookShelves listing.
- Will be optional at a system level (Either through permissions or direct setting).
I thought the many-to-many relationship would give BookShelves a unique ability, rather than being a clone of the Book entity. It's like how, in the physical world, you could have copies of a Book on different BookShelves.
Any feedback on the above is appreciated.
That would be awesome!
@ssddanbrown - A few questions / notes,
- Bookshelves will not be mandatory. Books can exist without being on a Bookshelf? I see you mentioned - Will be optional at a system level but does that mean that even with that option turned on, I can have books outside a bookshelf?
- How about my existing book level permission? Assume that they'll remain as is?
- The existing books listing will mention the name of the parent bookshelf if applicable?
- Export a bookshelf?
Sorry for my late reply @Abijeet.
- Yeah, At least initially, Definitely by default to allow forwards compatibility of how things currently are. You thinking we should have an option to force Books to be within BookShelves? Is a good idea I suppose if you wanted people to stick to a structure.
- Yeah, Book permissions, and everything below, will remain as-is.
- That would be good although we'd need to limit it or have a nice way of displaying this since the relation will be many-to-many.
- Yes, although may omit this for the initial release just to get this feature out.
@ssddanbrown
My input.... (using bookstack for a very small business how-to manual)
Bookshelves makes sense to be added as a feature. It should NOT be mandatory, as some books (supervisor/manager only) can be offshelf whilst staff books can be on a bookshelf. Hope that gives you an idea. Then again, some could argue that have a supervisor-only bookshelf. That could work too.
Having access to a bookshelf should be optionally password-protected.
Would be good to have the related books listed in a popup (if too many) but all related books should be mentioned.
Exporting of a bookshelve would be fantastic, with a exported list of books and then the option to print them in order into a single pdf (so bookshlelf + books = one pdf)
nice :)
@ssddanbrown
Interesting idea. adding one more level of depth might help organization more. one suggestion though: bookshelves should accept pages directly without requiring it to be part of a book first.
here's how I'm thinking of applying this in my department so you might get a better view of my idea: we are a small IT department. I'm trying to centralize our documentation papers using bookstack. so I'm thinking of having one shelf for the networking team, one for sysadmin team, one for helpdesk team and so on. a number of subjects don't need more than one paper, and not all subjects are related to be grouped into one book or chapter. so having pages alongside books on bookshelves might make it better for not having to use books for every little subject just so you can add it to a shelf.
that's my feedback. hope it helps shape the idea further. 😃
Any reason not to add another layer at the same time?...Could have Bookcase, then bookshelf, then book, chapter, pages.
@nvnvnvnvn Yeah, Extra build effort, extra systems to maintain, additional system and UX complexities, Extra testing needed.
I've given my thoughts on extra levels in general here: https://github.com/BookStackApp/BookStack/issues/95#issuecomment-206509825 For BookStack, I do think there should be a limit. Someone will always want 'one more level'.
Ok, but what about an index for page sections?
working demo for those who can't wait https://github.com/mendiromania/BrainStack
run this sql https://gist.github.com/mendiromania/e323f6532531d9cf125e8f9b33c6067e
and in books manually update the bookshelf_id with the id of the bookshelf
edit:
added a migration for the sql and a bookshelf option in the book editor

I was just editing my books and thinking, it would be cool to have bookshelves once you start to get a lot of books. Then boom I see this on the roadmap, excellent!
To me, the shelves are little more than a folder system. I have a lot of books, so now I just want to organize some books in this folder and some in that folder etc. But keeping with the theme of Bookstack, I though, bookcases. It's a logical thing to do.
Like others have said, a bookcase in my home can hold anything, so maybe it can hold books, but it could also hold directly, just pages.
For permissions, it's obvious things like, access to the entire book case or not. But then this could get tricky if you allow a book to exist in multiple bookcases. Existing in multiple places sounds more like tags and categories, not necessarily bookshelves. Maybe bookshelves themselves can have a reference system.
In real life bookshelves could categorize books alphabetically or topically. For BookStack, you could have a structure like this, it could even be auto-generated based on alpha, or based on tags.
I think most use cases would have shelves relating to departments in a company. The IT dept, the media dept, etc. But automatic shelves would be a neat concept. A bookshelf for all books and pages created per-user. This is Zack's shelf, for example. Or shelves based on tags or alpha as mentioned.
The bottom line is, after only about 9 or 12 books, it's already a bit much to look at. At the very least I think after about 12 books, the grid view should get smaller. Instead of 3 blocks wide it could adjust to 4 blocks wide with smaller thumbnails. Maybe even 5 blocks wide if you have over 30 books.
OR, do the shelves, but it must be visually pleasing to do shelves. The whole idea is to reduce visual clutter and make it a little easier to browse books. We should still have a "view all books" view, just to avoid clicking in and out of shelves, kind of like looking at my Amazon Kindle, you can view the entire list of books, that should always be available. But shelves could simply be an alternative to grid and list view for those of us who want to organize our books into "folders".