Skip to content

Conversation

@tg339
Copy link
Member

@tg339 tg339 commented Nov 18, 2025

Note

Introduces a dynamic, parameterized Guides system with step rendering; creates a dedicated Templates hub with sidebar filters; and updates navigation, UI, and config across docs.

  • Guides (new dynamic system)
    • Add explicit app/guides routes (layout.tsx, page.tsx, [...slug]/page.tsx) with dynamic step rendering, TOC integration, and breadcrumbs.
    • Implement guide engine: parse guide.toml, cache steps, conditional step inclusion via filename selectors, and render via GuideForm, DynamicGuideBuilder, GuideStepsWrapper/Nav, StepContent.
    • Seed content: multiple guides/**/guide-overview.mdx and a full example (performant-dashboards) with flows/options and step files.
  • Templates (new standalone section)
    • Add app/templates with layout, sidebar filters (TemplatesSideNav with URL-based type/language/category), and page rendering.
    • Enhance grid/card: URL-driven filtering in TemplateGrid, richer TemplateCard (chips, deploy/blog/github), and CommandSnippet component.
  • Navigation & routing
    • Update side nav to support nested active states and recursive children; add Guides sections; restructure Moose OLAP and Migrate groups.
    • Exclude templates/ and guides/ from catch-all route params and handling.
  • UI components & styling
    • Add primitives: Checkbox, Popover, Item*; tweak Input/Command to use bg-card.
    • TOC adds guide-specific scope selector and action; dark theme color tweaks.
  • Config & infra
    • Enable cacheComponents in Next config; switch robots.txt host/sitemap; simplify public/sitemap.xml.
    • Add form/validation deps (@tanstack/react-form, @tanstack/zod-adapter, zod), new Radix packages; introduce Biome config; update TS configs to nextjs.json.

Written by Cursor Bugbot for commit 2f5b495. This will update automatically on new commits. Configure here.

@linear
Copy link

linear bot commented Nov 18, 2025

@vercel
Copy link

vercel bot commented Nov 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Error Error Nov 20, 2025 5:04am
framework-docs Ready Ready Preview Comment Nov 20, 2025 5:04am

form.setFieldValues(currentValues);
}
}
}, [searchParams, manifest, language]);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Missing form dependency in useEffect

The useEffect hook at line 84 is missing form in its dependency array. The effect reads form.state.values and calls form.setFieldValues, but only includes searchParams, manifest, and language as dependencies. This causes the effect to use stale form state, potentially leading to incorrect form updates or infinite loops when the form state changes.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants