Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3e349d2
add dev script
interim17 Jan 20, 2026
489bf39
show related posts in tag popover component
interim17 Jan 20, 2026
7e48bf6
Update src/components/IdeaRoll.tsx
interim17 Jan 21, 2026
2e32af0
Update src/components/TagPopover.tsx
interim17 Jan 21, 2026
f961a52
add non null assertions to fields
interim17 Jan 21, 2026
6c51ce7
Merge branch 'main' of https://github.com/AllenCell/idea-board into f…
interim17 Jan 23, 2026
81d0ab5
use generated types with tag popover
interim17 Jan 23, 2026
da89847
install slugify and vitest
interim17 Jan 23, 2026
f52f2b8
rename timelapse-feature-explorer markdown file
interim17 Jan 23, 2026
01a10e4
add link and description to emt dataset markdown
interim17 Jan 23, 2026
ade267c
use link directive and slugs to map foreign key relationships
interim17 Jan 23, 2026
8fbfe52
use a gql file for some gatsby schema types
interim17 Jan 23, 2026
9f096a5
reorganize gatsby related file structure
interim17 Jan 23, 2026
d26d9b9
Merge branch 'main' of https://github.com/AllenCell/idea-board into f…
interim17 Feb 20, 2026
3743b5e
Merge branch 'feature/gql' of https://github.com/AllenCell/idea-board…
interim17 Feb 20, 2026
f8d5d0e
remove duplicate import
interim17 Feb 20, 2026
0cbc7e5
Merge branch 'feature/gql' of https://github.com/AllenCell/idea-board…
interim17 Feb 20, 2026
fc16309
Merge branch 'main' of https://github.com/AllenCell/idea-board into f…
interim17 Feb 23, 2026
1985585
Merge branch 'main' of https://github.com/AllenCell/idea-board into f…
interim17 Feb 23, 2026
f211c7d
fix gatsby paths
interim17 Feb 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const {
resolveToArray,
resolveSlug,
resolveSoftwareTools,
} = require('./gatsbyutils/gatsby-resolver-utils')
const { DATASET_PATH } = require('./gatsbyutils/constants')
} = require('./gatsby/utils/gatsby-resolver-utils')
const { DATASET_PATH } = require('./gatsby/constants')

const read = (p) => fs.readFileSync(path.join(__dirname, p), 'utf8')

Expand All @@ -21,9 +21,9 @@ const read = (p) => fs.readFileSync(path.join(__dirname, p), 'utf8')
const DATA_ONLY_PAGES = ["software", "dataset", "allenite", "program"];

exports.createSchemaCustomization = ({ actions, schema }) => {
const { createTypes } = actions
const typeDefs = [
`"""
const { createTypes } = actions;
const typeDefs = [
`"""
Nested materials and methods block for idea posts.
"""
type MaterialsAndMethods {
Expand All @@ -49,10 +49,10 @@ exports.createSchemaCustomization = ({ actions, schema }) => {
softwareTool: MarkdownRemark @link(by: "fields.slug")
customDescription: String
}`,
]
createTypes(read('gatsby/schema/base.gql'))
createTypes(typeDefs)
}
];
createTypes(read("gatsby/schema/base.gql"));
createTypes(typeDefs);
};

/**
* Resolvers ensure data shape/presence after queries, or provide
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { SOFTWARE_PATH } = require("../gatsbyutils/constants");
const { SOFTWARE_PATH } = require("../constants");
const slugify = require("slugify");

/**
Expand Down