Skip to content

Optimize fetching projects#98

Merged
johnludeke merged 1 commit intomainfrom
sr/project-fetching-optimization
Feb 25, 2026
Merged

Optimize fetching projects#98
johnludeke merged 1 commit intomainfrom
sr/project-fetching-optimization

Conversation

@SaketR3
Copy link
Collaborator

@SaketR3 SaketR3 commented Feb 25, 2026

Status:

Description

// OPTIMIZATION: Only fetch the 'semester' field.
// We use 'select' to filter out images, descriptions, and other heavy data.
const projects: Project[] = await contentWrapper.get("project", {
select: "fields.semester",
});

Fixes #

Todos

Screenshots

@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
uiuc-website Error Error Feb 25, 2026 5:44pm

Request Review

@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for uiuc-hack4impact failed. Why did it fail? →

Name Link
🔨 Latest commit f193239
🔍 Latest deploy log https://app.netlify.com/projects/uiuc-hack4impact/deploys/699f3500acfc3200083d02b7

Copy link

@plasmapotatos plasmapotatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@johnludeke johnludeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ship it

@johnludeke johnludeke merged commit 91ff0d9 into main Feb 25, 2026
3 of 14 checks passed
@johnludeke johnludeke deleted the sr/project-fetching-optimization branch February 25, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants