Forum: answers to me as the only count, reply box in the branch, keyboard-safe inputs

- The "Követett" tab becomes "Válaszok": its count is the unread answers
  to the member (a reply to their post, a first-level reply in their
  thread, or a post naming them), listed on /forum/valaszok with "Mind
  olvasott"; the followed threads are its second view. The other counts
  are gone from the menu; listeners see the waiting threads on their card
  on the front page.
- Replying to a post opens the box at the bottom of its branch and scrolls
  there; another branch moves it (with the text typed so far).
- Phones: while typing, the forum's bottom menu and floating bars step
  aside and the box with its send button is scrolled above the keyboard
  (KeyboardSafe, site-wide; Android resizes the page for the keyboard).
- The "Meghallgató" badge is now "Kísérő", with a new icon.

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:31:00 +00:00
co-authored by Claude Opus 5.5
parent 8bc426460d
commit 42283d740e
25 changed files with 615 additions and 90 deletions
+1 -2
View File
@@ -42,10 +42,9 @@ export default async function ForumLayout({ children }: { children: React.ReactN
member={viewer?.member?.nickname ?? null}
loggedIn={viewer?.logged_in ?? false}
initial={{
unread: nav.ok ? (nav.data.followed?.new_replies ?? 0) : 0,
replies: nav.ok ? (nav.data.replies ?? 0) : 0,
messages: nav.ok ? (nav.data.messages ?? 0) : 0,
reports: nav.ok ? (nav.data.reports ?? 0) : 0,
waiting: nav.ok ? (nav.data.waiting ?? 0) : 0,
}}
wsUrl={process.env.FORUM_WS_URL || "/api/v1/forum/ws"}
/>