Collaborative wiki for a few of us. Fork of lines.love.

bugfix: never clobber in-memory links for a note

scenario: add note to a note in a column by itself Before this commit, the new note would seem to be added fine, but the old note's link would never be persisted.

It isn't enough just to fix run.lua, I also need to make add_note and populate_unroll_column behave more composably. Which increases the risk that this bugfix is going to introduce cascading bugs. (There must have been some reason I was erroring out when trying to unroll a note with no next link? And yet the check only occurs for the very first node in the chain?) But hopefully we're going in the right direction and any follow-on bugs will eventually damp down to 0. This seems worth doing even if it introduces bugs.

Created by  Kartik K. Agaram  on March 21, 2023
VUPAAFJL3JDSTGMBJMJUNT4EHFEL73Y5S4BEJZMFLNZUKNKWHGAAC
Change contents