dooit icon indicating copy to clipboard operation
dooit copied to clipboard

💡 [FEAT] Inbox to quickly capture tasks

Open sathishmanohar opened this issue 2 years ago • 9 comments

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

sathishmanohar avatar Mar 14 '23 06:03 sathishmanohar

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

kraanzu avatar Mar 15 '23 18:03 kraanzu

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.

sathishmanohar avatar Mar 15 '23 18:03 sathishmanohar

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

kraanzu avatar Mar 16 '23 03:03 kraanzu

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 ) 
__________________________________________

sathishmanohar avatar Mar 16 '23 05:03 sathishmanohar

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

kraanzu avatar Mar 17 '23 05:03 kraanzu

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

  • 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.
  • User may not always want to search for a workspace. They may want to navigate to it as well.

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.

sathishmanohar avatar Mar 17 '23 09:03 sathishmanohar

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:

kraanzu avatar Mar 17 '23 11:03 kraanzu

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

sathishmanohar avatar Mar 17 '23 11:03 sathishmanohar

Yes Yes. I totally understand!

kraanzu avatar Mar 17 '23 12:03 kraanzu