Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Supporting DID links to sphere content #51

Open
@gordonbrander

Description

Recently the team has been discussing the value of supporting a did link form for sphere content. This has many upsides.

DIDs are identifiers (stable and globally unique). Slashlinks are locators (they tell you how to find stuff), but not identifiers. Given that slashlinks dereference to sphere DIDs under the hood, it would be a nice fallback if slashlinks could reference DIDs directly. It would also be nice if that form were a stable identifier.

This choice has cascading effects on the UX of Subconscious, the UX of writing Subtext, the parsing of Subtext, and more. Design is navigating tradeoffs by values. To that end, This note is an attempt to explore and reflect on these interconnected aspects, how they intersect with the design values of Subtext, and to find a balance of tradeoffs that best suit our values.

Values:

  • DIDs are an important modular interface.
    • If DIDs are a lego dot, then supporting them means you can click together with many other systems.
  • DIDs are not user-friendly, but @petnames are.
  • Conformability. E.g. Leaning into valid did syntax makes us conformable to a large number of other systems.
    • Reduces corner cases, sharp edges, surprises.
  • Subtext should be simple to write, simple to read, simple to parse.
  • The best Subtext syntax is no syntax (e.g. auto-linking http URLs).
    • The second best syntax is what you would write anyway (e.g. > blockquote).
    • The third best syntax is popular syntax from existing systems (e.g. _italic_ or @handles).
    • Subtext is less like Markdown, more like the auto-syntax you get in a social media site. We should not support deep structure or features.
  • Things like URLs should just work when you paste them into Subtext...
    • ...Within the limits of keeping parsing simple and unambiguous.
    • E.g. we only auto-link URLs starting with http:// or https:// for this reason.

Previously-resolved tradeoffs:

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions