walsgit / recycle-bin
Flarum extension to manage deleted (hidden) discussions
Fund package maintenance!
Website
Installs: 365
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:TypeScript
Type:flarum-extension
Requires
- flarum/core: ^1.2.0
Requires (Dev)
- flarum/testing: ^1.0.0
This package is auto-updated.
Last update: 2024-11-22 22:37:47 UTC
README
A Flarum extension to manage deleted (hidden) discussions.
With Recycle Bin you can:
- list all hidden discussions
- restore a hidden discussion (unhide)
- forever delete a hidden discussion (remove from db)
- Mass restore & delete discussions
🐞 Known issues :
- Search filter only works with complete words (returns a empty list for partial words) and isn't limited to discussion titles but also returns discussions where the searched word is found in its messages (replies) too.
- Mass restore or delete need a full page refresh to update de list and total number of hidden discussions (the page refresh is implemented but it's not ideal, you'll have to wait for it after cofirming your mass action)
Notes
- This is my very first Flarum extension
- Developed and tested on Flarum 1.8.5
- Extention settings page is based on the core UserListPage.tsx (Users settings page).
- Developped this with the help of AI (mainly ChatGPT, Cody & Gemini)
Installation
Install with composer:
composer require walsgit/recycle-bin:"*"
Updating
composer update walsgit/recycle-bin:"*"
php flarum migrate
php flarum cache:clear