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.
Hi @ducheneo, I agree with collapsible sections, They're already open and requested on #78.
The extra level of grouping is an interesting topic. I would rather not add this feature and here's why:
Initially when building BookStack I allowed a system of highly nested pages. I was following the system that confluence used. From a development perspective this was tricky to support, Not impossible by any means but added extra complication whenever there was a listing or when working out relation trees.
From a user perspective things were fairly hard to navigate. Allowing a high level of nesting means you can only show part of a grouping, or tree structure, at a time which meant you only see a snapshot of a whole and it becomes easier for content to stay hidden. It also means there was no standard grouping system or clear separation of levels.
At that point I changed BookStack to a 2 tier grouping, Books & Chapters. I very much like this level of grouping as it can be related to the way we store content in books, It's familiar and simple while allowing a good level of organisation. It also forces you to keep the wider organisation of the content from going out of control. I feel that adding an extra layer of chapters would break this simple relation to books. On top of that there will always be someone that wants an extra layer, no matter how many layer are implemented.
I do understand the need for an extra dimension of organisation/categorisation through which will be added by the attribute-value system proposed in #48.
I'll keep this issue open and also I'm open to further discussion as the community may have a very different opinion to me but I do really like the core Book/Chapter/Page structure of BookStack.
We definitely like the Book/Chapter/Page structure. This is why we're using BookStack.
Hi Dan, I can understand your point of view. The point is that the nature of our documentation is deeply hierarchical, and 3 levels of grouping would be more appropriate. The display of the navigation tree could remain unchanged, by replacing the collapsible with "number of page" with the sub-chapter title. And if most people find the actual structure fine, adding the extra level as an option could satisfy everyone (but certainly tricky to implement).
Well, this is an awkward one. While I love the idea of being able to have chapters within chapters, I imagine it'll quickly become as overly complex as Sharepoint or a Filesystem. The current system forces the people and teams adding content to BookStack to be creative, rather than ending up with one page in a large number of chapters.
[book]Products > [chapter]SomeApp > [page]SomeContent
[book]Products > [chapter]SomeApp > [sub-chapter]Version 0.0.1 > [page]Changelog
[book]Products > [chapter]SomeApp > [sub-chapter]Version 0.0.2 > [page]Changelog
vs
[book]Products > [chapter]SomeApp > [page]SomeContent
[book]Products > [chapter]SomeApp > [page]v0.0.1 - Changelog
[book]Products > [chapter]SomeApp > [page]v0.0.2 - Changelog
Personally, I'm happy with the current design. Maybe a tagging system would be better for this? I'll ask a few people in the office for their opinions on this and report back.
Maybe we should be considering "sub-chapters" as "paragraphs".
So you have a Book for an Application Support Team, inside you have Chapters by product type such as "Financing", inside "Financing" you can have Paragraphs such as "QuickBooks" or "GnuCash" and then Pages inside said Paragraphs.
For what we're using Bookstack for at the moment, this'd probably fit quite well. I've sat down with a few people and the general consensus is this is what we want going forward.
+1 with having 1 sublevel more. Like Subchapters. 1 sublevel more would be sufficient.
I'm not sure if another sub level is such a good idea as, but what might be a good idea is to have the option of displaying only part of a page directly and have the other parts in different sections (sort of virtual pages inside a page).
[book 1] -> [chapter 1] -> [page 1] If [page 1] get's really long, show everything just before the second [h1] headline and include a pagination. It would still be possible to load everything at once and handle only displaying the content via javascript. That would make it easier to structure content into sections using headlines without getting pages that are way too long.
This would also go great along with a table of contents feature (not a complete book toc but a per page toc). Just my 2 cents.
PS: Obviously this would have the downside of [ctrl]+[f] search not working as well, since only part of the content is shown. Maybe include a page search?
+1 for paragraphs.
+1 for subchapters
My team is using Bookstack as wiki, I'm the admin and believe me, this feature will be useful because we have a lot of chapters and pages and it's becoming a nightmare...as @riorii said, one sublevel more will be sufficient.
+1 for subchapters. I agree with your reasoning, and the fact that people will always want an "extra layer" but I think one sub-level more would solve a lot of the problems I have with using this as a wiiki.
+1 for one more level here; not asking for full on nesting, but just 1 more level.
EDIT: Maybe instead of sub-chapters/sections/paragraphs, another level could be added above Books; such as collections? Could possibly do that as tags. I.E., a collection (or tag) of ClientA, with multiple Books underneath for that client. Those Books would have the same existing (optional) Chapters and Pages.
+1 Yeah, it would be very cool to have more levels of nesting, maybe with the option to define what those levels are called per book.
+1 on DeviantEng on the level above for book collections. Would be cool to be able to group your books by category.
Just as an update, Since it's almost been a year since my last comment, I am keeping this in mind as I'm refactoring any parts of BookStack and keeping entity references generic to help support more levels in the future. Then it'll be a case of just sitting down one weekend and finishing this off, Maybe once exports have been fleshed out and the search has been fixed (#271).
In terms of structure, A level above a book would be better to fit in with the understanding of the books/chapter/page structure but from an app/coding/architecture point a lot has been built around books being the top of the chain so it would require more effort.
As mentioned in #337, I think that the concept of "book shelves" would be a really nice way of achieving this extra level of categorization without straying too far from the simplistic nature of BookStack. Having this extra level would be a great way of being able to link users to a specific set of books that are closely related.
However, if this is difficult to achieve from a coding point of view, perhaps an easier approach to this might be to allow applying tags to books in the same way that these can currently be applied to individual pages?
+1 for subchapters too
+1 for subchapters
+1 to be able to regroup books into bookshelves :+1:
-1 for subchapters (I think it breaks the elegance of the existing structure)
+1 for bookshelves
+1 for subchapters
~~What about ordering/sorting pages/chapters? Issue #257 may be closed but ordering pages is still an issue. I saw there is already field "priority" in the pages tables, but I think there is no option to set it?~~
Nevermind. It's just Books > "3 Dot menu" > Sort