Skip to content

Conversation

@tg339
Copy link
Member

@tg339 tg339 commented Nov 5, 2025

Note

Adds new MDX components (video, file tree, changelog, export notice), improves TOC and code blocks, updates navigation and layout, removes legacy migration script, and adds toast/video dependencies.

  • MDX/Content Rendering:
    • Extend MDXRenderer with new components: ExportRequirement, MuxVideo, FileTree (with subcomponents), BulletPointsCard, CompareBulletPointsCard, ToggleBlock, ZoomImg, and changelog helpers (ReleaseHighlights, Added, Changed, Deprecated, Fixed, Security, BreakingChanges).
    • Add SourceCodeLink and expose Tabs, Badge, and Link to MDX.
    • New components: changelog-category.tsx, export-requirement.tsx, file-tree.tsx, mux-video.tsx.
    • Enhance Callout to accept string icon names.
  • TOC & Layout/UX:
    • Rework TOCNav to compute active heading via viewport logic; adjust offsets and container sizing.
    • Improve responsiveness/overflow handling in code blocks/snippets/editors (code-block, code-editor-wrapper, code-snippet).
    • Map unsupported languages to text in Shiki (client/server) with fallbacks.
    • Add Toaster (sonner) to root layout; expose Toaster component.
    • Adjust article/container classes for better width handling.
  • Navigation:
    • Update app API frameworks in navigation.ts (add fastify, koa, raw-nodejs pages).
    • Make getSectionFromPathname return null for root; guard checks in top/side nav; remove language toggle from side nav; minor padding/styling tweaks.
    • Simplify Reference section (remove nested language children).
  • Cleanup:
    • Remove legacy script scripts/migrate-content.ts.
  • Dependencies:
    • Add @mux/mux-player-react and sonner in pnpm-lock.yaml.

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

@linear
Copy link

linear bot commented Nov 5, 2025

@vercel
Copy link

vercel bot commented Nov 5, 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

playbackId: string;
title?: string;
width?: string | number;
height?: string | number;
Copy link

Choose a reason for hiding this comment

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

Bug: Dimension props are ignored.

The width and height props are defined in the MuxVideoProps interface and destructured in the component, but they're never passed to the MuxPlayer component or used anywhere. Users passing these props will expect them to control video dimensions, but they have no effect.

Fix in Cursor Fix in Web

export const events = new OlapTable<EventV0>("events", { version: "0.0", orderByFields: ["id"] });
```
</LanguageTabContent>
<LanguageTabContent value="python">
Copy link

Choose a reason for hiding this comment

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

Bug: Unify Event ID Type Declarations

The id field in EventV0 is declared as plain string but should be Key<string> to match the typing pattern used in EventV1 and maintain consistency with the table's primary key semantics across versions.

Fix in Cursor Fix in Web

env: "text",
dotenv: "text",
};
const mappedLanguage = languageMap[language.toLowerCase()] || language;
Copy link

Choose a reason for hiding this comment

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

Bug: Client-side language lookup missing null safety.

The languageMap lookup uses language.toLowerCase() without checking if language is defined first. If language is undefined, this will throw a runtime error. The server-side implementation at line 36 in server.tsx correctly handles this with a ternary check (language ? languageMap[language.toLowerCase()] || language : "typescript"), but the client-side implementation is missing this null-safety check.

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
timeoutSeconds: 3
periodSeconds: 3
failureThreshold: 2
successThreshold: 5
Copy link

Choose a reason for hiding this comment

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

Bug: High Readiness Threshold Delays Pod Availability

The readinessProbe has successThreshold: 5 which is unusually high and likely incorrect. Kubernetes documentation and best practices typically recommend successThreshold: 1 for readiness probes (meaning the probe must succeed once to mark the pod as ready). A value of 5 means the pod needs to pass 5 consecutive health checks before being marked ready, which significantly delays traffic routing after pod startup and can cause unnecessary downtime during deployments.

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