go-shiori / shiori

Simple bookmark manager built with Go
MIT License
9.04k stars 546 forks source link

Allow running arbitrary actions over bookmarks #939

Open fmartingr opened 1 month ago

fmartingr commented 1 month ago

We dont have a way of running some actions over bookmarks at the moment. We can update the boomkark cache in several ways but we don't have a way of updating the readable version, deleting some of the local content and probably other.

Using this issue as a point of discussion for the work that may be required in order to achieve two singular actions:

This issue not only covers the backend works (which should be fairly easy, but we should refactor it into Domains), but also how it may look in the UI and if we should allow CLI options for all of this.


Original issue description: Right now if we add a bookmark with automatic archival from Youtube, a useless archive is made with no means of removing it from Shiori itself, we would need to remove it from the filesystem manually. Provide an option to remove Archive, Thumbnails and Contents from bookmarks.

Monirzadeh commented 1 month ago

About archive we show a little archive box and a paper for readable version. I am thinking we can use them as clickable element (and change color on them to red with hover mouse ) When user click them open a confirm menu with yes no option(or need double click) What I am not sure about it:

  1. Is it over complicated?
  2. Is it possible random tap happen for user specially in mobile device?
  3. It not cover thumbnail
  4. If article not have thumbnail those icon not align with other bookmarks that has thumbnail. Those icon is just be under title.
stale[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had any activity for quite some time. It will be closed if no further activity occurs. Thank you for your contributions.