feat(post): community sentiment mockup (L1 + L2)#6295
Draft
idoshamun wants to merge 4 commits into
Draft
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_sentimentflag (dev-on, prod-off) and gated to the full post page (not the preview modal).Layers
Notes
Preview domain
https://feat-community-sentiment.preview.app.daily.dev