Thinkmill / keystatic

First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
https://keystatic.com
MIT License
1.23k stars 79 forks source link

Keystatic Cloud: only 30 repositories can be chosen when creating a new project #1299

Closed juliendargelos closed 2 months ago

juliendargelos commented 2 months ago

When creating a new project on Keystatic Cloud, and despite choosing "All repositories" when authorizing the Keystatic GitHub app; only 30 repositories are shown in the picker field, mainly the oldest ones:

Capture d’écran 2024-09-08 à 22 13 59

Looking at the http request responsible for getting this data, only 30 repositories are indeed returned, and no subsequent requests appear to expand this list later:

Request:

url: https://keystatic.cloud/teams/[TEAM_SLUG]?_rsc=oc6sl
method: get

Response:

content-type: text/x-component
body: |
  [...]

  11:["$","$L16",null,{"defaultOpen":false,"buttonLabel":"Add project","children":
  ["$","$L17",null,{"installations":[{"id":**********,"owner":"juliendargelos","repos":
  [{"name":"**********","id":**********},{"name":"**********","id":**********},
  {"name":"**********","id":**********},{"name":"**********","id":**********},

  [26 more repositories]

  {"name":"**********","id":**********},{"name":"**********","id":**********},
  {"name":"**********","id":**********},{"name":"**********","id":**********}]}],
  "initialInstallationId":"$undefined","action":"$F18"}]}]

  [...]
emmatown commented 2 months ago

This is now fixed

juliendargelos commented 2 months ago

Great thanks !

juliendargelos commented 2 months ago

This may have caused another issue though: #1302