mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-09 03:09:38 +03:00
Ability to hide/archive entities #1385
Open
opened 2026-02-05 00:44:49 +03:00 by OVERLORD
·
16 comments
No Branch/Tag Specified
development
further_theme_development
l10n_development
release
llm_only
vectors
v25-11
docker_env
drawio_rendering
user_permissions
ldap_host_failover
svg_image
prosemirror
captcha_example
fix/video-export
v25.12.3
v25.12.2
v25.12.1
v25.12
v25.11.6
v25.11.5
v25.11.4
v24.11.4
v25.11.3
v25.11.2
v25.11.1
v25.11
v25.07.3
v25.07.2
v25.07.1
v25.07
v25.05.2
v25.05.1
v25.05
v25.02.5
v25.02.4
v25.02.3
v25.02.2
v25.02.1
v25.02
v24.12.1
v24.12
v24.10.3
v24.10.2
v24.10.1
v24.10
v24.05.4
v24.05.3
v24.05.2
v24.05.1
v24.05
v24.02.3
v24.02.2
v24.02.1
v24.02
v23.12.3
v23.12.2
v23.12.1
v23.12
v23.10.4
v23.10.3
v23.10.2
v23.10.1
v23.10
v23.08.3
v23.08.2
v23.08.1
v23.08
v23.06.2
v23.06.1
v23.06
v23.05.2
v23.05.1
v23.05
v23.02.3
v23.02.2
v23.02.1
v23.02
v23.01.1
v23.01
v22.11.1
v22.11
v22.10.2
v22.10.1
v22.10
v22.09.1
v22.09
v22.07.3
v22.07.2
v22.07.1
v22.07
v22.06.2
v22.06.1
v22.06
v22.04.2
v22.04.1
v22.04
v22.03.1
v22.03
v22.02.3
v22.02.2
v22.02.1
v22.02
v21.12.5
v21.12.4
v21.12.3
v21.12.2
v21.12.1
v21.12
v21.11.3
v21.11.2
v21.11.1
v21.11
v21.10.3
v21.10.2
v21.10.1
v21.10
v21.08.6
v21.08.5
v21.08.4
v21.08.3
v21.08.2
v21.08.1
v21.08
v21.05.4
v21.05.3
v21.05.2
v21.05.1
v21.05
v21.04.6
v21.04.5
v21.04.4
v21.04.3
v21.04.2
v21.04.1
v21.04
v0.31.8
v0.31.7
v0.31.6
v0.31.5
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.7
v0.30.6
v0.30.5
v0.30.4
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.2
v0.23.1
v0.23.0
v0.22.0
v0.21.0
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.5
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.6
v0.7.5
v0.7.4
v0.7.3
0.7.2
v.0.7.1
v0.7.0
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
Labels
Clear labels
🎨 Design
📖 Docs Update
🐛 Bug
🐛 Bug
:cat2:🐈 Possible duplicate
💿 Database
☕ Open to discussion
💻 Front-End
🐕 Support
🚪 Authentication
🌍 Translations
🔌 API Task
🏭 Back-End
⛲ Upstream
🔨 Feature Request
🛠️ Enhancement
🛠️ Enhancement
🛠️ Enhancement
❤️ Happy feedback
🔒 Security
🔍 Pending Validation
💆 UX
📝 WYSIWYG Editor
🌔 Out of scope
🔩 API Request
:octocat: Admin/Meta
🖌️ View Customization
❓ Question
🚀 Priority
🛡️ Blocked
🚚 Export System
♿ A11y
🔧 Maintenance
> Markdown Editor
pull-request
Mirrored from GitHub Pull Request
No Label
🔨 Feature Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/BookStack#1385
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cnfw on GitHub (Sep 28, 2019).
As BookStack is a documentation platform, quite often documentation becomes outdated or a project moves on and is no longer actively worked on. It would be great to be able to archive a book so that it doesn’t appear in the main books list (at least not amongst non-archived books) but still remain accessible if necessary.
The benefits this feature would bring to BookStack users
I seldom use the full Books list in my instance, just because it is full of books that I no longer update/consult regularly, but nonetheless should be kept for legacy and historical reasons. A major benefit this would bring to BookStack users is clearing out the clutter that builds up over time.
Additional context
Something like this can be achieved using custom permissions, but that adds a level of friction when it comes to managing larger sets of books.
It could get messy if you can archive shelves, books, chapters and pages, but with the refactor on its way, it might become easier. (Since if you archived a book, a page contained in the book should also be archived, but doesn’t necessarily need to be stored as such.
@kayvanaarssen commented on GitHub (Sep 28, 2021):
@ssddanbrown Is it easy to integrate this in a release in the near future?
We have the same point at the moment. Some Software / Documentation is not needed anymore (Active) but we want to keep it in an Archive.
It would be great to have that option.
So its still available when ever its needed.
Yes we can Export to PDF etc. but... Than it will get tossed around to a file Share etc. and nobody can find it...
@ssddanbrown commented on GitHub (Sep 28, 2021):
@kayvanaarssen Probably not near future from my perspective. Some thoughts from me on this topic can be found on the related issue: https://github.com/BookStackApp/BookStack/issues/2756#issuecomment-845500503
@ghost commented on GitHub (Aug 25, 2022):
This would be a really nice feature.
Using roles is not feasible imho as you would have to add/remove the role if you wanted to look at the archived articles.
A simple "don't include this in search results" would be a way to "archive" articles in a book of your choice.
@jreynoldshrg commented on GitHub (Mar 5, 2024):
I'm going to add my two cents here for this feature request. I believe I opened one a while back for this very thing. Now that we've been using BookStack for a few years, we have quite a lot of old docs we don't want to show up in searches or Books - but would be perfect to archive in some manner so that we could just search the archive and either see, or resurrect them to a new book/shelf if needed. We hate to get rid of good documentation and sometimes refer back, but we don't want it cluttering up our production searches and material.
@barbedCoil commented on GitHub (Mar 5, 2024):
The option to archive would be very useful. Another option could be to add permissions, when creating an Archive book, to simply check a book option that says "Exclude from Search" or a check option that simply indicates 'Archive' and exclude any books marked this way from searches. I'm sure I'm simplifying the issue but something like this would keep things clean without trying to manage yet more permissions.
@kwt5152 commented on GitHub (Mar 26, 2025):
Adding my support for this type of functionality. We have several deprecated pages that we want to keep around, but that we don't want crowding the regular search results.
I envision something along the lines of a specific "archive" or "exclude_from_search" tag or checkbox that would exclude items from appearing in the default search. Even something like starting the name with "[ARCHIVED]" would be sufficient. Then, there could be a checkbox in the search bar for "show archived content" or some kind of syntax to append to the search string to include things that were archived. Alternatively, a specific URL that shows all archived content could work as well (e.g. https://bookstack.example.com/archive).
@jsreynolds commented on GitHub (Mar 26, 2025):
I'll get back in the fray for this one. :-)
As we move forward in the years, we're not sure what to do with our content we want to depreciate. We would like to be able to "hide" or depreciate entire books or articles, but leave them in the original structure. And, they shouldn't be in search, unless requested. That way our more complicated structures can remain intact, and it would be (in theory) easy to check a box to show the archived contents. I guess I'm telling the how, but instead just really communicate that the problem is increasing as time goes by.
@suzanna13 commented on GitHub (May 8, 2025):
Up for this feature.
I tried to create another shelf with name archive and permissions only to archive user group, but when I move book to this shelf, it still stays in the origin shelf too!
And if i delete this book from archive, its deleted from origin shelf too! Strangle.
@vmario89 commented on GitHub (Jun 21, 2025):
I still see the archiving feature useful (having the same request to put stuff to archive instead deleting it). Having archived pages/books/shelves, we could add a flag to exlude them from search results or tick a checkbox in search to show results from archive. indeed mainly i want to exlude stuff from search results to find the recent things instead all at once
so i am sharing a lot of thoughts in this request here.
@suzanna13 commented on GitHub (Jun 21, 2025):
Labdien!
Informējam, ka esam veikuši izmaiņas e-pasta domēnā un turpmākai saziņai, lūdzu izmantot šo e-pastu @.*** , iepriekšējais e-pasts NAV aktīvs un vēstules NETIEK pārsūtītas.
Paldies!
@AndrinGautschi commented on GitHub (Sep 22, 2025):
We'd love the archive feature. Current workarounds all have their own significant drawbacks; Either the archived items become totally inaccessible (like when we put something into the Recycle Bin), or their 'out-of-date' nature is poorly communicated (like when we put '[Archive]' into the name of the shelf/book/chapter/page title), or the whole structure of the wiki breaks (like when we move a book to its own archive shelf, not to speak of the problem with chapters and pages).
So, an archive function that works on all levels and recursively marks its nested entities (at least those that are not linked elsewhere) clearly and visibly as 'archived' would be super useful. These archived entities should be searchable but, similarly like before, distinguishable from the up-to-date results.
@suzanna13 commented on GitHub (Sep 22, 2025):
Labdien!
Informējam, ka esam veikuši izmaiņas e-pasta domēnā un turpmākai saziņai, lūdzu izmantot šo e-pastu @.*** , iepriekšējais e-pasts NAV aktīvs un vēstules NETIEK pārsūtītas.
Paldies!
@jreynoldshrg commented on GitHub (Sep 22, 2025):
@AndrinGautschi
100% this - exactly what I would hope for / want from an archive solution. Maintain the structure, etc. - just depreciated so they don't show up unless searched or flagged to do so.
@bjinthahouse commented on GitHub (Sep 29, 2025):
I can second this all the way. We are using Bookstack to document our customer systems, FAQs, network diagrams etc. Some sort of archiving flag would be really useful!
@kevin39 commented on GitHub (Nov 17, 2025):
Will love the ability to exclude book from search too ! I've a "template" book and some keyword always matches our template book :'(
@kevin39 commented on GitHub (Nov 17, 2025):
Another possibility to add a filter to exclude results from book name containing a specific word (in my case, this is enough)