gwoe-antragspruefer/app/templates/v2/screens
Dotty Dotter a2b8f8c6fe feat(#178 Phase 4.2): PM-Variante 'thread' fuer Mastodon/Twitter-Threads
- Schema additiv: presse_drafts.style TEXT NOT NULL DEFAULT 'pm' via
  ALTER TABLE (idempotent in init_db).
- presse_generator.generate_draft(style='pm'|'thread') nutzt eigenen
  SYSTEM_PROMPT_THREAD (3-5 Posts à ≤280 Zeichen, Hook + Lebenslagen +
  Forderung, Hashtags am Schluss; keine **fett**-Markdown).
- _find_existing_draft, list_drafts, list_drafts_for, get_draft liefern
  jetzt auch das style-Feld zurueck.
- Endpoint /api/aktuelle-themen/generate-presse?style=thread baut den
  Switch ein. Ohne Param weiterhin 'pm'.
- Frontend: PM-Modal zeigt den style-Tag (📰 PM / 🐦 Thread) im Banner
  und bietet einen Knopf "Auch als Thread / Auch als PM" generieren.
  Idempotenz pro (drucksache, news_url, style)-Tripel.

Refs: #170, #178

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 16:11:16 +02:00
..
abos.html ux(v2): Partei-Dropdown statt Freitext in /v2/abos und /v2/feed 2026-04-25 22:37:31 +02:00
admin_abos.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
admin_freischaltungen.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
admin_queue.html fix: Admin-Queue-Ansicht — Daten wurden nicht angezeigt 2026-05-03 22:49:13 +02:00
admin_stand.html feat(#173): Vote-Orphans-Auto-Bewertung als Cron-Job + Tracking 2026-05-06 16:02:33 +02:00
admin_wahlprogramme.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
aktuelle-themen.html feat(#178 Phase 4.2): PM-Variante 'thread' fuer Mastodon/Twitter-Threads 2026-05-06 16:11:16 +02:00
antrag_detail.html feat: Opportunismus-Marker bei JA-Stimmen mit WP-Score < 3 2026-05-06 15:48:06 +02:00
auswertungen.html ux(#171): Mobile-Polish fuer Tab-Bars + Drilldown-Modal 2026-05-06 15:57:40 +02:00
batch.html feat: Batch-Analyse mit "Alle Bundeslaender"-Modus 2026-05-06 02:00:03 +02:00
cluster.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
durchsuchen.html feat(v2): globaler BL-Selector im Header + Auth-gated Sidebar + Queue-Widget 2026-04-25 21:50:36 +02:00
feed.html ux(v2): Partei-Dropdown statt Freitext in /v2/abos und /v2/feed 2026-04-25 22:37:31 +02:00
landtag_suche.html feat(#146): Fraktionen je Treffer in Landtag-Suche anzeigen 2026-04-28 01:47:54 +02:00
legal.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
merkliste.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
methodik.html feat(#106 Folge): Datenquellen-Tabelle auf /methodik um Plenum-Vote-Spalte erweitert 2026-04-28 23:12:58 +02:00
neu.html feat(v2): globaler BL-Selector im Header + Auth-gated Sidebar + Queue-Widget 2026-04-25 21:50:36 +02:00
quellen.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
tags.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00