docs(llc): add Stories integration code snippets#109
Conversation
Adds docs/code_snippets/03_04_stories.dart with examples for posting stories (activities with expiresAt), reading the stories aggregation feed, filtering stories vs regular posts with Filter.exists, marking stories watched, and following a user's story feed. The StoriesFeedUpdatedEvent WS handler and all SDK building blocks (FeedId.stories/story, expiresAt on FeedAddActivityRequest, ActivitiesFilterField.expiresAt, Filter.exists) were already present — this PR adds only the docs snippet. Closes FLU-378 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 8 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
=======================================
Coverage 85.53% 85.53%
=======================================
Files 124 124
Lines 4342 4342
=======================================
Hits 3714 3714
Misses 628 628 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
docs/code_snippets/03_04_stories.dartwith end-to-end Stories examplesexpiresAt), reading thestoriesaggregation feed, filtering stories vs regular posts withFilter.exists(ActivitiesFilterField.expiresAt, ...), marking a story watched, and following another user'sstoryfeedRelevance check
All SDK building blocks were already present:
FeedId.stories/FeedId.story,expiresAtonFeedAddActivityRequest/ActivityData,ActivitiesFilterField.expiresAt,Filter.exists, andStoriesFeedUpdatedEventWS handling in the state layer. This PR adds only the missing documentation snippet.Test plan
melos run analyze— no issues (docs snippet compiles cleanly)Closes FLU-378
🤖 Generated with Claude Code