Skip to content

Conversation

@tg339
Copy link
Member

@tg339 tg339 commented Nov 9, 2025

Note

Introduces a templates/apps explorer backed by a new API, adds rich MDX components (changelog, file tree, video, templates grid), improves code rendering/TOC/nav, and removes the old migration script.

  • Templates Experience:
    • New client grid components (TemplatesGridServer, template-grid, template-card) to browse templates/apps with search and filters.
    • API route src/app/api/templates/route.ts serves items from lib/templates.
    • Backend utilities: lib/templates.ts (reads templates/*/template.config.toml, infers metadata) and lib/template-types.ts.
  • MDX Enhancements:
    • mdx-renderer exposes many new components: ExportRequirement, MuxVideo, FileTree (with subcomponents), changelog components (ReleaseHighlights, Added, etc.), TemplatesGridServer, tabs/badge/icons, SourceCodeLink.
    • New components: export-requirement.tsx, mux-video.tsx, file-tree.tsx, changelog-category.tsx.
  • UI/UX Improvements:
    • Code blocks/snippets/editors: better overflow handling, optional line numbers, language fallback mapping for Shiki (client/server).
    • TOC logic rewritten to compute active heading via scroll position; layout/top/side nav spacing tweaks; adds “Templates” to top nav; removes sidebar language buttons; article container width fixes.
    • Toasts: add components/ui/sonner and mount <Toaster> in layout.tsx; language tabs prompt to set default.
  • Navigation Config:
    • Adds framework pages (fastify, koa, raw-nodejs) and null-safe getSectionFromPathname.
  • Cleanup:
    • Remove obsolete script scripts/migrate-content.ts.
  • Dependencies:
    • Add @iarna/toml, @mux/mux-player-react, and sonner.

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

@linear
Copy link

linear bot commented Nov 9, 2025

@vercel
Copy link

vercel bot commented Nov 9, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Nov 13, 2025 1:41am
framework-docs Ready Ready Preview Comment Nov 13, 2025 1:41am
moosestack-framework-docs-v2 Ready Ready Preview Comment Nov 13, 2025 1:41am


```bash filename="Terminal" copy
curl -X POST 'https://your-host/workflows/data-processing-<hash>/terminate' \
-H 'Authorization: Bearer <plain_token_from_output>''
Copy link

Choose a reason for hiding this comment

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

Bug: Authorization Header: Invalid Trailing Quote

The Authorization header value has an extra trailing single quote ('' instead of '), creating an invalid shell command that will fail when executed. The closing quote should be a single quote, not a double quote.

Fix in Cursor Fix in Web

code sizeing

new batch

data insertion

versioning & migration

next batch

next batch

fix mdx-rendered and adding next batch of files

adding api files

fixed some language rendering and added more pages

added workflows files

added other workflow files

streaming files

added additional frameworks

added new batch

added top level files

data modeling

all files migrated

initial changelog

addressing cursor comments

fix tabs

added a bit of padding to the nav

added sonner for language change

fix TOC

fix the build

add ts ignore to mux player

removed top nav

fix TOC challenges

added templates to new docs

split server & client components

moved to static api route instead
WHERE {where_clause}
LIMIT {limit}
OFFSET {offset}
"""
Copy link

Choose a reason for hiding this comment

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

Bug: Query parameters: scope and definition.

The f-string query uses {limit} and {offset} which reference undefined variables. These should use parameter placeholders like the WHERE clause does, not f-string interpolation. The variables limit and offset don't exist in scope - only params.limit and params.page are available. The query should be LIMIT {limit} and OFFSET {offset} as ClickHouse parameter placeholders (without f-string interpolation), relying on the params_dict that already contains these values.

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