HappenApps / Quiver

Quiver documentation and issue tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manually sorting items with sub-notebooks crashes Quiver

Penumbra69 opened this issue · comments

When you create a notebook with a sub-notebook, and a sub-notebook under that one (with notes in each level) - giving you a structure like:

  • (Notebook) Book (sort by updated)
    • (Notebook) Chapter (sort manual)
      • Note 1
      • (Notebook) Notes (sort manual)
        • Note 2
        • Note 3

If you select the highest level notebook - you see all notes from all sub-notebooks (which is cool) - and are set to sort by Updated.
The issue arises when if you select the 2nd level notebook (Chapter here) which is set to manual sort - and you try to drag to re-order any of the notes.

This immediately causes Quiver to crash.

This may be hard to reproduce - it looks like I had taken a stand alone notebook (Chapter) which was set to Manual - and dragged it into the new top-level notebook (Book). Which retained the Manual sorting. I tried to re-create this issue, but the "Manual" sort is greyed out when I try to do it normally. So this may be a retention of the "Manual" sort when re-rooting itself to the 2nd level of the sub-notebook. The 3rd level is allowed to sort manually, so IDK entirely what's going on here..