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

Improve performance of landing page #1529

Closed
ciyer opened this issue Oct 21, 2021 · 0 comments
Closed

Improve performance of landing page #1529

ciyer opened this issue Oct 21, 2021 · 0 comments
Assignees
Labels
easy Good first issue

Comments

@ciyer
Copy link
Contributor

ciyer commented Oct 21, 2021

Description

The following changes should be made to the data retrieved for the landing page:

  • Just get 5 projects for the landing page
  • Just get project name/namespace for the quick-nav use (see just-names query below)

Follow-up to #1505.

Details

minimal query

{
  projects(membership: true, first: 100) {
    pageInfo {
      startCursor
      endCursor
    }
    nodes {
      avatarUrl
      description
      name
      namespace {
        fullPath
      }
      path
      lastActivityAt
      tagList
    }
  }
}

just names query

{
  projects(membership: true, first: 100) {
    pageInfo {
      startCursor
      endCursor
    }
    nodes {
      name
      namespace {
        fullPath
      }
      path
    }
  }
}
@ciyer ciyer added the easy Good first issue label Nov 4, 2021
andre-code added a commit that referenced this issue Nov 10, 2021
* feat: improve performance of landing page (#1529) (#1546)

Create a project schema for the projects shown in the landing by separating them from the feature projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Good first issue
Projects
None yet
Development

No branches or pull requests

2 participants