mpcjanssen / simpletask-android

GNU General Public License v3.0
551 stars 128 forks source link

Feature request: search or add option - faster add new todo items feature #1199

Open clach04 opened 2 years ago

clach04 commented 2 years ago

Have a search box that live searches, then have an option to add the content of the search as a new line item

An alternative is to pop-up buttons to the right hand side of the search field. E.g. "Search" and "Add", that way if the search doesn't get good hits, a single button press would add the new line item.

I had this idea for a feature, and then found out https://github.com/openintents/shoppinglist implements something like it. OI shopping list shares "lists" in common with simpletask/todo.txt but that's about it.

The OI list feature is implemented as live search, when pressing enter/return the value is added to the list. Right now that would conflict with the current SimpleTask behavior where pressing enter performs the search. I'll attach screen shots (the Google Play store screen shots don't show this, in fact they don't reflect what it really looks like at all)

clach04 commented 2 years ago

https://github.com/openintents/shoppinglist Screen shots

View list

Screenshot_20220910-145021_OI Shopping List

Search list started by clicking on magnifying glass icon

Screenshot_20220910-145128_OI Shopping List

Typing in "test" would live search, in this instance with no results, pressing enter would then add a new item "test".

mpcjanssen commented 2 years ago

Good idea. Probably not super easy to implenent considerign how difficult it is to do stuff with the standard Android search widget.