Skip to content

Behaviour of "Clear Feed" #269

@kbrownlees

Description

@kbrownlees

Currently clear feed clears the entire feed (GroupedMessage.objects.all().update(status=1)). This behaviour seems counter intuitive to me:

  1. there would seem to be a race condition which means you could clear something you are yet to read?
  2. I feel only what I am currently filtered on should be cleared. ie, if I am currently viewing based on a certain logger I would expect only the entries from that logger to be cleared.

I have quickly implemented point two in https://github.com/kbrownlees/django-sentry/commit/543ca928cbe9787f7a545aab1aac47caf05a5501

Thoughts and suggestions are most welcome :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions