Display Administrator badge on a circle admin name in the conversation panel
What needs to be done?
When I click on the information panel of a circle, I clearly see who is the administrator
This information should also be displayed in the conversation panel, right near the admin name.
Just like in Rocket Chat
Technical details
Think that other roles than "Administrator" could come afterwards
Test cases
- Create a new circle
- Post some text in the conversation panel
- Check that "Administrator" appears near your name
Link issues together to show that they're related. Learn more.
Activity
- Maintainer
Thank you for this Feature request Fabien.
I agree, and it is on the roadmap. Not the highest priority so far but maybe @plup would be interested by it? What about HD Le Mans? Would you have something to put on the table to finance such a development?
- Author Maintainer
It's a feature requested by ESS France, so yes it can be founded. Who could estimate it and work on it ?
- Maintainer
Our friend @jbpasquier, but it might need to be transferred to the chat repo though.
- Please register or sign in to reply
- Owner
@MattJ By any way, could we use the vcard to transmit those information to Converse?
Two things:
- On each circlemembers, you have a
is_admin
boolean, which trigger this tag. - Other tags are on each users, the
groups
property contains every groups the user is on (Could be none)
From there @XaviFP will you be able to implement a plugin to add those tags?
If we can't do this way, the best possibility I see would be to include
sib-core
within converse and replace the username by the webid of the user. From there, we can use asolid-display
to get the username, avatar and groups.Still, we'll not be able to tell if they're admin of this circle - as we'll not be aware that we're on a circle - and we may also not be able to have the permission to reach them (Anonymous request, if we don't package
solid-auth
too.).Another possibility would be to only use the
store
of sib-core within Converse, but it will work only for the user themself, not for others messages.
Best bet would be the vcard way.
- On each circlemembers, you have a
- Developer
@jbpasquier isn't this one of the first things I did when starting here? :) Maybe I'm confusing with someone else, it was years ago.
Prosody populates a list of roles in the vCard. JC added support to Converse.js to display these roles in the UI. At most you probably need a bit of CSS, I hope.
Here is the current Prosody code pulling the role names from the API: https://git.startinblox.com/infra/prosody-modules/blob/master/mod_happydev_vcard.lua#L46
- Owner
Ahah, wasn't aware of that. Thanks.
Nothing is done on the Converse.js part, as far as I am aware of. @XaviFP ?
So, that's only a matter of handling the Adminstrator part, this one is per user / per circle.
- Maintainer
It is far far away now, but it might be that this was implemented in ConverseJS one day indeed. It isn't clear anymore for me but definitely worth asking JC.
- Jean-Baptiste Pasquier assigned to @XaviFP
assigned to @XaviFP
- Author Maintainer
@XaviFP Do you know if you can find some time today to have a look at this feature request ? I will need to have a proper time quotation for today or tomorrow morning. We have a client (ESS France) that is willing to fund it.
- Maintainer
@jbpasquier Do we have any other mean to contact @XaviFP to warn him about this issue if he hasn't seen it?
- Owner
I already asked him on Hubl this morning.
- Maintainer
Roger
- Developer
If this issue is just about 'Administrator' then it should probably be based on the user's affiliation in the room, so depends on the Prosody
is_admin
integration as we've discussed in the other issue about circle moderation. - Guest
- Owner
See there: #754 (comment 36926)
Badges on the chat should be a combination of both. Notice that an user can be admin of one circle, but will not be admin of another. Still its groups will be the same regardless of on which circle he is.
- Author Maintainer
@jbpasquier I need a decision on this ticket today. Is it OK if I put 32 tokens from ESS France to fund it ? I will need this integrated in the project on oct. 12th. Who could take this in charge ?
Edited by Fabien Quatravaux - Fabien Quatravaux changed due date to October 12, 2020
changed due date to October 12, 2020
- Matthew Wild mentioned in issue components/solid-xmpp-chat#191 (closed)
mentioned in issue components/solid-xmpp-chat#191 (closed)
- Maintainer
For the record, Alice from https://community.startinblox.com/ rquested this one.
@jbpasquier In Alice's mind, "user badges" as she calls it is not only about the "admin" badge, but any badge one could have on her profile. Is it the same issue? Do we have an issue for it? I couldn't find it.
- Owner
Yes, same issue. Still, nothing is done on app to manage user group, Alice will have to manage and assignate them from the Django Admin.
- Maintainer
Cool. I think that's acceptable for now.
- Jean-Baptiste Pasquier added ESS France label
added ESS France label
- Author Maintainer
@XaviFP @jbpasquier we have the GO form ESS France. There is 32 tokens for you @XaviFP to develop this feature.
- Author Maintainer
@XaviFP any update about this feature development ?