Is there a way to select and remove multiple bookmarks without having to delete each item manually? A “Delete all” option would be good enough for me.
hi @nhan, welcome to Meta ![]()
i don’t believe it is possible from the Discourse UI, but suspect it can be done in rails by getting users bookmarks and using destroy. i have an idea of how it may be possible, but am unsure of the exact syntax. however i am sure someone else here will be able to verify this and help. if you go that route, be sure to backup first.
사용자님의 모든 북마크를 삭제하고 싶지는 않으실 것 같네요… 북마크를 여러 개 선택해서 관리하는 기능이 필요하시다면, 이는 보다 합리적인 Contribute > Feature 요청이라고 생각합니다 ![]()
또한, rails 명령을 사용하는 것이 때로는 유용할 수 있지만, 작은 실수조차도 치명적인 결과를 초래할 수 있으므로 위험하다는 점도 기억해 두시기 바랍니다. 이러한 경우 백업은 필수적이지만, 정말로 이 방식으로 목표를 달성하고 싶으신지 한 번 더 생각해 보시는 것도 좋겠습니다 ![]()
I think suggesting using the rails console at this stage is a little overkill. It’s only really an option for a sysadmin, and even then I’d say ‘advise with caution’.
If bookmarks are causing some kind of issue with the site and can’t be deleted through the UI, then a rails approach may be a possible solution. If it’s just to save some effort for personal ones then it’s likely not going to be the solution people are looking for.
But if it is, I’ll flip this to an #installation topic. ![]()