Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: adds app.bsky.graph.defs#skeletonReasonSponsored lexicon. #3419

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aendra-rininsland
Copy link

See #3386.

I'm also working on a PR for bluesky-social/social-app to add UI for these. Creating this as a draft in the interim.

aendra-rininsland added a commit to aendra-rininsland/social-app that referenced this pull request Jan 20, 2025
@aendra-rininsland aendra-rininsland marked this pull request as ready for review January 20, 2025 23:22
@aendra-rininsland
Copy link
Author

Marking as "ready" given this needs to be merged before bluesky-social/social-app#7518.

"properties": {
"info": {
"type": "string",
"description": "Extended information about sponsored content, provided by the feed generator for transparency purposes."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably hold off on changes until the social-app PR gets a reply, but quick notes:

  • a description on the overall object clarifying that it existing at all means the feed item is sponsored content (we don't have good descriptions like this for skeletonReasonRepost or skeletonReasonPin, but we should)
  • we are slowly but surely trying to lock down every string field with a maxLength to prevent shenanigans. maybe 2000 bytes (like feedContext)?

I'd be interested in considering if this should eventually be an AT-URI field pointing at a "context" record of some type. We are thinking about a generic "annotation" / "more context" mechanism for things like labels. That is still speculative though, and this is an optional field so there is a transition path.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I've added a description and a maxLength as requested in the meantime while waiting for a response on bluesky-social/social-app#7518.

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.

2 participants