feat: Adds JobBoard component with Greenhouse integration#12
feat: Adds JobBoard component with Greenhouse integration#12KirklandGee wants to merge 2 commits intoWebflow-Examples:mainfrom
Conversation
Generated component following the Webflow code components scaffold pattern. Includes full and simple prop surface variations.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
props.Image returns {src, alt} and props.Link returns {href, target} — not
plain strings. Components that typed these as string caused [object Object]
rendering at runtime (found in AvatarGroup, Breadcrumbs, CarouselSlider,
CmsFilterSearch).
Three-layer fix:
1. Prompt (generate_react_component@v1): Added rule 11 with explicit table,
rules, and code example showing correct types and JSX usage
2. Deterministic check Webflow-Examples#12: Detects when a prop declared as props.Image or
props.Link in the webflow declaration is typed as string in the React
component — fails the quality gate and feeds back exact fix instructions
3. types.ts / workflow.ts: Added imageLinkPropsCorrect to DeterministicChecks
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Component: JobBoard
Description
A dynamic job board component that fetches and displays open positions from the Greenhouse API. Features a grid layout of job cards, each showing the job title, department, location, and an apply link. Includes interactive department and location filter dropdowns at the top, a loading spinner during data fetch, an error state for failed API calls, and an empty state when no jobs match filters. Supports pagination with a 'Load More' button for large job lists. Cards display in a multi-column grid on desktop and stack vertically on mobile devices. The component connects to any Greenhouse account via a board token prop and handles all API communication, error handling, and responsive layout transitions automatically.
What's Included
var(--background-primary, #ffffff), etc.font-family: inherit; color: inherit;JobBoard.webflow.tsx) — 20+ props for developers/agenciesJobBoardSimple.webflow.tsx) — core text/link props for clientswf-job-board-for Shadow DOM safetyTesting
npm install && npm run devruns locallynpx webflow library shareimports successfully