Skip to content

Implement Infinite Scrolling for [Module] Component #29

Description

@bryanwong8

Is your feature request related to a problem? Please describe.
Need to load activities from modules dynamically since everything is static right now.

Describe the solution you'd like
For all the modules in the module page, grab all of their activities and as the user scrolls down, the activities should be dynamically loaded. Each of the loaded activities should look like the Figma design below.

Figma Design
Screen Shot 2020-04-30 at 3 38 37 PM
Reference: Student View -> Module Page

Component Details

  • Adjust the component in src/components/Explore/FeaturedDisplay.js to make the activity have the option to have a header or without the header. This is to display the activities under the FeaturedActivity to have headers
  • Adjust the logic in src/components/Explore/FeaturedDisplay.js to display many activities with infinite scrolling
  • Test infinite scrolling with an array of JSON objects that contain the data needed to display an activity

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

logic-heavyusing lots of hooks, accessing Redux store, or APIvisual-heavypure jsx, css, props

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions