Skip to content

Add research log to the Community section - #8

Merged
Manan-Wadhwa merged 1 commit into
mainfrom
claude/site-architecture-refactor-ii45gx
Jul 21, 2026
Merged

Add research log to the Community section#8
Manan-Wadhwa merged 1 commit into
mainfrom
claude/site-architecture-refactor-ii45gx

Conversation

@Manan-Wadhwa

Copy link
Copy Markdown
Member

Adds a weekly research log ("what has happened so far") to the Community section, building on the curriculum/talks/workshops pages already on main (from #7).

Rather than a single hardcoded page, this matches the existing multi-page structure: a typed content collection + index page + per-entry detail page, all rendered through the shared Base layout.

What's included

  • researchLog content collection (src/content.config.ts) via the glob loader — add a markdown file to publish a weekly entry; draft: true hides one. No code change to add content.
  • /research-log — index page listing entries newest-first as week cards (week label, date, summary, tags).
  • /research-log/[week] — per-entry detail page with the full markdown body rendered through the shared .prose styles, for longer write-ups.
  • Community hub — adds a fourth card with a live entry count and widens the card grid to four; the homepage teaser links to the log too.

Content

Seeded three placeholder weekly entries (Foundations & Onboarding, Sparse Autoencoders, Adversarial Robustness). Replace them by editing the files in src/content/research-log/.

Verification

  • npm run build succeeds — 14 pages, including the new /research-log routes; @astrojs/sitemap picks them up automatically.
  • Verified the hub (4 cards), log index (newest-first), and a detail page in both light and dark themes — consistent with the existing design system.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_013w1uYPCToTdEth65NQpxUR


Generated by Claude Code

A weekly research log — "what has happened so far" — as its own
content-collection-backed section, matching the multi-page structure of
curriculum/talks/workshops rather than a single hardcoded page:

- src/content.config.ts: add typed researchLog collection (glob loader).
  Add a markdown file to publish a weekly entry; draft: true hides it.
- Pages: /research-log index (newest-first week cards) + per-entry detail
  page with rendered markdown body, both through the Base layout.
- Community hub: add a fourth card (with live entry count) and widen the
  card grid to four; homepage teaser links to the log too.

Seeded three placeholder weekly entries; replace by editing the files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013w1uYPCToTdEth65NQpxUR
Copilot AI review requested due to automatic review settings July 21, 2026 12:10
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
website 5009cfd Commit Preview URL

Branch Preview URL
Jul 21 2026, 12:10 PM

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new “Research Log” section to the site’s Community area using the same Astro content-collection + index/detail routing pattern already used for other Community content, rendered through the shared Base layout.

Changes:

  • Introduces a new researchLog content collection (glob-loaded Markdown entries with a Zod schema).
  • Adds /research-log (index listing) and /research-log/[...slug] (entry detail) pages.
  • Updates the Community hub and homepage Community teaser links to include the Research Log, including a live published-entry count.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/pages/research-log/index.astro New index page that lists published research log entries newest-first with week/date/summary/tags.
src/pages/research-log/[...slug].astro New detail page that statically generates one route per published entry and renders the Markdown body.
src/pages/index.astro Adds “Research log” to the homepage Community/field-building teaser links.
src/pages/community.astro Adds a 4th Community card for the Research Log (with entry count) and updates the grid to accommodate four cards.
src/content/research-log/week-01-foundations.md Seeds a placeholder Week 1 research log entry.
src/content/research-log/week-02-sparse-autoencoders.md Seeds a placeholder Week 2 research log entry.
src/content/research-log/week-03-adversarial-robustness.md Seeds a placeholder Week 3 research log entry.
src/content.config.ts Adds the researchLog collection definition + schema and exports it with the other collections.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Manan-Wadhwa
Manan-Wadhwa merged commit 91284a1 into main Jul 21, 2026
2 checks passed
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