Repository navigation
filter ideas by accelerator and add example ideas to populate some id… - #138
Merged
Merged
Conversation
…eas for each accelerator
✅ Deploy Preview for project-idea-board ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Address the lint failure, unbounded idea-roll behavior, and missing accelerator metadata in previews.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds accelerator-based idea filtering, stable accelerator URLs, related pages, GraphQL resolution, and example content.
Changes:
- Adds accelerator pages, filters, links, and metadata.
- Adds GraphQL resolver support and tests.
- Adds sample accelerator-tagged ideas and styling.
File summaries
| File | Reviewed change |
|---|---|
src/templates/index-page.tsx |
Adds the accelerator filter to the homepage. |
src/templates/idea-post.tsx |
Displays linked accelerator metadata. |
src/templates/accelerator.tsx |
Adds the accelerator landing-page template. |
src/style/idea-roll.module.css |
Styles accelerator labels and empty states. |
src/style/accelerator-filter.module.css |
Styles filter controls. |
src/pages/ideas/dev-example-neural-dynamics.md |
Adds a Neural Dynamics example idea. |
src/pages/ideas/dev-example-multi-accelerator.md |
Adds a multi-accelerator example idea. |
src/pages/ideas/dev-example-immunology.md |
Adds an Immunology example idea. |
src/pages/ideas/dev-example-brain-science.md |
Adds a Brain Science example idea. |
src/pages/ideas/dev-example-ai-biodesign.md |
Adds an AI Biodesign example idea. |
src/pages/accelerators/index.tsx |
Adds the accelerator listing page. |
src/pages/accelerators/ai-biodesign.md |
Adds AI Biodesign accelerator data. |
src/components/IdeaRoll.tsx |
Filters ideas and renders accelerator links. |
src/components/AcceleratorFilter.tsx |
Provides accelerator navigation. |
gatsby/utils/gatsby-resolver-utils.js |
Resolves accelerator references. |
gatsby/schema/base.gql |
Defines accelerator GraphQL fields. |
gatsby/resolvers/test/resolvers.test.js |
Tests accelerator resolution. |
gatsby/resolvers/resolvers.js |
Adds accelerator node resolution. |
gatsby/constants.js |
Registers accelerator node constants. |
gatsby-node.js |
Generates accelerator pages. |
Review details
Suppressed comments (1)
src/components/IdeaRoll.tsx:86
- Because
countis optional, both the index and the new accelerator page call this withundefined;Array.prototype.slice(0, undefined)uses an end of 0, so every unbounded roll rendersNo ideas yet.instead of its matches. Only slice when a count was supplied.
const nodes: IdeaNode[] = matching.slice(0, count);
- Files reviewed: 20/20 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
interim17
marked this pull request as ready for review
September 18, 2026 18:12
meganrm
approved these changes
Sep 19, 2026
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.
Problem
Closes #133
Filter by accelerator and have stable URLs for per-accelerator digest of ideas.
Distinct from long term plan of state based filtering of the tables.

Solution
Added some random example ideas to test this, they can be removed later.
The accelerator tag/buttons will not appear on the main page if an accelerator has no ideas associated with it.