this post was submitted on 01 Jul 2023
5 points (100.0% liked)
Music
7302 readers
27 users here now
Discussion about all things music, music production, and the music industry. Your own music is also acceptable here.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nah haha, it has been going down a bit but no biggie. I don't think saving unfinished posts would be too feasible because you'd need to log each key stroke (onkeydown) and then save it in a database. It's pretty unrealistic. Don't worry about it!
Well, the idea was that the client or browser saves it - Beehaw would not save it in a database. I think that should be fairly easy to do tbh.
There's a few ways you can store the data client side, but it still requires to log each key stroke and save it. If I closed the tab the data would have to sit until it expires, I clear it, or I visit the site again and your javascript code removed it. It's not difficult to do, but unless there's a good reason it's usually more effort than it's worth.