Questions about relationship analyses too
CI / test (push) Successful in 1m6s
CI / build (push) Successful in 5m1s
CI / deploy (push) Skipped

- The answer sees both charts and the comparison; both people see the questions
- Heading, hint and example question per analysis kind

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-18 21:51:38 +00:00
co-authored by Claude Opus 5.5
parent 02e4e225f0
commit 029a001ca6
11 changed files with 116 additions and 29 deletions
@@ -100,7 +100,7 @@ export function DetailedAnalysis({
canPay: boolean;
/** Shown above a finished analysis (e.g. who is the first and the second person). */
note?: string;
/** Questions left; given where questions can be asked (natal analysis, forecast). */
/** Questions left; given where questions can be asked. */
questionsLeft?: number;
}) {
const [analysis, setAnalysis] = useState<Analysis | null>(initial);
@@ -156,13 +156,13 @@ export function DetailedAnalysis({
)}
{note && <p className="hint">{note}</p>}
<AnalysisView content={analysis.content} kind={target.kind} />
{questionsLeft !== undefined && target.kind !== "synastry" && (
{questionsLeft !== undefined && (
<AnalysisQuestions
analysisId={analysis.id}
left={questionsLeft}
isAdmin={isAdmin}
canPay={canPay}
forecast={target.kind === "forecast"}
about={target.kind}
/>
)}
</section>