Skip to content

Centralize agents page content#237

Merged
geomatrick merged 7 commits intomainfrom
mm/agents-page-improvements
Feb 12, 2026
Merged

Centralize agents page content#237
geomatrick merged 7 commits intomainfrom
mm/agents-page-improvements

Conversation

@mirhamasala
Copy link
Collaborator

@mirhamasala mirhamasala commented Feb 12, 2026

📝 Description

Refactors the agents pages to improve maintainability by centralizing shared content and extracting the CTA button into a reusable component.

  • Type: Refactor

🛠️ Key Changes

  • Extract SubmitProposalButton component for reuse across agents pages
  • Move "Key Links" and "A Note on FOC's Storage Model" content from individual RFS markdown files to the [slug]/page.tsx layout
  • Update SEO title to "Agents: Requests for Startups" for better context
  • Add focStorageMcp URL to site metadata constants

📌 To-Do Before Merging

  • Verify content displays correctly on individual RFS pages
  • Confirm CTA button appears on both the agents list and detail pages

@vercel
Copy link

vercel bot commented Feb 12, 2026

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

Project Deployment Actions Updated (UTC)
filecoin-cloud Ready Ready Preview, Comment Feb 12, 2026 9:26pm

Request Review

@FilOzzy FilOzzy added this to FOC Feb 12, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 12, 2026
@mirhamasala mirhamasala changed the title Refactor: Centralize agents page content and extract SubmitProposalButton Centralize agents page content Feb 12, 2026
@mirhamasala
Copy link
Collaborator Author

@geomatrick FYI ~ Addressed mentioned comments:

  1. I think it is strange to go to a page called "Agents" and then the title be "Requests for Startups". Perhaps we could make the title "Agents: Requests for Startups" or "Requests for Agentic Startups"
  2. The content width on the RFS pages seems to narrow when viewing on a laptop
  3. Can we add a "Submit" button to each of the RFS pages, not just on the agents page?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the agents pages to improve maintainability by centralizing duplicated content that previously appeared in 7 separate RFS markdown files. The refactoring extracts shared sections ("Key Links", "A Note on FOC's Storage Model", and "SDK Maturity & Builder Expectations") into the [slug]/page.tsx layout component, and creates a reusable SubmitProposalButton component.

Changes:

  • Extracted SubmitProposalButton component for reuse across agents list and detail pages
  • Centralized shared content sections from individual RFS markdown files to the [slug]/page.tsx layout
  • Updated SEO title to "Agents: Requests for Startups" for better context
  • Added focStorageMcp URL to site metadata constants

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/constants/site-metadata.ts Added focStorageMcp URL to the warmStorageService configuration
src/app/agents/page.tsx Updated title, replaced inline button with SubmitProposalButton component, removed unused import
src/app/agents/components/SubmitProposalButton.tsx New reusable button component for proposal submission
src/app/agents/[slug]/page.tsx Replaced MarkdownPage with article tag, added centralized Key Links and SDK information sections
src/app/agents/constants/seo.ts Updated SEO title to include "Agents:" prefix
src/app/agents/data/open-requests/rfs-*.md Removed duplicated Key Links and SDK sections from all 7 RFS markdown files

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

Comment on lines +35 to +42
<li>
<a href={FOC_URLS.warmStorageService.contactSourceCode}>
FOC Storage MCP
</a>
</li>
<li>
<a href={FOC_URLS.warmStorageService.synapseSdk}>Synapse SDK</a>
</li>
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The external links should use the ExternalLink component instead of plain anchor tags. The codebase has an ExternalLink component (src/components/ExternalLink.tsx) that properly handles external links with security attributes (rel="noopener noreferrer" and target="_blank"). Using this component maintains consistency with the rest of the codebase.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot added size/L and removed size/L labels Feb 12, 2026
@geomatrick geomatrick merged commit 5622f5e into main Feb 12, 2026
6 checks passed
@geomatrick geomatrick deleted the mm/agents-page-improvements branch February 12, 2026 21:26
@github-project-automation github-project-automation bot moved this from 📌 Triage to 🎉 Done in FOC Feb 12, 2026
@github-actions github-actions bot added size/L and removed size/L labels Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants