Repository navigation
Opt-in ranking scores: chip on thumbnail + Settings → Display toggle - #8
Merged
Merged
Conversation
The dot tiered on the raw Base score while the popover's headline "Score" is the personalized effectiveScore (Base+boosts × source affinity), so the two disagreed — a green dot could sit next to a low Score (e.g. an 8.5 story from a source you've down-weighted, floored to 4.6), and an amber dot next to a high one (a 7.5 story from a source you favor, lifted to 16+). Tier the dot on effectiveScore so its color matches the Score line and the page order. Existing 8/5.5 thresholds fit the live distribution well (neutral-affinity stories still tier by their base). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3 absolute color tiers can't describe a bottom-heavy effectiveScore distribution (most of the feed clusters low), so the dot collapsed to mostly grey. Move the indicator to a numeric chip overlaid top-right of the thumbnail: the number is the personalized Score (fully granular), with a small tier dot for an at-a-glance colour and the same hover breakdown (Base / Coverage / For you / Source / Score). Wrap the thumbnail in a non-clipping .thumb-frame so the chip and its popover overlay the image (.thumb is overflow:hidden for the zoom). Chip sits opposite the existing top-left +N cluster badge. Removed the source-line dot. Cards without a score (saved Read Later hits) get no chip. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The chip now shows just the Score number. Removed the now-unused tier dot, its .score-dot CSS, and the scoreColor() helper that only fed it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scores are off by default. A new Settings → Display tab adds a toggle that turns on the thumbnail score chip and its hover breakdown. The preference is stored in viewState (synced across devices), so the server whitelist gains a showScores flag too; scoreChip() returns nothing unless it's enabled. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Adds an optional per-story ranking indicator (evolved from the dot in #5/#7).
Opt-in: off by default. Settings → Display has a new toggle, "Show ranking scores". When on, each story's thumbnail gets a score chip (top-right), and hovering it shows the breakdown popover.
The chip: the number is the personalized Score (
effectiveScore— the value the feed sorts by), fully granular (no color bucketing). Hover → Base → Coverage (cluster) → For you (taste) → Source (×affinity) → Score.Why it ended up here: a single 3-tier color dot couldn't describe a bottom-heavy score distribution (it collapsed to mostly grey), so it became a number; and since not everyone wants scores on their feed, it's gated behind a setting.
Implementation notes:
viewStateso it syncs across devices; serverDEFAULT_STATE.viewStategainsshowScores: false(the PUT whitelist would otherwise strip it).scoreChip()returns nothing unless enabled; thumbnail wrapped in a non-clipping.thumb-frameso the chip/popover overlay the image. Chip sits opposite the top-left+Ncluster badge..toggle-rowswitch styling; removed the old source-line dot,.score-dotCSS, andscoreColor().Deployed on this branch to nova for testing — do not merge until confirmed.
🤖 Generated with Claude Code