converse.js
converse.js copied to clipboard
Improve the listing of rooms
This would include, in no particular order:
- [ ] Disco#info each room once we have the list, this is mandatory for most of the other steps.
- [ ] Sort alphabetically.
- [ ] Only display items which are rooms, that is category=conference, type=text.
- [ ] Only display rooms with more than zero participants.
- [ ] Display the number of participants.
- [ ] Display the MUC avatar, as per the MUC Avatars XEP.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Only display rooms with more than zero participants.
Why not:
- [ ] Display rooms with more than zero participants at the end.
- [ ] Display rooms with more than one participant, before the zero.
- [ ] Display rooms with more than two participants, before the one. ?
Oh, so ordering by number of participants, instead of alphabetically, like we do at https://chat.jabberfr.org/ for instance? Why not.
Why not, indeed ;-) But that was not my propositions, let met retry:
- Display rooms with more than two participants, by alphabetical order
- Folded by default:
- Display rooms with more than two participants, by alphabetical order
- Display rooms with more than one participant, by alphabetical order
- Display rooms with more than zero participants, by alphabetical order
Related to #1851
I'm not going to implement the following suggestions:
Only display rooms with more than zero participants.
If rooms with zero participants clutter up the list, then leave them and keep them bookmarked.
Display the number of participants.
You can open a room and click the avatar to quickly see info about it, and you can also see the number of participants in the sidebar. I believe trying to also show this info in the rooms list will make it too busy and result in information overload.
If someone can provide a clean UI design that shows otherwise, I'll reconsider.