How We Built Open Previews and Used Invisible Divs in GitHub Discussions as a Key-Value Store
Too Long; Didn't Read
Open Previews allows you to add commenting functionality to your previews/staging environments. It's a great way to collect feedback from your non technical team members, customers or other stakeholders. We had to store additional information with the comments, like the position, selection, and other meta data. The solution we came up with is inspired by [Giscus, which uses Github discussions to store comments.