• Andrew Fontaine's avatar
    Add pagination to new environments app · 90758d39
    Andrew Fontaine authored
    The old page paginates based on the headers returned by the API, and so
    we do the same here.
    
    We put the page info header into the GraphQL cache, and fetch it out to
    pass it to the pagination component from GitLab UI.
    
    Also the pagination must be wired up to the query parameters to support
    deep linking.
    
    I wonder if GlPagination should just have a prop for syncing the query
    parameters, like GlTabs does.
    90758d39
client.js 913 Bytes