Sharing a chart with its short summary, with link previews
CI / test (push) Successful in 1m10s
CI / build (push) Successful in 4m33s
CI / deploy (push) Skipped

The summary card gets a share button: a public link (/s/<slug>) with the
wheel and the newest short summary, no name or birth data. The page carries
og:/twitter: tags, and /s/<slug>/kep/<version>.png renders a 1200x630 preview
(wheel, title, text, big three) with next/og and bundled fonts. The version
changes with the summary, so Facebook fetches a rewritten one again.

Backend: a shared chart comes with its newest finished summary, and sharing
the same thing again returns the open link.

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-19 07:37:06 +00:00
co-authored by Claude Opus 5.5
parent da533e8fa9
commit c7600608d3
21 changed files with 1001 additions and 0 deletions
@@ -9,6 +9,7 @@ import { AnalysisLoading } from "./AnalysisLoading";
import { RegenerateButton } from "./RegenerateButton";
import { RetryNotice } from "./RetryNotice";
import { Rich } from "./Rich";
import { ShareChart } from "./ShareChart";
import { openTab } from "./Tabs";
const POLL_MS = 3000;
@@ -81,6 +82,7 @@ export function ChartSummary({
<p className="summary-text" lang={summary?.language}>
<Rich text={content.summary ?? ""} />
</p>
<ShareChart chartId={chartId} />
<a
href="#elemzes"
className="summary-more"