Hacker News new | ask | show | jobs
by wkcheng 60 days ago
Nice work! This looks really cool.

I downloaded and am trying it out, but I'm running into a pretty annoying sorting bug that's preventing me from using it for real. I copied over files from my Obsidian vault (preserving file times), and the first time it loaded, everything seemed to work fine. After doing the first git commit, however, Tolaria cannot seem to sort properly by last modified anymore (I'm getting notes from 2023 or 2025 up at the top). The file system tree still has the correct modified and created times.

1 comments

that's weird will look into it! thanks for reporting
This was my workflow (this is repro-able 100%): 1. Take an obsidian vault (just a few folders and subfolders of markdown files) 2. Copy the entire folder (keep all of the dates with cp -a) to a new folder 3. Install Tolaria, point it to the new folder you created. 4. Open it up. This creates a git repository. 5. Click on the bottom UI to "Restore Tolaria AI Guidance." After this point, the sorting doesn't work and will continue failing. Everything says that it was created or modified recently.

Edit: I think I found the cause. When you initialize a git repository, the file modified times stay the same, but sorting by modified appears to sort by the commit date, which is now all the same for every file (since it was committed in one go)