Adds graphql federation content page - #10251
Open
PascalSenn wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new “GraphQL Federation” platform content page to the website, including a rich explainer layout with multiple animated SVG visuals and Storybook coverage, and updates a few shared layout/components to support the new page.
Changes:
- Adds
/platform/graphql-federationpage with explainer content, visuals, and interactive hero animation. - Updates shared components (
PageSection,HeaderShell,FaqSection) and their stories to support new layout needs. - Updates the main Platform landing page to link to the new federation page.
Reviewed changes
Copilot reviewed 23 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/PageSection.tsx | Adds a 6xl max width option used by the new explainer layout. |
| website/src/components/PageSection.stories.tsx | Updates Storybook controls and adds a 6xl story. |
| website/src/components/HeaderShell.tsx | Generalizes overlay header behavior to multiple paths including the new page. |
| website/src/components/FaqSection.tsx | Makes eyebrow optional and adds configurable heading alignment. |
| website/src/components/FaqSection.stories.tsx | Adds Storybook control for alignment and a no-eyebrow story. |
| website/app/(content)/platform/page.tsx | Updates the “Federation with Fusion” link to point to the new page. |
| website/app/(content)/platform/graphql-federation/visuals/stage.tsx | Adds shared SVG helpers/constants for federation visuals. |
| website/app/(content)/platform/graphql-federation/visuals/RequireVisual.tsx | Adds an animated visual explaining @require. |
| website/app/(content)/platform/graphql-federation/visuals/QueryPlanVisual.tsx | Adds an animated visual explaining query planning and parallelism. |
| website/app/(content)/platform/graphql-federation/visuals/LookupVisual.tsx | Adds an animated visual explaining entity lookup by id. |
| website/app/(content)/platform/graphql-federation/visuals/EvolutionVisual.tsx | Adds an animated visual explaining schema evolution and @override. |
| website/app/(content)/platform/graphql-federation/visuals/BuildCheckVisual.tsx | Adds an animated visual explaining build-time composition checks. |
| website/app/(content)/platform/graphql-federation/visuals/anim.tsx | Adds a small animation framework for the visuals (intersection + rAF driven). |
| website/app/(content)/platform/graphql-federation/TransitStory.tsx | Adds the long-form narrative “transit” diagram/story section. |
| website/app/(content)/platform/graphql-federation/palette.ts | Adds shared color/font tokens for the federation page visuals. |
| website/app/(content)/platform/graphql-federation/page.tsx | Registers the new route and page metadata/structured data. |
| website/app/(content)/platform/graphql-federation/hero/stage.tsx | Adds SVG helpers/constants for the hero animation. |
| website/app/(content)/platform/graphql-federation/hero/palette.ts | Adds hero-specific color/font tokens. |
| website/app/(content)/platform/graphql-federation/hero/GatewayScene.tsx | Adds the interactive hero “gateway” animation with scrub/replay timeline. |
| website/app/(content)/platform/graphql-federation/hero/flanks.tsx | Adds animated flank lanes for the hero scene. |
| website/app/(content)/platform/graphql-federation/hero/anim.tsx | Adds a more advanced animation/scrubbing hook for the hero scene. |
| website/app/(content)/platform/graphql-federation/ExplainerPage.tsx | Adds the main explainer page composition and content sections. |
| website/app/(content)/platform/graphql-federation/ExplainerPage.stories.tsx | Adds Storybook entry for the explainer page. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+21
to
+25
| <section className="border-cc-card-border border-t"> | ||
| <PageSection maxWidth="6xl" className="py-16 sm:py-24"> | ||
| {children} | ||
| </PageSection> | ||
| </section> |
| key={i} | ||
| x={x + 16} | ||
| y={schemaRowY(y, i)} | ||
| fontFamily="ui-monospace, SFMono-Regular, Menlo, monospace" |
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.
No description provided.