Skip to content

Stop using image-avatars in huge rooms #5907

@nickvergessen

Description

@nickvergessen

Steps

  1. Create 1k users and add to a dummy group:
#!/bin/sh

php occ -vvv group:add "dummies" --display-name "1k dummies"

i=10
while [ $i -ne 1000 ]
do
        i=$(($i+1))
        echo "$i"
        
        
	USERID=$(uuidgen)
	OC_PASS="123456" php occ -vvv user:add --password-from-env --display-name "Dummy #$i" -g "dummies" $USERID
done
  1. Create a new conversation and invite the group as attendee
  2. See your browser die as it requests the 1k avatars for the participant list and the chat log.

Thoughts

At some point certain things make no sense anymore, so there are some thoughts:

  • Requesting 1k images as avatars in a sidebar that is not usable
    => I think we could fall back to the 2 letter js solution?
  • Starting with 1k system messages that an individual user was added
    => Skip the list when you are adding a group/circle at the moment and assume it is okay to only list the group name
  • Stop automatically refreshing the participant list
    => instead have a manual button?
  • Listing all participants
    => There is a search already, so maybe we just show moderators and a label "X participants" until a search term is used

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions