Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Show spinner in member list while loading members #2139

Merged
merged 3 commits into from
Sep 3, 2018

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Aug 29, 2018

Demo below:

  • load big room without having previously loaded it
  • switch to other room (and show other right panel tabs still work while loading)
  • switch back and room members appear straight away

memberlist-spinner

Addresses item 3 (We see a flicker of stale membership state in the membership list) of element-hq/element-web#7182

Requires: matrix-org/matrix-js-sdk#714

@bwindels bwindels requested a review from a team August 29, 2018 09:15
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this cause un unnecessary re-render when lazy loading is turned off / the members are already loaded? Since the state will state will be changed in didMount.

@bwindels
Copy link
Contributor Author

bwindels commented Sep 3, 2018

Requires matrix-org/matrix-js-sdk#714 now

@bwindels
Copy link
Contributor Author

bwindels commented Sep 3, 2018

@dbkr ready for another look.

@bwindels bwindels merged commit 1eabb60 into develop Sep 3, 2018
@bwindels bwindels deleted the bwindels/memberlist-spinner branch September 3, 2018 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants