image post test
@hashrock@twtxt.net Do you mean link preview via OpenGraph tags? We actually already support those, we just haven’t built a frontend to render link previews in the UI yet… Maybe this is something you can help us do? 🤔
@hashrock@twtxt.net Oh a preview for the post interface, Yes! That would be awesome if we could have such a feature 👌 It would make the User Experience so much better for sure!
Hi @hashrock@twtxt.net and welcome to the twtxtverse. I have made a front-end for twtxt with a focus on visual content called pixelblog, but we hope to make some of these features part of yarn.social as well someday :)
@darch@neotxt.dk We will 👌
@hashrock@twtxt.net you can edit you latest post, so that kinda works like a preview, but yes that would be a nice feature to have a proper preview before posting
Probably the simplest way to support a basic “Preview” right now is to just have a “Preview” button that does some Server-Side rendering of the to-be-posted Twt, returns what it would be rendered as and we shove that in a block somewhere on the page.
What if we just turn the “Post” button into a 2-step process.
- Preview
- Post
First click, calls the backend to ask for a Preview. Second click submits for posting. If you modify the textarea the button goes back to “Preview”. Would this work? 🤔
@hashrock@twtxt.net Well that’s actually what most of us do already. If we notice a mistake on our Last Twt, we just go back and Edit it.
@hashrock@twtxt.net Yeah, the complexity might not be worth it right now.
@prologic@twtxt.net
Yeah, I think simplicity here is important. I’m just not used to the way things are done here, I’ve been using twitter for almost 10 years now and I don’t realize how inconvenient it is.