Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed items not guaranteed to sort to the bottom of list #102

Open
pafoster opened this issue Dec 6, 2024 · 0 comments
Open

Completed items not guaranteed to sort to the bottom of list #102

pafoster opened this issue Dec 6, 2024 · 0 comments

Comments

@pafoster
Copy link

pafoster commented Dec 6, 2024

The README states:

These two goals are why, for example, lines start with priority and/or dates, so that they are easily sorted by priority or time, and completed items are marked with an x, which both sorts to the bottom of an alphabetical list and looks like a filled-in checkbox.

To ensure that completed items sort to the bottom of list, it is sufficient that item descriptions start with an upper-case ASCII character (as is the case for many of the examples provided, though not all). Here is a counter-example:

xylophone lesson
x Find ticket prices

The 'xylophone lesson' is an example given in the README, more generally a user might encounter the same issue if item descriptions are written in lower-case ASCII / unicode in a non-English lanuage.

The README should clarify that completed items are not guaranteed to sort to the bottom of the list, if the item description does not start with an upper-case ASCII character. Alternative non-breaking fixes are:

  • Require that descriptions start with an upper-case ASCII character
  • Make the creation date non-optional
  • Make the priority non-optional
@pafoster pafoster changed the title Completed items not guaranteed to sort at the bottom of list Completed items not guaranteed to sort to the bottom of list Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant