Skip to content

Bluesky feeds: your timeline and saved feeds as sources - #499

Draft
disnet wants to merge 1 commit into
mainfrom
push-noztoyvwlqnz
Draft

disnet wants to merge 1 commit into
mainfrom
push-noztoyvwlqnz

Conversation

@disnet

@disnet disnet commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Your Bluesky Following timeline, and the feeds you pinned or saved in Bluesky, can now be sources. Manage Sources lists them under Bluesky feeds; Add makes a channel named after the feed. Like the follows source, a feed is never part of Everything or unread counts: a channel shows one only by naming it. A channel that is one feed keeps Bluesky's order and pages by cursor; mixed with other sources, posts sort by time.

Posts are read live through the reader's PDS (getTimeline / getFeed via the appview proxy) and never stored; only the list of added feeds is, in bsky_feeds (migration 0085). A post renders whole (BskyPostCard): repost and reply context, rich text, images, video thumbnail, quote, labeled media behind Show, and its link card, which opens in the reader.

Reply, repost and like write records to the reader's own repo. Reading asks for the 'bluesky' permission; posting asks for 'blueskyWrite' inline on the first like, repost or reply. The follows source's picker label is now 'Links from people you follow', so it doesn't read like the timeline.

Plan: docs/plans/BLUESKY_FEEDS_PLAN.md. Docs: guide/bluesky-feeds.

Your Bluesky Following timeline, and the feeds you pinned or saved in
Bluesky, can now be sources. Manage Sources lists them under Bluesky
feeds; Add makes a channel named after the feed. Like the follows source,
a feed is never part of Everything or unread counts: a channel shows one
only by naming it. A channel that is one feed keeps Bluesky's order and
pages by cursor; mixed with other sources, posts sort by time.

Posts are read live through the reader's PDS (getTimeline / getFeed via
the appview proxy) and never stored; only the list of added feeds is, in
bsky_feeds (migration 0085). A post renders whole (BskyPostCard): repost
and reply context, rich text, images, video thumbnail, quote, labeled
media behind Show, and its link card, which opens in the reader.

Reply, repost and like write records to the reader's own repo. Reading
asks for the 'bluesky' permission; posting asks for 'blueskyWrite' inline
on the first like, repost or reply. The follows source's picker label is
now 'Links from people you follow', so it doesn't read like the timeline.

Plan: docs/plans/BLUESKY_FEEDS_PLAN.md. Docs: guide/bluesky-feeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
disnet pushed a commit that referenced this pull request Sep 25, 2026
- The scope feature is now 'blueskyPost' (gate, status key, upgrade error,
  frontend type and label). #499 uses 'bluesky' for reading Bluesky feeds,
  and the two would have collided.
- A trim that lands inside a URL now drops the URL instead of linking the
  part that fits, which pointed at an address that doesn't exist.
- The drawer resets its Bluesky access answer on each open and ignores an
  answer that arrives after it moved to another article.
- Back from "Allow access", the drawer reopens on the draft it was asked
  from (a one-shot localStorage marker, checked against the account).
- Cross-posts carry langs: the reader's UI language, validated server-side
  to at most three well-formed BCP-47 tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CqqpeJhMRtHKH3uSkkTgo
disnet pushed a commit that referenced this pull request Sep 25, 2026
- The scope feature is now 'blueskyPost' (gate, status key, upgrade error,
  frontend type and label). #499 uses 'bluesky' for reading Bluesky feeds,
  and the two would have collided.
- A trim that lands inside a URL now drops the URL instead of linking the
  part that fits, which pointed at an address that doesn't exist.
- The drawer resets its Bluesky access answer on each open and ignores an
  answer that arrives after it moved to another article.
- Back from "Allow access", the drawer reopens on the draft it was asked
  from (a one-shot localStorage marker, checked against the account).
- Cross-posts carry langs: the reader's UI language, validated server-side
  to at most three well-formed BCP-47 tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CqqpeJhMRtHKH3uSkkTgo
disnet pushed a commit that referenced this pull request Sep 26, 2026
- The scope feature is now 'blueskyPost' (gate, status key, upgrade error,
  frontend type and label). #499 uses 'bluesky' for reading Bluesky feeds,
  and the two would have collided.
- A trim that lands inside a URL now drops the URL instead of linking the
  part that fits, which pointed at an address that doesn't exist.
- The drawer resets its Bluesky access answer on each open and ignores an
  answer that arrives after it moved to another article.
- Back from "Allow access", the drawer reopens on the draft it was asked
  from (a one-shot localStorage marker, checked against the account).
- Cross-posts carry langs: the reader's UI language, validated server-side
  to at most three well-formed BCP-47 tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CqqpeJhMRtHKH3uSkkTgo
disnet added a commit that referenced this pull request Sep 26, 2026
)

* Add "Also on Bluesky" to the share composer, with quote text shots

A linkblog share can now also go out as an app.bsky.feed.post from the
reader's own account. The composer plans the post live from the draft:
commentary becomes the text (trimmed to Bluesky's 300 characters), and
quoted passages go out as images drawn like a quoted highlight (serif,
gold rule, signed with the article title and site), up to four, with the
quote as alt text. With images the article link rides in the text as a
link facet; without, the post embeds the article's link card and thumb.

Backend: a new progressive 'bluesky' scope feature (repo:app.bsky.feed.post
+ blob:image/*), reported in /api/integrations/status, and
/api/v2/bluesky/{image,post} routes that build link and mention facets
and re-validate image references.

Frontend: sticky per-account "Also on Bluesky" and "Quotes as images"
toggles, an access check that offers "Allow access" before posting, and
a background cross-post after the linkblog share lands, reported by toast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SWFv4DTEouu92XE46Kz7R8

* Show a Bluesky count ring in the share composer

When "Also on Bluesky" is ticked, the strip's plain "138/300" becomes a
count ring like Bluesky's own: it fills toward 300, turns amber with the
characters left in the last 20, and red with a negative count past the
limit. The plan now carries the uncut length so the ring shows how far
over the draft runs rather than the already-trimmed text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SWFv4DTEouu92XE46Kz7R8

* Rename the cross-post scope feature to blueskyPost; fix review findings

- The scope feature is now 'blueskyPost' (gate, status key, upgrade error,
  frontend type and label). #499 uses 'bluesky' for reading Bluesky feeds,
  and the two would have collided.
- A trim that lands inside a URL now drops the URL instead of linking the
  part that fits, which pointed at an address that doesn't exist.
- The drawer resets its Bluesky access answer on each open and ignores an
  answer that arrives after it moved to another article.
- Back from "Allow access", the drawer reopens on the draft it was asked
  from (a one-shot localStorage marker, checked against the account).
- Cross-posts carry langs: the reader's UI language, validated server-side
  to at most three well-formed BCP-47 tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CqqpeJhMRtHKH3uSkkTgo

* Pin the clock in the guest highlights rate-limit test

The limiter uses a fixed window, so a slow CI run could cross a minute
boundary partway through the loop and start a new count. The request
that should have been limited then came back 200.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Ask for a missing linkblog permission in the share drawer

A share refused for a missing permission (403 scope_upgrade_required)
only raised the app shell's banner, which sits under the reader, so the
drawer showed "Couldn't post. Try again." with no way forward.

shareLink and setNote now rethrow ScopeUpgradeError after rolling back,
and the composer shows the ask on its own row with Allow access. The
grant reuses the Bluesky flow (save the draft, grant, reopen it on
return), generalized to any feature as allowAccess/resumeAfterGrant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
@disnet
disnet marked this pull request as draft November 9, 2026 01:03

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant