azai91 / alfred-drive-workflow

Alfred workflow to search google drive
MIT License
224 stars 23 forks source link

folder search? #62

Open ehahn9 opened 6 years ago

ehahn9 commented 6 years ago

Hi Alexander! I use your wonderful gdrive alfred workflow daily! Would you be willing to add support to finding gdrive folders as well as files? Not sure if that's even doable? Basically "d foo" would match foo/ and open the google folder/tag. This sort of parallels alfred's simple folder search workflow ("f foo").

If a small donation$ would help, I'd be honored!

goetzchr commented 5 years ago

+1 I also would love to see this feature

goetzchr commented 5 years ago

Hi @azai91,

any update if this is possible or on the roadmap would be great.

I really like your workflow and using it everyday. I just miss the functionality to open folders from Google Drive in finder.

Thanks, Christian

GabLeRoux commented 5 years ago

yeah that would be great indeed. I feel this is the only thing missing here 👍 Good job with the plugin, it works very well and it's very useful.

johnathanz commented 5 years ago

You can folder search with a separate Alfred plugin: https://github.com/login?return_to=%2Fazai91%2Falfred-drive-workflow

goetzchr commented 5 years ago

@johnathanz seems the link redirects to this plugin, can you share the correct link?

Thanks, Christian

GabLeRoux commented 5 years ago

@johnathanz which plugin are you talking about?

aMittalAnshul commented 5 years ago

I'd love this feature to show folders as well. Isn't there a way we can configure this ourselves?

dabeeeenster commented 5 years ago

Ive tweaked the code to do this and forked the project here:

https://github.com/dabeeeenster/alfred-drive-workflow

goetzchr commented 5 years ago

@dabeeeenster How can I try it out?

dabeeeenster commented 5 years ago

Ive made a release here https://github.com/dabeeeenster/alfred-drive-workflow/releases/tag/v2.2

GabLeRoux commented 5 years ago

I confirm it works. The diff is here: https://github.com/dabeeeenster/alfred-drive-workflow/commit/c2526817f045387d1e373179018d7ce72e61d2f9

I would remove comments and would instead add a setting to enable/disable folder search. I'd let plugin author (@azai91) decide wether this should be enabled or disabled by default. But I'd personally enable folders by default.

Here's how users can set a setting with alfred workflows:

image

image

If the setting was added with the Don't Export flag, it will already be there and part of the exported workflow.