refactor: fold comment count into PostActions toolbar
CommentCountBadge was a separate component rendered next to PostActions — two adjacent strips of buttons that should have been one toolbar. Merges the count fetch + click-to-scroll behaviour into PostActions behind `commentPageId` / `commentTargetId` props. The standalone CommentCountBadge.svelte is now redundant; deleted. Layout under the post hero is now a single row: [💬 3] [↗ Teilen] [📋 Link] [🖨️] [⏱ 4 min] Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -133,7 +133,7 @@ const TRANSLATION_KEYS = [
|
||||
"post_map_activate",
|
||||
"post_map_open_osm",
|
||||
"post_comments",
|
||||
// Comment plugin (Comments.svelte / PostCard count pill / CommentCountBadge).
|
||||
// Comment plugin (Comments.svelte / PostCard count pill / PostActions toolbar).
|
||||
"comments_loading",
|
||||
"comments_load_error_title",
|
||||
"comments_retry",
|
||||
|
||||
Reference in New Issue
Block a user