Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support lazy-loading member lists #253

Closed
KitsuneRal opened this issue Nov 4, 2018 · 4 comments
Closed

Support lazy-loading member lists #253

KitsuneRal opened this issue Nov 4, 2018 · 4 comments
Assignees
Labels
enhancement A feature or change request for the library

Comments

@KitsuneRal
Copy link
Member

Having an account at status.im means most likely being in 5+ 'default' rooms with ~10k users in each - most of them doing nothing.

@KitsuneRal KitsuneRal added the enhancement A feature or change request for the library label Nov 4, 2018
@KitsuneRal KitsuneRal self-assigned this Nov 11, 2018
@KitsuneRal
Copy link
Member Author

KitsuneRal commented Nov 11, 2018

@KitsuneRal
Copy link
Member Author

KitsuneRal commented Nov 16, 2018

Things to address once lazy-loading is on:

  • The list of users shows an incorrect total number (9b3e437)
  • Tab-completion for not-yet loaded users doesn't work (f0bd24a)
  • Loading historical messages doesn't add members seen in those messages to the members list (e1fdb33)

@KitsuneRal
Copy link
Member Author

It's apparently prudent to load the list of members for the displayed room out-of-sync-band to address both remaining items above.

KitsuneRal added a commit that referenced this issue Nov 23, 2018
This should cover the Connection-related part of #253.

Connection gained lazyLoading/setLazyLoading accessors and the respective Q_PROPERTY.
When lazy loading is on, sync() adds lazy_load_members: true to its filter.
KitsuneRal added a commit that referenced this issue Dec 8, 2018
This should cover the Connection-related part of #253.

Connection gained lazyLoading/setLazyLoading accessors and the respective Q_PROPERTY.
When lazy loading is on, sync() adds lazy_load_members: true to its filter.
KitsuneRal added a commit that referenced this issue Dec 8, 2018
This should cover the Connection-related part of #253.

Connection gained lazyLoading/setLazyLoading accessors and the respective Q_PROPERTY.
When lazy loading is on, sync() adds lazy_load_members: true to its filter.
KitsuneRal added a commit that referenced this issue Dec 9, 2018
This concludes beta-version of lazy-loading support in libQMatrixClient (#253).
@KitsuneRal
Copy link
Member Author

As of the commit above, lazy-loading members looks working; full-loading the list of members upon displaying the room is on the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or change request for the library
Projects
Status: Version 0.5(.x) - Released
Development

No branches or pull requests

1 participant