Replies: 8 comments 22 replies
-
That's an interesting take. I had considered using actual filesystem folders and just reading the tree in as a menu, but for my own uses there were reasons that would be a pain. The primary issue I see is keyboard control. The next version adds a lot of keyboard stuff, from a hotkey to display the menu to assignable shortcuts for each Bunch. Hotkeys can't open submenus, though the keyboard shortcuts assigned to the Bunch menu items should still function. You just wouldn't be able to see them. That's probably a minor consideration, but having used this keyboard-centric version for over a month now, I never click the menu anymore, but I do need to see the shortcuts displayed to remember them all, so it's not completely trivial. This is something I've definitely considered, though, and will think it through a bit further. |
Beta Was this translation helpful? Give feedback.
-
The more I think about this, the more actual filesystem folders seem easier, both on me to code, and for management of a lot of files. First, there'd be the risk of the frontmatter value having any misspelling or inconsistent caps, leading to unpredictable results. Second, if you have so many Bunches that the menu needs folders, it seems at lot easier to drag items between folders than to individually edit the frontmatter for every file you want to move. And like I said, if the files were in subfolders, it would be much easier to build the menu by just iterating through the directories rather than parsing them all then rebuilding the arrays based on frontmatter values before generating the menu. But that's doable, I already do similar with the So can you detail for me what the benefits to frontmatter over filesystem would be for you? |
Beta Was this translation helpful? Give feedback.
-
Fair point about folder depth. I would think one nested level would be
all I would allow, anything further than that would just make unwieldy
menus anyway.
…-Brett
On 15 Mar 2021, at 11:28, Carlos Moffat wrote:
Yes, I see what you are saying, and reading over your arguments that's
probably the way to go. Something I hadn't considered is that if I
have a bunch of bunches with a 'folder' key and I decide to change the
name of the folder, I would need to find/replace in all of them,
instead of just renaming the folder.
Are you planning to limit the depth of the folder structure? This
could get unwieldy, or a user could set ~/ as the bunch directory by
accident!
Anyway, it's great that you're thinking of implementing this.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#39 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
-
I rewrote some core components that will make a transition to this type of thing easier, but I'm going to put off implementing it for the time being. Hopefully I'll get around to it before everyone has so many Bunches they just give up :). As a side note, I don't know if you've played with the interactive dialog features at all, but I've been able to combine a lot of similar Bunches into single ones that just offer a choice when opening. My "Code" Bunch, for example, combines three different Bunches that used to launch specific things for "Coding Bunch," "Coding Marked," and "Coding nvUltra." Now I just launch "Code" and it asks me what I'm working on, Bunch, Marked, or nvUltra, then launches the appropriate apps and folders for each one. This is layed out in an example Bunch if you're curious. |
Beta Was this translation helpful? Give feedback.
-
Ok, I've decided to experimentally add this (I got up too early this morning). As it stands, any subfolders in the main Bunch folder will be searched for Caveats:
Do those caveats sound reasonable? If so, this will be working in the next update. I'm also wondering if this should be a preference or not, but it seems like intuitive enough behavior that it could just be enabled for everyone... |
Beta Was this translation helpful? Give feedback.
-
Ok, this is implemented in b82, which is out now. Please see the documentation for details. |
Beta Was this translation helpful? Give feedback.
-
Great improvement! My bunches list was getting long. Love the new bunch Folders but don't like how bunches in a folder by default listed as folder/bunch when folder clicked. I know where the bunches are and this makes the bunch title harder to read. I would prefer just the bunch titles to show in folder list without having to add title frontmatter to each bunch file. Not just me being lazy but this would make it easier to move bunch files between folders without editing each one. |
Beta Was this translation helpful? Give feedback.
-
Oh, my bad. That definitely wasn't intentional. Will fix for the next
update.
…-Brett
On 8 Apr 2021, at 11:50, Stuart Hertzog wrote:
Love the new bunch Folders but don't like how bunches in a folder
listed as folder/bunch when folder clicked. I know where the bunches
are and this makes the bunch title harder to reader. Would prefer just
the bunch titles to show in list when folder clicked.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#39 (comment)
|
Beta Was this translation helpful? Give feedback.
-
Hey Brett,
As my bunches accumulate, I thought it might be nice to have folders. A 'folder' frontmatter key could be used for this. If absent (the default) the bunch would be displayed as it is today. If 'folder: work', bunch would create a 'work' folder when the user clicks on the menu bar icon.
Best,
Carlos
Beta Was this translation helpful? Give feedback.
All reactions