feat: setValues#1207
Merged
bluebill1049 merged 12 commits intomasterfrom Apr 25, 2026
Merged
Conversation
✅ Deploy Preview for sage-cassata-31d224 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new setValues documentation page and broadens SEO/metadata coverage across the site, while continuing the migration from legacy page/components to Contentlayer MDX docs.
Changes:
- Add new MDX docs for
setValues,useController, anduseFieldArray, and wiresetValuesinto the API sidebar. - Improve SEO defaults and per-page metadata (descriptions, canonical/OG/twitter tags) and add
lang="en"+robots.txt. - Remove legacy Next pages/components for
useController/useFieldArraynow superseded by MDX docs.
Reviewed changes
Copilot reviewed 51 out of 51 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/resources/videos.tsx | Update SEO title/description for Videos resource page |
| src/pages/resources/newsletters.tsx | Add SEO description for Newsletter resource page |
| src/pages/resources/articles.tsx | Add SEO description for Articles resource page |
| src/pages/resources/3rd-party-bindings.tsx | Improve SEO title + add description for bindings page |
| src/pages/media.tsx | Update SEO title/description for Media page |
| src/pages/docs/usefieldarray.tsx | Remove legacy page route (replaced by MDX via catch-all) |
| src/pages/docs/usecontroller.tsx | Remove legacy page route (replaced by MDX via catch-all) |
| src/pages/docs.tsx | Add API index page SEO description |
| src/pages/dev-tools.tsx | Replace API-driven title with explicit SEO title/description; remove unused import |
| src/pages/about-us.tsx | Add SEO description |
| src/pages/_document.tsx | Add lang="en" to <Html> |
| src/pages/_app.tsx | Remove hard-coded global <title> from app-level <Head> |
| src/content/docs/usewatch/watch.mdx | Expand frontmatter description |
| src/content/docs/usewatch.mdx | Expand frontmatter description |
| src/content/docs/uselens.mdx | Expand frontmatter description |
| src/content/docs/useformstate/formstatesubscribe.mdx | Improve description + fix typo (uesFormState → useFormState) |
| src/content/docs/useformstate/errormessage.mdx | Expand frontmatter description |
| src/content/docs/useformstate.mdx | Expand frontmatter description |
| src/content/docs/useformcontext.mdx | Expand frontmatter description |
| src/content/docs/useform/watch.mdx | Expand frontmatter description |
| src/content/docs/useform/unregister.mdx | Expand frontmatter description |
| src/content/docs/useform/trigger.mdx | Expand frontmatter description |
| src/content/docs/useform/subscribe.mdx | Expand frontmatter description |
| src/content/docs/useform/setvalues.mdx | New MDX doc page for setValues |
| src/content/docs/useform/setvalue.mdx | Expand frontmatter description |
| src/content/docs/useform/setfocus.mdx | Expand frontmatter description |
| src/content/docs/useform/seterror.mdx | Expand frontmatter description |
| src/content/docs/useform/resetfield.mdx | Expand frontmatter description |
| src/content/docs/useform/reset.mdx | Expand frontmatter description |
| src/content/docs/useform/register.mdx | Expand frontmatter description + minor grammar tweak |
| src/content/docs/useform/handlesubmit.mdx | Expand frontmatter description |
| src/content/docs/useform/getvalues.mdx | Expand frontmatter description |
| src/content/docs/useform/getfieldstate.mdx | Expand frontmatter description |
| src/content/docs/useform/formstate.mdx | Expand frontmatter description |
| src/content/docs/useform/form.mdx | Expand frontmatter description + minor grammar tweak |
| src/content/docs/useform/control.mdx | Expand frontmatter description |
| src/content/docs/useform/clearerrors.mdx | Expand frontmatter description |
| src/content/docs/useform.mdx | Expand frontmatter description |
| src/content/docs/usefieldarray.mdx | New MDX doc page for useFieldArray |
| src/content/docs/usecontroller/controller.mdx | Expand frontmatter description + fix grammar in video note |
| src/content/docs/usecontroller.mdx | New MDX doc page for useController |
| src/content/docs/formprovider.mdx | Expand frontmatter description |
| src/content/docs/createFormControl.mdx | Expand description + fix grammar in intro paragraph |
| src/components/seo.tsx | Refactor SEO component: defaults, canonical, OG + Twitter tags |
| src/components/UseFieldArrayContent.tsx | Remove legacy component-based docs content |
| src/components/UseFieldArray.tsx | Remove legacy component-based docs wrapper page |
| src/components/UseControllerMethods.tsx | Remove legacy component-based docs table component |
| src/components/UseControllerContent.tsx | Remove legacy component-based docs content |
| src/components/UseController.tsx | Remove legacy component-based docs wrapper page |
| src/components/Menu/MenuLinks.ts | Add setValues to the API sidebar navigation |
| public/robots.txt | Add robots + sitemap directive |
Comments suppressed due to low confidence (1)
src/pages/_app.tsx:41
- Removing the global <title> from
_appmeans any route that doesn't render theSeocomponent (e.g. lightweight redirect pages) will now ship without a document title. Consider restoring a default<title>in_app(or ensuring every page, including redirect-only ones, rendersSeowith a fallback title).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.
No description provided.