feat(open-knowledge): add product-update signup to docs footer#381
Merged
Conversation
* feat(open-knowledge): add product-update signup to docs footer Add a server-only POST /api/subscribe route that creates a Resend contact tied to a configured segment, and a footer signup form built with react-hook-form and shadcn Field components. The Resend API key and segment id are read server-side only (RESEND_API_KEY, RESEND_SEGMENT_ID) and never reach the client bundle. Also extend the left dot texture down into the footer for visual continuity with the call-to-action section. * fix(open-knowledge): conform shadcn Field components to repo lint Format and lint-fix the vendored shadcn ui components (field, input, label, separator) to the docs Biome config: organize imports, type-only imports, strict equality, stable list keys. Replace the banned useMemo in FieldError with a plain computation (React Compiler memoizes). Remove the unused button.tsx (the footer form uses MarketingButton). * fix(open-knowledge): regenerate third-party notices, address review nits Regenerate THIRD_PARTY_NOTICES.md for the new docs deps (resend, react-hook-form, @hookform/resolvers, class-variance-authority) so the notices drift check passes. Log error.message alongside error.name on Resend failures, log network errors in the form's catch block, and disable spellcheck on the email input. GitOrigin-RevId: 1b6ed868ac855e0e3f2ce1d6dacd177f411d1b87
Contributor
There was a problem hiding this comment.
Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28409107756). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.
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.