Giter Site home page Giter Site logo

atproto-website's People

Contributors

akiomik avatar amazingca avatar andooown avatar arcalinea avatar badlogic avatar bnewbold avatar danieltolentino avatar drasticactions avatar emilyliu7321 avatar ericvolp12 avatar estrattonbailey avatar gaearon avatar gildaswise avatar gruen avatar hs4man21 avatar ianklatzco avatar intrnl avatar kokamkarsahil avatar mackuba avatar marshalx avatar mary-ext avatar mozzius avatar pfrazee avatar seboslaw avatar skiniks avatar snarfed avatar sugyan avatar surfdude29 avatar syui avatar thinkverse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atproto-website's Issues

Broken Hyperlink

The application guides, specifically the signing-in section is currently referencing to a page that does not exist.

The paragraph that has the link: https://atproto.com/guides/applications#signing-in
The hyperlink: https://atproto.com/lexicons/com-atproto-session

The exact line where the 404 is

Sign-in and authentication is a simple session-oriented process. The [com.atproto.session lexicon](/lexicons/com-atproto-session) includes APIs for creating and managing these sessions.

specs/lexicon: add recordkey (`rkey`) and TID (`tid`) string format types

This is mostly just symmetry/completeness. We specify the syntax of these in the specs, but don't have Lexicon-specific formats for them. rkey is pretty flexible, but has a restricted character set and doesn't allow whitespace.

tid isn't used in any current Lexicons, but has a more restricted syntax, and may pop up in more sync Lexicons if we use it for repo rev/clock field.

I can both draft a spec PR and add syntax check tests to atproto (typescript) if that is helpful.

cc: @devinivy @dholms

Node IPLD specification is incorrect and incomplete

https://atproto.com/specs/repository#mst-structure

The node IPLD schema fields are:
- `l` ("left", CID link, optional): link to sub-tree Node on a lower level and with all keys sorting before keys at this node
- `e` ("entries", array of objects, required): ordered list of TreeEntry objects
- `p` ("prefixlen", integer, required): count of bytes shared with previous TreeEntry in this Node (if any)
- `k` ("keysuffix", byte array, required): remainder of key for this TreeEntry, after "prefixlen" have been removed
- `v` ("value", CID Link, required): link to a sub-tree Node at a lower level which has keys sorting after this TreeEntry's key (to the "right"), but before the next TreeEntry's key in this Node (if any)

The v field is documented as:

  • ✅ A CID link.
  • ✅ Required.
  • ⚠️ A link to a sub-tree Node.

After experimenting with my own repository's CAR, I've concluded that this is most likely an accidental merge of two separate fields:

  • v:
    • A CID link.
    • Required.
    • A link to the Lexicon value corresponding to this TreeEntry's key.
  • t:
    • A CID link.
    • Optional (CID link || null).
    • A link to a sub-tree Node.

Update the Readme

The readme has default Next.js content. Some example sections for this:

  • What, or How
  • Features
  • Screenshots
  • How it works, Getting Started, or Deploy
  • Support
  • Troubleshooting & FAQ
  • Team, or Contributors
  • References
  • License

Website loses Accessibility setting (same as in App)

Describe the bug
To ensure the accessibility of my skeets I set the requirement for alt texts for all images. I did so on the website and I did so in the app. I cannot remember which setting was first. I would expect that this requirement is synchronized for the user. Last week I stumbled upon my settings on the website, and I found this requirement not set. I set it again. Today I found it unset again. In my app it is still set.

I have already sent this issue regarding the App in Issue 1357 over there, so this could be merged if feasible.

To Reproduce

Steps to reproduce the behavior:

I seem to find the Accessibility setting reset on the website every other day.

Expected behavior

The accessibility setting should a) be an accountwide setting and not limited to the way of connecting to Bluesky
The website must not forget the accessibility setting.

Screenshots

Details

Platform: Google Chrome on various Windows desktops, App on Android
Platform version: Windows 10 Pro 22H2 and Windows Server 2019 (Version 1809) via remote server and Android 13
App version:

Additional context

I have set the accessibility setting at least 5 times since I have signed up. If one time setting was not enough, at least the setting in one browser should be enough to remember this. As the function is used to remind ME to use alt texts, I should not have to remind setting the requirement first, when I use Bluesky via browser.

