feat: GitHub pinned repos, notes expansion, README sync#36
Merged
kaiiiichen merged 1 commit intomainfrom Apr 19, 2026
Merged
Conversation
- Add app/lib/github-pinned.ts: GraphQL pinned repos for home with fallback list; document GITHUB_LOGIN in .env.example - Home & nav: News link, Berkeley libraries link, pinned-project cards; streamline projects page - Notes: /notes index for CS217, Data 100, MA121–MA337; course hubs + MDX stubs; static PDFs/zips under public/notes - GitHub API routes, project-stars, layout, admin, gallery, auth callback, berkeley-libraries copy tweaks - README: Berkeley + ucb-libraries API, pins, env, course matrix, fork checklist - Fix ESLint: defer nav mounted state; escape quotes on ma337 hub Co-authored-by: Claude <noreply@anthropic.com> Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR bundles the current working-tree changes (43 files) into one merge-ready branch.
GitHub & home
app/lib/github-pinned.ts(GraphQL) with a static fallback whenGITHUB_TOKENis missing..env.example: document optionalGITHUB_LOGINfor forks / alternate accounts.app/api/github/contributions,app/api/github/stars,app/components/project-stars.tsx,app/projects/page.tsx,app/page.tsx.Notes
/notesindex: expanded course list (CS217, Data 100, MA121–MA337, CS61A).app/notes/**.public/notes/**(linked from notes).Other pages
Tooling / lint
setMountedwithqueueMicrotaskto satisfyreact-hooks/set-state-in-effect.react/no-unescaped-entities.CI
Local parity with GitHub Actions:
npm run lint && npm run typecheck && npm run test && npm run build— all green.Note on large files
GitHub warned that several PDFs exceed the 50 MB recommendation (push still succeeded). Consider Git LFS or hosting large binaries elsewhere if this becomes an issue.
Co-authored-by: Claude noreply@anthropic.com
Made with Cursor