Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Allow capital X to be recognized as completed prefix #13

Description

@kyletolle

I see that only a lower x is allowed for the completed prefix, - [x], which is defined at https://github.com/sn-extensions/simple-task-editor/blob/master/app/models/Task.js#L4

Would also be nice for capital X, - [X], to be a possible completed prefix too, at least for initially parsing the list.

If I start with this plain text:

- [X] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file_.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb

And use the Simple Task Editor, I get this:
bad tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions