A quick reply from me. Perhaps I’ll come up with a longer answer, but for now some quick points that I feel saying right away.
I was thinking about building a inline-preview like we do for YouTube videos or tweets to show a post preview. However, as I now have slept a night and thought about this idea, I don’t think it is necessary. Instead of showing the URL, we could replace the URL with something like “Post ‘Foo’ by Alice”, and maybe prefix the link with a diaspora icon or something, so we have a clear visual identification that this is “more than a link”.
I think that we actually need embedding previews for referenced posts. Otherwise it won’t feel like we have implemented “reshares with own notes” or “private reshares”. Linking posts is actually possible right now using links without hostname [text](/post/:guid)
, and without the preview it doesn’t feel like anything similar to reshare. I can imagine someone will still want to use “weird userscripts” if we don’t implement proper embedding for linked post. If we are afraid of posts view getting messy, we can make it foldable, similar to like it works for #NSFW posts right now.
What happens if someone uses markdown to link to a post? How do we display it?
Just a short note: if you’re talking about []()
markdown, then markdown-it parser which we use for rendering actually doesn’t make difference between plain links and []()
links (it creates the same types and set of tokens), so that how we should parse it everywhere, I think.
Thank you @denschub for taking care of writing this up!