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:
feco
2026-11-26 13:02:38 +00:00
co-authored by Claude Opus 5.5
parent 564c22176f
commit 8bc426460d
28 changed files with 1112 additions and 100 deletions
@@ -4,6 +4,7 @@ import { POINTS, SIGNS } from "@/lib/astro";
import { type ForumAuthor, ago, memberHref } from "@/lib/forum";
import { Avatar } from "./Avatar";
import { Badge, RankBadge } from "./Badges";
/** "☉ Halak · ☽ Rák · Asz Szűz": the signs a member chose to share. */
export function signsText(signs: Record<string, string> | null | undefined): string | null {
@@ -100,8 +101,10 @@ export function AuthorLine({
{author.nickname}
</Link>
{author.online && <span className="sr-only">(online)</span>}
<span className="fa-rank">{author.rank_name}</span>
{author.moderator && <span className="fa-badge fa-badge-mod">Moderátor</span>}
<RankBadge rank={author.rank} name={author.rank_name} />
{author.moderator && <Badge kind="mod" />}
{author.listener && <Badge kind="listener" />}
{author.supporter && <Badge kind="supporter" />}
{badges}
</span>
{(shown || time) && (