Skip to content

feat(post): community sentiment mockup (L1 + L2)#6295

Draft
idoshamun wants to merge 4 commits into
mainfrom
feat/community-sentiment
Draft

feat(post): community sentiment mockup (L1 + L2)#6295
idoshamun wants to merge 4 commits into
mainfrom
feat/community-sentiment

Conversation

@idoshamun

@idoshamun idoshamun commented Jul 8, 2026

Copy link
Copy Markdown
Member

What

A Community Sentiment section on the redesigned post page (PostFocusCard): what the developer community outside daily.dev thinks about a post, aggregated from X / Hacker News / Lobsters.

Mockup with typed sample data — behind the community_sentiment flag (dev-on, prod-off) and gated to the full post page (not the preview modal).

Layers

  • L1 surface: plain-English TL;DR + a positive / mixed / skeptical breakdown bar, discussion count, and a Deep dive toggle.
  • L2 (inline expand): modular blocks that render only when populated, so the layer composes itself to the sentiment shape:
    • What devs like / What worries them (pros vs cons)
    • The big debate (the one thing they disagree on)
    • Open questions (unknowns nobody's answered)
    • By community (per-source lean with logos; HN/Lobsters link to the real threads)

Notes

  • Not for merge yet — draft while we iterate on the design (Layer 3 next).
  • Real data is a one-line swap for the sample constant.
  • Context doc kept local/uncommitted per request.

Preview domain

https://feat-community-sentiment.preview.app.daily.dev

Adds a Community Sentiment section to the redesigned post page (PostFocusCard), behind the community_sentiment flag (dev-on, prod-off) and gated to the full page (not the preview modal).

- Layer 1 surface: plain-language TL;DR + positive/mixed/skeptical breakdown bar, discussion count, and a Deep dive toggle.
- Layer 2 (inline expand): modular blocks that render only when populated (pros/cons, the big debate, open questions, by-community with source badges + links to the real threads).

Uses typed sample data so wiring a real aggregation query later is a one-line swap.
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jul 8, 2026 2:13pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Jul 8, 2026 2:13pm

Request Review

- Layer 3 'Top picks': verbatim quote cards with source badges, author, engagement metrics, and links to the originals; Load more reveals the rest in one step.
- Reworked copy (breakdown bar, 'By community', 'The big debate' vs 'Open questions', 'Deep dive').
- Source rows: logos + links to the real threads, with the link slot reserved so unlinked rows stay aligned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant