From 8804a20a7f956cca59ffae74df1069273bc83f75 Mon Sep 17 00:00:00 2001 From: Till JS Date: Mon, 27 Apr 2026 00:02:25 +0200 Subject: [PATCH] =?UTF-8?q?feat(community):=20public=20anon=20hub=20?= =?UTF-8?q?=E2=80=94=20module=20+=20inline=20+=20admin=20+=20onboarding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Macht @mana/feedback omnipräsent + öffentlich. Phase 2 vom Public-Community-Hub-Plan (docs/plans/feedback-hub-public.md). Inline-Touchpoints: - FeedbackHook: Lightbulb-Button, opens FeedbackQuickModal vorausgefüllt mit module-context. Auto-injected in jeder ModuleShell-Header (window-actions row), opt-out via hideFeedback prop. - GlobalFeedbackPill: Floating "Idee?"-Pill bottom-right, self-hides auf /onboarding, /feedback, /community, und für Gäste. Auto-detected module-context aus URL bzw. ?app=-Param. - FeedbackQuickModal: 3-Klick-Submit mit Category-Dropdown, Public- Toggle, "Sichtbar als {Pseudonym}"-Confirm-State. Community-Modul (eigenes Modul, in Workbench drop-bar): - module.config.ts (server-only, keine Sync-Tabellen) - queries.ts: useCommunityFeed + useCommunityItem mit auth-aware Switch zwischen public + auth-enriched Endpoints - ListView/DetailView/RoadmapView mit ItemCard-Component - App-Registry-Eintrag (Megaphone-Icon, #F59E0B) Public-Mirror-Routes (kein AuthGate): - /community — Feed mit SSR-Pre-Render via Public-Endpoint - /community/[id] — Single item + replies, SSR - /community/roadmap — Kanban Submitted/Planned/InProgress/Completed - /community/admin — Founder-only Triage (Status, AdminResponse, visibility-Toggle); Client-side role-gate redirect → /community. SEO: mit title/description,