Threading: Antworten (reply_to) + Focus-View
- entry: reply_to/reply_count/last_activity; reply_count bubbelt bis Root
- Hauptfeed nur Roots nach last_activity, Profil-Feed inkl. Antworten
- GET /entry/{pid}/thread (Ahnen+Antworten), GET /e/{pid} Focus-Seite
- Frontend: Antworten-Link im Feed, entry.html/entry.js Focus-Seite
- notes/migrations.md: ALTER TABLE fuer Prod
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>kver</title>
|
||||
<link rel="stylesheet" href="/css/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>kver</h1>
|
||||
<div id="headerbar"><a href="/">zurück zum Feed</a></div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section id="ancestors"></section>
|
||||
<div id="focus"></div>
|
||||
|
||||
<!-- Nur für eingeloggte Nutzer -->
|
||||
<section id="reply-box" hidden>
|
||||
<form id="reply-form">
|
||||
<textarea name="content" rows="3" maxlength="1000" placeholder="Antworten…"></textarea>
|
||||
<input name="file" type="file" accept="image/*">
|
||||
<button type="submit">Antworten</button>
|
||||
</form>
|
||||
<p class="msg" id="reply-msg"></p>
|
||||
</section>
|
||||
|
||||
<h2 id="replies-heading">Antworten</h2>
|
||||
<section id="replies"></section>
|
||||
</main>
|
||||
|
||||
<script src="/js/feed.js"></script>
|
||||
<script src="/js/entry.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user