First time here? Check out the FAQ!

What is the inbox logic?

By inbox I mean the little mailbox icon, sometimes white, sometimes red, in the user_navigation widget.

I saw it consults the ActivityAuditStatus model for display decisions. Can you explain the design logic of for whom and when it is displayed? Is it just moderators? Is it documented somewhere?

I find that button useful and potentially addictive for users (a bit like facebook), so I'd also like to know more about your plans with it.

piskvorky's avatar
asked 2012-01-19 05:02:07 -0500
edit flag offensive 0 remove flag close merge delete


Sorry was trying to upvote, but had some issue, we definitely need to upgade this site! it is running on a forked version, and we need to stop doing this.

Evgeny's avatar Evgeny (2012-01-19 11:28:17 -0500) edit
add a comment see more comments

1 Answer


The way inbox works - it shows essentially saved items in ActivityAuditStatus records - essentially alert messages - that link recipients of activity with the Activity records, and the Activity records are stored when something happens on the site. At this point not all of those alerts are displayed.

For example - when somebody answers your question - you and all question subscribers will get a "red envelope". When you visit the related question - the ActivityAuditStatus will change to SEEN and the envelope will become white, unless there are other unread items.

So - we could expand that functionality accordingly - whatever that might mean:). The UI can definitely be improved: pagination could be added, display filtering by status, reduce number of dialogs when deleting items.

We could also add personal messages to the inbox.

We want to keep the inbox functionality simple from the user's point of view.

Evgeny's avatar
answered 2012-01-19 11:26:50 -0500
edit flag offensive 0 remove flag delete link


Yes, little things could be improved, but already the idea of a "red notification alert" is great and helpful. If we come up with any improvements, I will let you know :)

piskvorky's avatar piskvorky (2012-01-20 04:17:18 -0500) edit

Thanks, great! I've merged your staticfiles branch and we now have substantially different data models, definitely pull that.

Evgeny's avatar Evgeny (2012-01-20 07:14:50 -0500) edit
add a comment see more comments