hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 44 forks source link

Bug: Members Page for Stargate doesn't load, too many members (paginate?) #3825

Closed zakhap closed 1 year ago

zakhap commented 1 year ago

Description

From Slack:

I did get 'the page is unresponsive' error on an attempt though it failed to load

Image

Best fix is to add pagination to the /bulkMembers call, then:

  1. Add infinite scroll pagination to the Members page.
  2. Add pagination and search to the Manage Community page.

Acceptance Criteria

masvelio commented 1 year ago

@rbennettcw we have React Virtuoso hooked up in the members page, but unfortunately this does not work correctly. Did not investigated why but it can be seen in the dev tools that react renders all results right away but it should render around 20 items with virtuoso. Something worth to look at and I can help if frontend investigation is needed

jnaviask commented 1 year ago

Also in scope: to add search bar reusing mentions code on members page + manage community page, above members listing in each respectively.