nothingislost / obsidian-workspaces-plus

Quickly switch and manage Obsidian workspaces
GNU General Public License v3.0
197 stars 6 forks source link

Ability to sort workspaces by last use #70

Open ngirard opened 2 years ago

ngirard commented 2 years ago

Heya,

let me start by expressing my gratitude for your efforts into this nice extension: using it helped me a lot !

I can see you've started working on big unreleased new stuff, but there's a low hanging fruit that would be very easy to implement and very valuable to me: adding the ability to sort the workspaces by last time of use.

Could you please consider adding this feature ?

Cheers, and happy new year !

jsmorabito commented 2 years ago

Thanks for the suggestion @ngirard and happy new year! Could you share more information about your use case and how this improvement would benefit your particular workflows? That will help us get a better sense for if and how this feature might fit into the plugin as a whole.

ngirard commented 2 years ago

Well I gradually came to represent what I do as "intents" and "activities", rather than "objectives" and "projects/tasks"; one activity being one markdown file with the appropriate metadata.

So I have many activities, and it makes much sense to associate a workspace to each of them.

(I wish workspaces would be first-class citizens so that I can refer to them using links and create/delete them automatically or semi-automatically, but I digress. For now of course I manually create a workspace manually each time needed, giving it a name similar to or in relation with the related activity).

This feature request would allow me to switch back to the previously used activity much more easily, and see the most recent active activities at a glance.

Other systems offer such functionnality, for instance Org mode with the so-called "clocking commands".

Hope that helps.

ngirard commented 2 years ago

Any thoughts...?

jsmorabito commented 2 years ago

Any thoughts...?

Sorry for the late response @ngirard !!! Yes, many thoughts haha:

I will discuss the feasibility of this feature (sorting workspaces) with NIL and get back to you. it may be the case that its a larger design challenge than we'd be willing to address before putting out the current features that we are testing in the beta branch. additionally, if you are interested in a user interview feel free to comment here or direct message me on Discord, my name is johnny1093#3137

Thanks!

ngirard commented 2 years ago

how many workspaces do you have?

Currently, around 30. I'd have more than that with the suggested sorting !

Cheers

ngirard commented 2 years ago

Just a friendly reminder than I'm still greatly interested in having this feature implemented.

Seems to me like it is a very low hanging fruit that shouldn't require much effort to implement...

ronrdev commented 1 year ago

Workspace Plus is a session manager. I was going to add a feature request but I think this one is similar enough to just add mine here. It's actually two features. View workspace list in a view that can be added to the sidebar Ability to custom sort workspace list with drag and drop

Reason/use case: Now that Obsidian has tabs and smooth use of multiple panels I use a workspace as a session manager. With the auto save on workspace plus switching it remembers where I left off, so I can pick up the context again. This is great when I have a session saved for researching a project and can jump into a daily note/journal session or a weekly review session, or writing an article, or planning a different project. Each of these sessions has their own tab/pane config and files open, that change as I am working and auto saved on switching to a new workspace/session. This means workspaces are not limited to a single saved state that is reverted to like the standard core plugin.

The indicator on the status bar works great and I use hotkeys most of the time anyway, but the concept of a session manager could be game changing for others like it has been for me. Bringing more visibility to this type of use with a view panel in the side bar and sorting ability would be cool. Maybe even the ability to have sub/nested sessions. Template session settings. Things like that which make it more useful.