Forum: the attached chart's wheel in the question

A question with a shared chart shows the chart's wheel, one with a shared
synastry the two charts on one wheel, at a fixed size beside the details
(above them on phones). The forum sends the wheel's data (positions, angles,
houses, aspects; never birth date, time or place) to logged-in members only.

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-26 16:57:04 +00:00
co-authored by Claude Opus 5.5
parent e7767573d7
commit 67cb3c6b8c
5 changed files with 114 additions and 39 deletions
+2
View File
@@ -1261,6 +1261,8 @@ async fn a_question_about_ones_chart(pool: PgPool) {
assert_eq!(preview["title"], "Születési képlet");
assert_eq!(preview["points"][0], json!({"id": "sun", "sign": "leo", "degree": 12, "house": 10}));
assert_eq!(preview["points"][2]["id"], "ascendant");
assert_eq!(preview["chart"]["points"][1]["sign"], "pisces", "the wheel's data");
assert!(preview["chart"].get("time").is_none(), "no birth time");
assert!(!preview.to_string().contains("Kovács"), "no names");
for (slug, who) in [("annaplain000001", &anna), ("annaforum000001", &bea), ("nincsilyen", &anna)] {
let (status, _) = app.call("GET", &format!("/v1/forum/share-card/{slug}"), Some(who), Value::Null).await;