Skip to content

Conversation

nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Aug 10, 2025

closes #429

  • show avatars, description and Twitter Url when available
  • show ID
  • add search by name
Screenshot 2025-08-10 at 08 04 47

Copy link
Contributor

@Copilot 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 improves the project listing functionality in both Vite React and Next.js templates by adding enhanced visual elements and search capabilities. The changes make the project explorer more user-friendly by displaying avatar images, descriptions, and social media links for each project.

Key changes:

  • Added new Image entity and extended Project schema with optional fields for description, Twitter URL, and avatar relation
  • Implemented search functionality to filter projects by name
  • Added GraphImage component to handle IPFS image URLs from the hypergraph
  • Enhanced UI to display project avatars, descriptions, Twitter links, and project IDs

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
apps/create-hypergraph/template-vite-react/src/schema.ts Added Image entity and extended Project with description, xUrl, and avatar fields
apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge.tsx Added search UI and enhanced project cards with avatars, descriptions, and Twitter links
apps/create-hypergraph/template-vite-react/src/mapping.ts Added mapping for Image entity and new Project fields
apps/create-hypergraph/template-vite-react/src/components/graph-image.tsx Created GraphImage component to handle IPFS URLs
apps/create-hypergraph/template-nextjs/app/schema.ts Mirror changes to schema for Next.js template
apps/create-hypergraph/template-nextjs/app/mapping.ts Mirror mapping changes for Next.js template
apps/create-hypergraph/template-nextjs/Components/PublicKnowledge/Explore.tsx Enhanced project explorer with search and improved UI
apps/create-hypergraph/template-nextjs/Components/GraphImage.tsx GraphImage component for Next.js template
.changeset/clean-spies-stare.md Changeset documentation

@nikgraf nikgraf requested a review from cmwhited August 10, 2025 06:14
@nikgraf nikgraf merged commit 7e20c0b into main Aug 10, 2025
6 checks passed
@nikgraf nikgraf deleted the ng/improve-project-listing branch August 10, 2025 06:22
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.

Use value filters for projects (App templates)

1 participant