service proxying details needed

will eventually want to address:

  • possible /.well-known/ pre-flight check
  • ability to not forward on service token (or reduce it's scope)
  • details about what other headers should be passed along (or not), including content negotiation
  • whether to do a "forwarded for" header or not (probably not, for privacy reasons?)
  • caching
  • websockets
  • server-side retries, timeouts, circuit-breaking
  • status codes

show scrollbar on the blog site

Hey, I'm not sure where to report this, because I think the blog is in a different repo (private one probably), but could you please change the style on the blog so that the scrollbar shows up? I don't know which stylesheet line it is specifically, but something must be explicitly hiding the scrollbar because otherwise it would be displayed normally by default. I don't know what the intention was, but this makes it confusing because you don't know at what position you are in relation to the whole document and how much more you have to read when scrolling through a blog post.

bug: the email input on the subscription form in the footer is cutoff on mobile

Describe the bug
On my iPhone the email input in the footer is almost too small to see.

To Reproduce

Steps to reproduce the behavior:

  1. Visit the Bluesky homepage at https://blueskyweb.xyz/
  2. Scroll down to the footer
  3. Observe the email input is only covering a fraction of the width of the screen.

Expected behavior

The email input should span the width of the screen and the subscribe button should be on the line below.

Screenshots
image

Issue and Bug report Template Creation

Hello, I would like to work on two templates for issue and bug report creation for this repo. It will make the process easier for contributors.

Please let me know If I can work on this.

Thank you.

specs: document XRPC proxying / pass-through

How PDS implementations should handle proxying application endpoints through to an appview:

  • how route such requests (which endpoints to which AppView instance)
  • HTTP headers to include in upstream request
  • how to handle errors, retries, backoff, timeouts, rate-limits

The documentation for many API endpoints that returns lists of objects does not specify the sorting order

The documentation for many API endpoints that returns lists of objects does not specify the sorting order

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://atproto.com/lexicons/app-bsky-feed#appbskyfeedgetauthorfeed

Expected behavior

Sorting order is documented. It can be useful for apps that can paginate Authors Feed up to the first message they have previously seen and stop there. Some other APIs can benefit from having the order of returned objects to be documented so it can be relied on.

Details

  • Operating system: N/A
  • Node version: N/A

Additional context

N/A

additional spec docs (Spring 2024)

Things that are maturing and need formal write-ups in the specs:

  • Blobs: media files referenced by records, but stored and transmitted separately (short spec)
    • getBlob, uploadBlob
    • document behavior of re-uploading a blob in the same repo (HTTP status code, etc)
    • document sort-order of list blobs (?)
  • Repository Sync: how content flows though the system
    • repo event stream ("firehose"): event schemas and details
    • getRepo endpoint
    • requestCrawl / notifyOfUpdate
  • Accounts
    • account migration
    • lifecycle states
    • private settings
  • Auth
    • service auth (JWTs)
    • OAuth
  • Labels
    • schema/fields
    • negation
    • signature lifecycle (with key rotation)
    • stream format
    • HTTP header

Additions to existing specs:

  • HTTP: generic proxying to remote services, based on HTTP headers
  • Data Model: recommended limits

Translations?

I'm not sure if that's the right place to suggest ideas, but I was wondering how can I help with the translation of the website to Brazilian Portuguese, since I'm a native on the language. Do you, developers, ever considered placing that option? That'd make users from other countries to understand better all the documentation written and help clarify things up more easily. Let me know if I can do so, and how! It'd be a pleasure.

pds build instructions

could provide build instructions on how to make a pds in the docs somewhere, I had to manually figure out how the repo is set up to set up my own pds

Fix styling on `/lexicons/*`

Screenshot_20230423_093312_Chrome.jpg

Issue

Some of the headings in the lexicons extend beyond the viewport and cause an overflow. This can easily be fixed by wrapping the text, breaking it, or reducing font size(not optimal)

Pruning third-party clients that are no longer being maintained

With the app.bsky.unspecced.getPopular endpoint being deprecated and soon to be removed, it might be worthwhile checking up on the current list of third-party clients and see if they're still being maintained.

Some of them are actually dead, some of them just has been inactive, I haven't checked if any of these uses the deprecated endpoint, for the inactive ones it might be worthwhile to reach out to see if they're still maintaining it, or perhaps move them to a dedicated "inactive" section

Specify license for documentation

There is currently no LICENSE file in this repository. Is the intention for the docs to be MIT-licensed or under a similarly open license? If so, it would be good to state that clearly.

HTTP Basic authentication header example seems wrong.

https://github.com/bluesky-social/atproto-website/blob/main/content/specs/xrpc.md#admin-token-temporary-specification says Authorization header would be Basic admin:c2VjcmV0LXRva2Vu where the username is "admin" and the password is "secret-token".

On the other hand, RFC 7617 Section 2 says Base64-encoding must be done after concatenating the user-id, a single colon (":") character, and the password.
That means Authorization header would be Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== where the username is "Aladdin" and password "open sesame".

For example, cURL adopts the latter.
Is the description in 'content/specs/xrpc.md' a documentation error?

specs: allow digits in DID method

Allowing digits does seem to be correct upstream:
https://www.w3.org/TR/did-core/#did-syntax

and there are methods like did:3 and did:web7 which use them:
https://w3c.github.io/did-spec-registries/#did-methods

As part of this change we should:

  • update the specs and examples
  • update the shared interop test vectors
  • update golang SDK (indigo)
  • update typescript SDK (atproto)
  • dev comms to other promoted SDK maintainers

Feels like a bit of a bummer that they allow this as it visually blurs with host:port style syntax, but I guess the required second colon disambiguates.

cc: @matthieusieben

Guide and spec are inconsistent in defining `LexiconDoc`

For fun I'm writing a parser for lexicons while following the guide at https://atproto.com/guides/lexicon which I believe is rendered from this repository.

I paused to write this ticket to glance at PR and found #29 which updates the lexicon spec (in contrast to the guide).

So them I went back to compare the spec to the guide in the main branch and it appears they're inconsistent.

From the guide it introduces LexiconDoc as:

interface LexiconDoc {
  lexicon: 1
  id: string // an NSID
  type: 'query' | 'procedure' | 'record' | 'token'
  revision?: number
  description?: string
  defs?: JSONSchema
  // if type == record
  key?: string
  record?: JSONSchema
  // if type == query or procedure
  parameters?: Record<string, XrpcParameter>
  input?: XrpcBody
  output?: XrpcBody
  errors?: XrpcError[]
}

-while the spec defines LexiconDoc as:

interface LexiconDoc {
  lexicon: 1
  id: string // an NSID
  revision?: number
  description?: string
  defs: Record<string, LexUserType|LexArray|LexPrimitive|LexRef[]>
}

The JSON files I see in https://github.com/bluesky-social/atproto/tree/main/lexicons seem to follow the spec version.

Bug : Twitter Logo Not Updated on Bluesky Homepage

Describe the bug
Twitter Logo Not Updated on Bluesky Homepage

To Reproduce

Steps to reproduce the behavior:

  1. Visit the Bluesky homepage at https://blueskyweb.xyz/
  2. Observe the Twitter logo displayed on the page.

Expected behavior

The Twitter logo should reflect the latest design and branding, ensuring visual consistency with the official Twitter logo.

Screenshots

Twitter logo issue

Clarify "72 hour window"

https://atproto.com/guides/overview

Signing key: Asserts changes to the DID Document and to the user's data repository.
Recovery key: Asserts changes to the DID Document; may override the signing key within a 72-hour window.

This description of what the recovery key does is completely unclear. What acts can it override? What happens at the end of the time window? As a reader, as far as I'm aware at this stage in the document, everything we'd do with the signing key happens instantly, and doesn't have a time window. I think it has to be explained what operations this window applies to.

Typo on lexicon guide

On Lexicon page I think this

app.bsky.fed.post

is supposed to be

app.bsky.feed.post

Also this

at://bob.com/com.example.follow/1234

Based on the example in the lines listed

{
  "$type": "com.example.follow",
  "subject": "at://did:plc:12345",
  "createdAt": "2022-10-09T17:51:55.043Z"
}

would be

at://bob.com/com.example.follow/12345

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.