Skip to content

Commit 76555cd

Browse files
InfantLabclaude
andcommitted
fix: show What is X? as visible subtitle in help sections, not hidden accordion
Each help section now displays its introductory FAQ answer directly under the heading so users get high-level context without clicking. Also points the Rhythms Need help? link to all rhythms help, not just chains. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bbbf40b commit 76555cd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

app/pages/help.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,14 +556,18 @@ function scrollToSection(id: string) {
556556
>
557557
<template v-if="faqsByCategory[section]?.length">
558558
<h2
559-
class="text-lg font-semibold text-stone-800 dark:text-stone-100 mb-4 flex items-center gap-2"
559+
class="text-lg font-semibold text-stone-800 dark:text-stone-100 mb-1 flex items-center gap-2"
560560
>
561561
<span>{{ sectionMeta[section]!.emoji }}</span>
562562
{{ section }}
563563
</h2>
564+
<!-- First FAQ shown as section subtitle -->
565+
<p class="text-stone-600 dark:text-stone-400 leading-relaxed mb-4">
566+
{{ faqsByCategory[section]![0]!.answer }}
567+
</p>
564568
<div class="space-y-3">
565569
<div
566-
v-for="faq in faqsByCategory[section]"
570+
v-for="faq in faqsByCategory[section]!.slice(1)"
567571
:key="faq.question"
568572
class="bg-white dark:bg-stone-800 rounded-xl border border-stone-200 dark:border-stone-700 overflow-hidden"
569573
>

app/pages/rhythms.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ function getDailyGaps(rhythmId: string): string[] {
398398
<span class="mx-1">&middot;</span>
399399
<span class="text-xs">Rhythms are views — they never alter your data</span>
400400
</p>
401-
<HelpLink search="chains" label="Need help?" />
401+
<HelpLink search="rhythms" label="Need help?" />
402402
</div>
403403
</div>
404404

0 commit comments

Comments
 (0)