Skip to content

feat: add routes list to demo pages #68

Open
olliethedev wants to merge 1 commit intomainfrom
feat/demo-improvements
Open

feat: add routes list to demo pages #68
olliethedev wants to merge 1 commit intomainfrom
feat/demo-improvements

Conversation

@olliethedev
Copy link
Collaborator

@olliethedev olliethedev commented Mar 6, 2026

Note

Medium Risk
Changes default navigation by removing / redirects across multiple Next.js demos and adds new home UIs, which could break expected entrypoints/bookmarks. Also adjusts TypeScript/Next typing and JSX compiler settings, which may affect build/typecheck behavior in these demo apps.

Overview
Demo homepages now render a routes list instead of returning null, providing clickable entrypoints (plus docs links) for ai-chat, blog, cms, form-builder, kanban, and ui-builder.

Routing/config updates: removes Next.js redirects() that previously sent / to a default page, drops the generated ./.next/types/routes.d.ts import from next-env.d.ts, and switches several demos’ tsconfig.json JSX mode to preserve. Also updates kanban/ui-builder CSS to import plugin styles from @btst/stack/dist/.../client.css and makes a minor comment-only tweak in copy-stack-src.mjs.

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

…configuration files for improved compatibility
@vercel
Copy link

vercel bot commented Mar 6, 2026

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

Project Deployment Actions Updated (UTC)
better-stack-docs Ready Ready Preview, Comment Mar 6, 2026 11:08pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

if (!existsSync(src)) {
// Likely running in the monorepo where the workspace symlink does not expose
// src/ — fall back gracefully; @source paths in globals.css cover this case.

Copy link

Choose a reason for hiding this comment

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

Truncated comment left as incomplete sentence

Low Severity

The second line of a two-line comment was removed, leaving the comment truncated mid-sentence: "// Likely running in the monorepo where the workspace symlink does not expose" followed by a blank line. The deleted continuation "// src/ — fall back gracefully; @source paths in globals.css cover this case." completed the thought. This affects all six demo copy-stack-src.mjs files identically.

Additional Locations (2)

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.

1 participant