Forum: whom a reply answers, icon badges, the new features on the pages
- Replies stay two levels deep, but a reply to a reply says whom it is
for ("↪ Holdfény"): posts.reply_to_id.
- The question stands apart on its own card; the listening reminder above
the reply box is gone.
- Every rank and badge has its own line icon (Vándor, Kereső, Fonó,
Csillagfonó, Sorsfonó; Moderátor, Meghallgató, Támogató, Szálindító).
- Pages for the new features: own avatar upload and the moderator's reset,
the listener and supporter switches, mention and weekly summary e-mails
(the weekly one off by default), "@" suggestions and mention links, the
daily sky thread by "Sorsfonalak", "Most itt vannak", joining restricted
topics, and the moderators' Témák tab (requests; topics for the admin).
- Members-only topics say so to members too.
- The privacy notice (HU, EN) and point 8.1 of the terms cover own
pictures, badges, mentions, restricted topics and the weekly summary;
the data export and account deletion include them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -253,7 +253,9 @@ async fn threads_replies_and_what_is_new(pool: PgPool) {
|
||||
assert_eq!(first["author"]["nickname"], "Holdfény");
|
||||
let second = app.reply(&anna, heart, "Köszönöm.", first["id"].as_i64()).await;
|
||||
let third = app.reply(&bea, heart, "Szívesen.", second["id"].as_i64()).await;
|
||||
assert_eq!(third["parent_id"], first["id"]);
|
||||
assert_eq!(third["parent_id"], first["id"], "two levels at most");
|
||||
assert_eq!(third["reply_to"], json!({"id": second["id"], "nickname": "Csendesvíz"}), "but it says whom it answers");
|
||||
assert!(first["reply_to"].is_null());
|
||||
|
||||
// Anna follows her thread: one new reply from Bea since she last read.
|
||||
let home = app.get("/v1/forum/home", Some(&anna)).await;
|
||||
|
||||
Reference in New Issue
Block a user