Board URLs: stable keys instead of database ids #197
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #190; not urgent, and cheaper the earlier it happens.
Boards are addressed by database id —
/board/3. That is fine for one Postgres and does not survive the move to lexicons, where a record is named by whose repository it is in and a record key, and where ids handed out by one deployment's sequence mean nothing. It also lets anybody count the boards on a deployment from the address bar, which mattered less when an admin made all four of them.Boarda stable, non-sequential key (a TID is the native choice and sorts by creation time) and address boards by it.ShareLinkis already the one place that writes a URL and the one place that reads one back, which is most of why this is small./board/{int}and the other id-carrying routes keep resolving and redirect to the keyed address, because those links are in chats and bookmarks and inponente-last-pagecookies. Both.icsendpoints take aboardquery (CalendarScope) that calendar apps have subscribed to — those must keep working unchanged, not redirect.Worth noting while here, not fixing: positions are
doublemidpoints (ColumnService,BoardService.MoveAsync), and the atproto data model has no floats. They will need to be fractional-index strings or integers before they can be records.