Skip to content

Paginate Projects

Emily Jensen requested to merge 138-paginate-projects into master

Goal

  • Paginate projects on the home page and in settings

Overview

projectpag

  • Added projects-by-org-api.service.ts because the project service is currently calling api's from several places. This helped clean up the projects service a bit and organize which api calls I needed to tweak.
  • Projects Service
    • Extended new pagination class
    • Use new behavior subject from extended class
    • Update some of the api calls to use the new projects-by-org-api.service.ts
    • use the new set state function set in the extended classes
  • Stories
    • Created a story for the home page to test the loading state
    • created a story for the projects list in settings to test the loading state
  • Pagination Component
    • Created a pagination component with the pagination arrows in it. I think this has potential to be expanded on and used around the app for consistency, but right now it's being used for paginating projects

Closes #138

Edited by Emily Jensen

Merge request reports