kraanzu / dooit

An awesome TUI todo manager
https://pypi.org/project/dooit/
MIT License
2.02k stars 94 forks source link

💡 [FEAT] Inbox to quickly capture tasks #103

Open sathishmanohar opened 1 year ago

sathishmanohar commented 1 year ago

If dooit can take arguments and capture them in an Inbox which can be then dealt with (Like moving the respective project etc) while opening dooit can be great.

Something like dooit pickup milk d:today t:home,chores would be so efficient for quick captures

kraanzu commented 1 year ago

Hmmm...another yank option? like #102 ?

sathishmanohar commented 1 year ago

Yea. This feature is going to depend on the yank feature. however this is feature is to add tasks to dooit from anywhere in terminal. All those tasks are accumulated inside the new inbox option in the side panel. Moving those to their appropriate places after opening dooit is going to depend on the yank feature.

kraanzu commented 1 year ago

from anywhere in terminal.

Hmm.. I see you meant the command line! This could get pretty messy since we have branched workspaces and stuff! But yeah okay! Should be possible

sathishmanohar commented 1 year ago

If the UI is done right. It won't be messy. It'll be even pretty intuitive. The flow can be like any one of the following.

Yank one or more task and go the project and task subsection and paste it ( This method depends on yank )

or

Select one or more task and press m (as in move) a pop appears in which you can fuzzy find within projects and subheadings. The user can select a task under which the the selected tasks go or if they select the main project these tasks become the top level tasks. ( This method can be implemented independently )

For example

__________________________________________
|                                        |
|   Project one                          |
|       Subheading 1                     |
|       Subheading 2                     |
|> Project two                           |
|   Project three                        |
|       Subheading 1                     |
|       Subheading 2                     |
|       Subheading 3                     |
|       Subheading 4                     |
|                                        |
|                                        |
|----------------------------------------|
|> two                                   |
__________________________________________

__________________________________________
SELECTED | Inbox feature ( + 3 more ) 
__________________________________________
kraanzu commented 1 year ago

Ohhh...I see now. Yes that could be pretty cool! Maybe I can also add an option to completely remove the workspace bar and let users move between workspaces using this little menu which just looks like a rofi menu

sathishmanohar commented 1 year ago

I am happy that you find this a good addition. I suggest to keep the workspace pane as it is for the following reasons.

So I suggest having Inbox in the side pane itself above the workspaces.

|   Inbox (3)                         |
---------------------------------------
| > Project 1                         |
|   Project 2                         |
|   Project 3                         |

By having inbox like this, the right pane can be used to select the tasks then pressing m will invoke the previously discussed popup.

kraanzu commented 1 year ago

Some tasks can be pretty small like send invoice and the due and priorities are on the far right. so removing the workspace section will give even more space between them which isn't ideal.

Actually, you can sort the rows in any order you want in the config file :smile: See COLUMN_ORDER here

User may not always want to search for a workspace. They may want to navigate to it as well.

Well ofcourse, the search feature will be totally optional! Maybe for users who like it minimal :wink:

sathishmanohar commented 1 year ago

Actually, you can sort the rows in any order you want in the config file smile See COLUMN_ORDER here

I am not talking about the order but about this big gap between the description and the due and priority. When there is no left panel this space will be even bigger which isn't ideal.

image

kraanzu commented 1 year ago

Yes Yes. I totally understand!