Skip to content

Unify FAQ preview links with boxed accordion rows - #3967

Draft
marcklingen wants to merge 2 commits into
mainfrom
cursor/faq-preview-boxed-rows-2f14
Draft

marcklingen wants to merge 2 commits into
mainfrom
cursor/faq-preview-boxed-rows-2f14

Conversation

@marcklingen

@marcklingen marcklingen commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

FAQ preview links (items that navigate to another FAQ page) used a blue underlined bullet list, while accordion FAQs used stacked bordered boxes with a trailing +. This makes the two surfaces share one row shell.

What changed

  • Extracted FaqRow / faqRowClass for the bordered card chrome used by accordion rows, preview links, and the ask CTA.
  • Preview links keep that box, use a trailing arrow instead of +, and open the target in a new tab (target="_blank" + rel="noopener noreferrer").
  • Accordion items still expand with + / -.
  • Every FaqPreview now renders boxed rows (the old bullet-list path is gone). Existing renderAsRows props still compile.
  • The ask CTA uses the same boxed card on accordion pages and preview pages. Full-box click in the idle state is preserved (compatible with Make FAQ “Ask another question” card fully clickable #3965).

Files

  • components/faq/FaqRow.tsx (new)
  • components/Details.tsx
  • components/faq/FaqAsk.tsx
  • components/faq/FaqPreview.tsx
  • lib/markdown-component-renderers.js

Marketing FAQAccordion is unchanged (different stacked border-t chrome).

Verified locally

  • /docs/compatibility — accordion rows with + and shared ask box
  • /docs/prompt-management/troubleshooting-and-faq — boxed preview rows with arrows; click opens /faq/all/... in a new tab
  • Empty-area click on the ask box enters edit mode on both pages

Accordion FAQ with boxed rows, plus icons, and Ask another question
Prompt Management FAQ preview as boxed rows with arrows and Ask another question

Open in Web Open in Cursor 

FAQ link previews now use the same bordered row chrome as accordion
items, with a trailing arrow and new-tab navigation. The ask CTA shares
that box on both accordion and preview pages.

Co-authored-by: Marc Klingen <marcklingen@users.noreply.github.com>
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
langfuse-docs Ready Ready Preview Oct 5, 2026 8:05pm UTC

Request Review

Resolve FaqAsk.tsx against the merged full-box click change by keeping
the shared boxed ask row (full-card hit target) instead of the old
linked underline styling.

Co-authored-by: Marc Klingen <marcklingen@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 916232fe Deployed Oct 5, 2026 by vercel[bot]
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