feat: render /integrations gallery from datasources catalog#123
Open
Debanitrkl wants to merge 1 commit intomainfrom
Open
feat: render /integrations gallery from datasources catalog#123Debanitrkl wants to merge 1 commit intomainfrom
Debanitrkl wants to merge 1 commit intomainfrom
Conversation
Adds the parseablehq/datasources repo as a git submodule at vendor/datasources and introduces an IntegrationGallery server component that reads dist/integrations.json at build time, groups entries by resource, and renders them as Fumadocs Cards. A prebuild step copies logos into public/integrations/logos/ so Next serves them as static assets. content/docs/integrations/index.mdx now uses <IntegrationGallery /> for the ingest-data sections; Visualization, Incident management, Authentication, and Storage targets stay as hand-maintained MDX because they live outside the catalog today. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
parseablehq/datasourcesas a git submodule atvendor/datasources/.IntegrationGallery— a React Server Component that readsvendor/datasources/dist/integrations.jsonat build time, groups by resource, and renders Fumadocs<Cards>with per-integration logos.scripts/sync-catalog.mjs(wired topredev+prebuild) which copies logos from the submodule intopublic/integrations/logos/. Script soft-fails when the submodule is absent so fresh clones without--recurse-submodulesstill build.content/docs/integrations/index.mdxto use<IntegrationGallery />for ingest-data sections. Visualization, Incident management, Authentication, and Storage targets remain hand-maintained MDX (they live outside the catalog today)./public/integrations/logos/to.gitignore(generated artifact).Why
The
/integrationspage was hand-maintained and drifting from the Parseable product UI (Prism), which already consumes this catalog. This PR makes the docs a second consumer so both surfaces stay in sync.Depends on
Test plan
pnpm sync-catalogcopies 51 logos intopublic/integrations/logos/pnpm buildsucceeds end-to-end (359 static pages)/docs/integrationsrenders catalog-driven sections above the hand-maintained onestsc --noEmitclean on the new filespnpm check-links— no new broken links introduced (pre-existing issues in other files unchanged)git submodule update --remote vendor/datasources && pnpm sync-cataloglifts gallery to 60 entries once datasources#6 landsClone instructions for reviewers
🤖 Generated with Claude Code