umputun / tg-spam

Anti-Spam bot for Telegram and anti-spam library
https://tg-spam.umputun.dev
MIT License
221 stars 39 forks source link

Add some progress indication on potentially slow operations in web ui #61

Closed umputun closed 8 months ago

umputun commented 8 months ago

With 1000+ records in the custom spam list clicking on the trash icon does something for a second or two and it will be nice to show some progress indicator. HTMX supports this kind of things, should be easy enough.

as a side note - need to check why it takes that long, maybe some index missing or smth like this.

umputun commented 8 months ago

The removal was refactored to avoid unneeded io ops; see https://github.com/umputun/tg-spam/pull/62