Repository navigation
feat(storybook): policy-backed feed explain and a personalization center - #6936
Merged
Merged
Conversation
Explain mode now runs a copy of the For You challenger/5.0 policy over the real /history posts, so every reason, chip and score comes from the same math the feed uses, and adds a Personalization panel for full control. - Cards keep their exact layout: the explanation overlays the real grid or list card with the source and title at the card's own offsets, and the summary bar is gone. - Reason chips show what moved each post (topic match, follow, reader response, freshness, seen before, rotation, variety) and open a popover with the math and the policy knob behind it. - The Personalization panel shows the full inferred profile with every weight editable, sources and people, every ranking knob with its raw retriever_config key, what was left out and why, links to explicit settings, and resets, with a live preview of the next page. - A spec story maps each control to what daily-feed supports today.
Every topic and source is now one flat row with an exact boost slider and Follow or Unfollow, replacing the collapsible rows, the weight formula and More, Less and Mute. A topic at 0 shows as Off, and a reset icon returns a boost the user set to automatic. Sources get a per-source boost (an optional sourceWeights on the state) so they work like topics. Copy uses one vocabulary across rows and ranking settings: boost (shown as the multiplier it gives), topics you follow, topics from your reading, posts you read. Raw retriever_config keys, the config JSON, the Not adjustable list, the More and Less card and the at-a-glance tiles are gone; story 10 now maps each setting label to its config key. "Your explicit choices" becomes "Other feed settings" link cards, and a "Connect your agent" button opens a dialog to add the daily.dev MCP server with a starter prompt. Story 10 lists what the MCP still needs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Changes
Storybook-only exploration. Nothing ships: no shared, webapp or extension code changes.
Follows #6923 with two commits, meant to squash together.
Policy-backed explanations
challenger/5.0) over the real /history posts, so every card reason, chip and score comes from the same math the feed uses.Personalization center (Features / Feed Explain / 5 · Personalization controls, 8 · Phone controls)
10 · What it needs maps each control to what the feed and API support today, plus every ranking setting's
retriever_configkey and default.Checked at 1440, 1100 and 375 wide, with no horizontal overflow on phones.
Open questions
Events
No.
Experiment
No.
Preview domain
https://claude-personalization-center-8f.preview.app.daily.dev