BookStackApp / BookStack

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

Edit tags/Attachments as an Option in Actions menu. #4986

Open BaccanoMob opened 4 months ago

BaccanoMob commented 4 months ago

Describe the feature you'd like

I would to edit tags/attachments of a page without needing to edit page > open side bar > edit tags/attachment > save page. But in the when view the page itself (if the user has the permission), it will editing with ease in a less amount of time

Describe the benefits this would bring to existing BookStack users

The ability is to add tags is quite hidden. I did not even notice there is such an option till I saw this video. Since I already made a quite a few pages/books, just editing a page to add a tags is quite time consuming. Having it as action will make users editing tags with ease (especially for users like me who found this feature late in the game). It would be preferable to have an page open up like editing the permissions or a modal window to edit tags, then save/refresh for changes to take effect.

Furthermore, I recommend adding info on tags in the docs. While tags are briefly mentioned here about how to tag search but its never mentioned where to add tags or how it can be used (other than the video which I saw by chance will looking about OIDC). Attachments do have a good documentation but its similar to tags when it comes to editing it at a later stage.

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

edit page > open side bar > edit tags/attachments > save page

Have you searched for an existing open/closed issue?

How long have you been using BookStack?

3 months to 1 year

Additional context

No response

ssddanbrown commented 4 months ago

Thanks for the suggestion @BaccanoMob. I agree we could better document tags, I've opened BookStackApp/website#185 for that. Personally I wouldn't be keen on adding specific tag/attachment views just to essentially save a click and increase visibility.

BaccanoMob commented 4 months ago

I feel did not word my sentence correctly since I jumbled up my thoughts when I wrote that.

I would like to see something like this for tags.

image

or

image

But currently you can edit tags like this,

image

which I felt would require a view when you click edit (mostly due to the optional value parameter).

Maybe you can combine the two text field as one by introducing a == operator (?). So a tag parsed for == before saving to check if there is a value parameter in the tag. If this is possible, then the first two images could be a solution I imagined originally.

TBH, I only wanted to suggest for adding the option for tags because I felt editing tags should easily accessible when reviewing the page after being written (like I said I found tags feature late, so pretty much reviewing my pages and adding tags). BTW I use the markdown editor so reviewing in editor mode is not so good. I need to save the page first to read it properly.

But if you ultimately need to add a view to edit tags (even if its a modal view or new sidebar) I think adding the same feature for attachments should be easier for it to implement as well. Though I dont have any particular use cases for it at the moment, it is also hidden in the sidebar along with tags.