New todolists are added to the top of the list of todolists

Issue #6 resolved
Tom Aratyn repo owner created an issue

In 34d9027, I used a rather naive solution to adding new todolists. I just prepended them to the top of the list. This approach works with todos (which ought to be ordered by creation date) but can be misleading for new lists (since they're sorted by name). A todo list will show up at the top when first created and then on refresh may show up lower in the list of todo lists.

Steps to reproduce:

  1. Add list "AAA"
  2. Add list "ZZZ"

Expected results

ZZZ should be displayed below AAA

Actual results

ZZZ is displayed above AAA

Comments (3)

  1. Log in to comment