Repository navigation
feat(feed): reading list widget for the feed widget rail - #6996
Merged
Merged
Conversation
The reader's newest unread bookmarks as a rail widget: one row at Small, four at Tall, eight across two columns at Large, each linking to the post, with a footer link to the bookmarks page and an empty state when nothing is left to read. It reuses BOOKMARKS_FEED_QUERY through a new unreadBookmarksQueryOptions creator, passing the API's existing status: UNREAD filter (daily-api#4421), so the query gains the $status variable. One fetch of eight serves every size, so resizing never refetches; it batches with the rail's other secondary queries and only runs for a logged-in reader once the widget is on screen. Behind the existing feed_widgets flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ing-list # Conflicts: # packages/shared/src/features/feedWidgets/components.ts
rebelchris
marked this pull request as ready for review
October 22, 2026 08:44
It now matches the Reading list widget in the storybook exploration (apps#6943): the bookmark-colored label with "View all", rows with a bold two-line title, the source and read time, and the post's thumbnail on the right, a list that scrolls with its edges fading while there is more (touch screens never scroll it, so a swipe moves the page), two columns at Large, and the warm library wash behind it. Bookmarks come oldest first, so nothing rots at the bottom of the list, and the one fetch now covers twelve, since the list scrolls at every size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 5 tasks
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.
Summary
readingList) to the feed widget rail: the reader's newest unread bookmarks, one row at Small, four at Tall, eight across two columns at Large. Each row links to the post, a footer links to the bookmarks page, and an empty state shows when nothing is left to read.BOOKMARKS_FEED_QUERYthrough a newunreadBookmarksQueryOptionscreator (graphql/bookmarks.ts), using the API's existingstatus: UNREADfilter from daily-api#4421. The query gains the$statusvariable andBookmarkStatusenum, the same lines feat(bookmarks): reader pane, status and grouped filters, read state, archive and notes #6916 adds, so the two will need a small merge.gqlBatchRequestand runs only for a logged-in reader once the widget is on screen. The registry already restricts the kind to logged-in readers.postLogEventwithOrigin.FeedWidgetsand the row index.feed_widgetsflag.Test plan
jest src/features/feedWidgets: newReadingListWidget.spec.tsxcovers listing unread bookmarks with their links, the Small row limit, the empty state, and no request when logged outtypecheck-strict-changed, webapptsc --noEmit__tests__/BookmarksPage.tsxstill passes with the new query variable🤖 Generated with Claude Code
Preview domain
https://feat-feed-widget-reading-list.preview.app.daily.dev