allow linking to things using DIDs instead of just handles. handles are ephemeral and there is no guaranteed way to redirect. DIDs are more permanent in the future it would be nice to have a route to view an individual photo in a gallery (i could only find a way to link to a gallery). but that might be another request
url routes #2
Totally agree, we can update to support DIDs in the url for profiles, galleries, photos, etc. We could also track handle updates to provide proper redirects. It appears bsky handles handle redirects if your handle changes but not sure how far back that goes or how long it's cached.
Agree that there should be proper links for photos. Should properly just have a separate route or push the url when you browse a gallery's lightbox. There is some basic support for this now if you need to link to a specific image. I added record redirects for most records so you can do something like https://grain.social/did:plc:bcgltzqazw5tb6k2g3ttenbj/social.grain.photo/3lrw3voah6s2x and it will redirect to you to the image on the pds. Also works for galleries and profiles. Trying to support https://grain.social/:did/:collection/:rkey for all records and redirect to something relevant in the UI.
i screwed up the formatting and i'm guessing the record is cached, because editing it on the PDS doesn't sync to the tangled website :|
but yeah i it's essentially two small requests, 1) using DIDs instead of handles and additionally 2) for linking to individual photos