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

switch to relay pagination, improve the infinite scroller #1462

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

kdembler
Copy link
Collaborator

Resolves #1268 and #1271

This PR moves Atlas to use Relay-style pagination and adds some improvements to the infinite scroller.

Notable changes:

  • updated schema to match exactly how the one generated by the query node would look like
  • cleaned up the MirageJS server code
  • moved the query inside the infinite scroller component
  • made infinite scroller component properly react to category change and handle end of data

Copy link
Contributor

@fulminmaxi fulminmaxi left a comment

Choose a reason for hiding this comment

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

The InfiniteVideoGrid API improved a lot. Good Job!

@bedeho bedeho merged commit 71cf269 into Joystream:init_atlas Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants