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

Fetch next page of facilities via infinite scroll component #750

Merged
merged 2 commits into from
Aug 29, 2019

Commits on Aug 28, 2019

  1. Fetch next page of facilities via infinite scroll

    Adjust facilities tab so that it will fetch the next page of facilities
    on reaching the bottom of the infinite scroll list.
    
    Also:
    
    - remove some now unused utility code & tests
    - update facilities list endpoint to return results in alphabetical
    order
    - update url to retrieve facilities to request pages of 25 results at a
    time
    - add a loading indicator contextually if there's a next page of facilities to fetch
    Kelly Innes committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    bee55de View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Show old sidebar when vector_tile flag is inactive

    Restore the old sidebar facilities tab as a
    `NonVectorTileFilterSidebarFacilitiesTab` component so that it can be
    displayed when the vector_tile flag is off.
    
    Restore some utility functions (moved into the NonVectorTile...
    component) which were required to make the component work, along with
    some Redux actions it expected to exist.
    
    Adjust the fetchFacilities function to accept an options object so that
    callers can set the page request size. We don't need to make a similar
    adjustment to the fetchNextPage function since it uses the URL returned
    from the API for its next page of results.
    Kelly Innes committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    3058053 View commit details
    Browse the repository at this point in the history