Display admin id with sent messages
context
it is sometimes difficult to know which admins are doing what in a signalboost channel - who is sending a private message, who is responding to hotline messages and who broadcasting messages. we want a way to ID admins without exposing their identities.
behavior
private replies
- when an admin, bob, sends
PRIVATE blah blah blah
- then all the admins see a message that says
[PRIVATE FROM ADMIN 1]
blah blah blah
- when alice sends
PRIVATE beepity boopity
- then all the admins see a message that says
[PRIVATE FROM ADMIN 2]
beepity boopity
hotline messages
- when a hotline message comes in that looks like
[HOTLINE @1012]
would packaged snacks be helpful?
- then alice responds
REPLY #1012 yes that would be great!
- then all the other admins see:
[REPLY @1012 FROM ADMIN 2]
yes that would be great!
broadcasts
- when alice sends a broadcast message
community meeting happening now!
- then all other admins see:
[BROADCAST FROM ADMIN 2]
community meeting happening now!
implementation
- add a counter column to the channel table called
nextAdminId
- add a column to the memberships table called
adminId
when a new admin is added
- take the value from
nextAdminId
and assign it to the newly created admin membership - increment
nextAdminId
- add [ADMIN ID] in messenger#addHeader
questions
- do we need #'s?
- do other command behaviors need to say who is doing what? vouching/hotline on? (not squeaky)
Edited by Mari