refactor(support): the contact page becomes /support - #289
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s and prose at the page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The contact form's endpoint is now
POST /api/v1/support(the API's/contactpath is being handed to contact records), so the page, form, client and schema move with it:/contactbecomes/supportatapp/support/page.tsx, the modules move tocomponents/support/support-form.tsx,lib/api/support.ts,lib/support.tsandlib/validations/support.ts, and their exports take the same word (supportAPI.sendRequest,SupportRequest,SupportCategory,SUPPORT_CATEGORIES,SUPPORT_CATEGORY_LABELS,supportSchema,SupportInput,SupportForm). Request and response shapes are unchanged. The footer, privacy and terms links point at/supportand read "Support", and the comments,.env.example,SECURITY.mdandDECISIONS.mdname the new page; emergency contacts and the check-in sheet's contact details are untouched./contactgets no redirect by the owner's call.Verified with
npm run ci(suite, lint, types, build) green.🤖 Generated with Claude Code