BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.46k stars 1.94k forks source link

See shelves in breadcrumbs ? #5221

Open laouache opened 2 months ago

laouache commented 2 months ago

Describe the feature you'd like

Is it possible to see in breadcrumbs the shelve where the book is located. I know that a book can be in multiple shelves eventually, but if the user arrived from a shelve in the book , the chapter or the page, it is possible to have the shelve in the bread crumb. Or we can have a choice in the book configuration page to choose de default shelve to see in the breadcrumb ?

Describe the benefits this would bring to existing BookStack users

When we are on a page and we look at the breadcrumb to see in which book and shelve we are, we cannot have de shelves. Example : I have a shelves by customer. And I have neerly the book name in my different shelves. When I am in a book , I can't be sure in which customer shelve I am.

Can the goal of this request already be achieved via other means?

There is a lot of possibility to achieve this goal. But I think the most "common" problem is that a book can be in multiple shelves. This problem can be solve in many ways by parameters in book stack : 1 shelve by book . Or in the book configuration page : the default shelve.

Have you searched for an existing open/closed issue?

How long have you been using BookStack?

1 to 5 years

Additional context

No response

ssddanbrown commented 2 months ago

Hi @laouache,

BookStack will already show the shelf in the breadcrumb where the user enters the content via the shelf:

image

The shelf context will reset/clear though if the user strays outside of it.

laouache commented 2 months ago

Yes I'm sorry . I mean when I share a link to a page. So, the user accessed a page without enter the content via the shelve.

CiberNin commented 1 month ago

Yes I'm sorry . I mean when I share a link to a page. So, the user accessed a page without enter the content via the shelve.

Problematic because book can be in multiple shelves.