There are some drawbacks in looking only at the last close event.

#5255 tried to do filtering by interaction type but the db queries are ugly. To 
optimize them we could have a users x notes table where we store among other 
things interaction flags. When a user closed a note, we set a closed flag 
there, then we can filter notes by that flag. But if we want to pay attention 
only to the last close event, we'd have to clear that flag when somebody 
reopens the note.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5269#issuecomment-2423900130
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5269/c2423900...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to