[GitHub] Add native pagination to lists - #30128
Conversation
|
Thank you for your contribution! 🎉 🔔 @thomaslombart @unnamedd @tonka3000 @khasbilegt @pernielsentikaer @loxygenK @oilbeater @LunaticMuch @aeorge @daquinoaldo @aeither @marcotf @qeude @nesl247 @xilopaint @antonengelhardt @bangerang @wottpal @LitoMore @d-mitrofanov-v @j3lte @jfkisafk @vlasischar @JavaLangRuntimeException @shyakadavis @sushichan044 @luarmr @nicolas-marien @ionTea @ridemountainpig @kud @MartinGonzalez @brandonnly @oscmarb @emergerrrd @ryo246912 @gfazioli @wonbywondev @SandeepBaskaran you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="feat/github-list-pagination"
FORK_URL="https://github.com/TyceHerrman/extensions.git"
EXTENSION_NAME="github"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. |
Greptile SummaryThe PR converts GitHub extension lists to Raycast's native pagination contract and reduces initial GraphQL payloads. Major changes include:
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "github: paginate list data sources" | Re-trigger Greptile |
da9bb22 to
b8241c9
Compare
Description
The GitHub extension currently eager-loads multiple result batches before rendering some lists, while other lists use fixed-size requests without native Raycast pagination. This makes cold launches slower and increases the chance of large GraphQL requests failing.
This change:
RepositoryListFieldsfragment and loads releases only when opened;The expected user impact is that initial list results can render sooner and later pages load as the user navigates the list.
Validation
npm run generatetwice with identical outputnpm test./node_modules/.bin/tsc -p tsconfig.json --noEmitnpm run buildnpm run lintgit diff --checkChecklist
npm run buildand tested this distribution build in Raycastassetsfolder were changed