Skip to content

filter ideas by accelerator and add example ideas to populate some id… - #138

Merged
interim17 merged 6 commits into
mainfrom
feature/filter-accelerator
Sep 21, 2026
Merged

interim17 merged 6 commits into
mainfrom
feature/filter-accelerator

Conversation

@interim17

@interim17 interim17 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

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.
Screenshot 2026-09-17 at 3 13 09 PM

Screenshot 2026-09-17 at 3 13 22 PM

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.

  • New feature (non-breaking change which adds functionality)

@interim17
interim17 requested a lite review from Copilot September 17, 2026 22:16
@netlify

netlify Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for project-idea-board ready!

Name Link
🔨 Latest commit 7134fc5
🔍 Latest deploy log https://app.netlify.com/projects/project-idea-board/deploys/6ab16aee08065a0008f91474
😎 Deploy Preview https://deploy-preview-138--project-idea-board.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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 count is optional, both the index and the new accelerator page call this with undefined; Array.prototype.slice(0, undefined) uses an end of 0, so every unbounded roll renders No 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.

Comment thread gatsby-node.js Resolved
Comment thread src/templates/idea-post.tsx Resolved
@interim17
interim17 marked this pull request as ready for review September 18, 2026 18:12
@interim17
interim17 requested a review from meganrm September 18, 2026 18:12
@interim17
interim17 merged commit 51f9436 into main Sep 21, 2026
9 checks passed
@interim17
interim17 deleted the feature/filter-accelerator branch September 21, 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.

add filtering by accelerator

3 participants