docs: add Vendure custom fields blog#1090
Conversation
Changed Files
|
There was a problem hiding this comment.
Pull request overview
Adds a new documentation blog post explaining how to use Superposition to resolve context-aware Vendure custom fields, including a new animated diagram component to visually communicate the “Vendure stores fallback / Superposition resolves effective value” concept.
Changes:
- Added a new blog post: “Context-aware Vendure custom fields with Superposition”.
- Added a new
VendureOwnershipFlowanimation component (Anime.js-driven) used by the blog post. - Added a dedicated CSS module to style the new animation.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/src/components/animations/VendureOwnershipFlow/index.tsx | New animation component rendering and animating the Vendure→Superposition→storefront value flow. |
| docs/src/components/animations/VendureOwnershipFlow/styles.module.css | Styling for the new VendureOwnershipFlow animation layout and theme variants. |
| docs/blog/2026-07-07-context-aware-vendure-custom-fields.md | New blog post content embedding the animation via AnimationSlide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| import AnimationSlide from '@site/src/components/AnimationSlide'; | ||
| import { VendureOwnershipFlow } from '@site/src/components/animations'; | ||
|
|
| --- | ||
| slug: context-aware-vendure-custom-fields | ||
| title: Context-aware Vendure custom fields with Superposition | ||
| description: How Superposition adds channel aware resolved values to Vendure custom fields. |
|
|
||
| ## Why Superposition fits this problem | ||
|
|
||
| Superposition starts from a simple idea: configuration should be resolved in context. Instead of spreading rules across environment variables, hardcoded conditionals , or one-off feature flags, it lets teams define typed defaults and resolve the right value for each context in a cascading way. |
| <div | ||
| ref={diagramRef} | ||
| className={styles.figure} | ||
| aria-label="Vendure catalog value, Superposition condition and override, and storefront result" | ||
| > |
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Vendure Blog
Added a Vendure custom fields blog post and a supporting animation that shows Vendure as the stored fallback source and Superposition as the condition + override layer used to produce the resolved storefront value.
Environment variable changes
None.
Pre-deployment activity
None.
Post-deployment activity
Verify the published docs page renders correctly.
API changes
None.
Possible Issues in the future
The animation is documentation-only, but layout may need minor tuning if the blog theme, typography, or embedded animation container dimensions change later.