Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make google drive connector accept a URL instead of a path #21

Open
jasonwcfan opened this issue Apr 20, 2023 · 3 comments
Open

Make google drive connector accept a URL instead of a path #21

jasonwcfan opened this issue Apr 20, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jasonwcfan
Copy link
Contributor

Right now, the Google Drive connector requires users input a path to the directory they want to ingest. This is unintuitive and prone to error.

Instead, it should accept a URL to the directory. This is much more intuitive for users since they probably already have that folder open in a tab and can simply copy/paste the URL instead of figuring out what the path should be.

We can then parse the URL to determine the ID of the folder.

@jasonwcfan jasonwcfan added enhancement New feature or request good first issue Good for newcomers labels Apr 20, 2023
@proBhavesh
Copy link

Working on it to solve it.

@jasonwcfan
Copy link
Contributor Author

Thanks @proBhavesh! An update to this issue - we added support for a folder URL already. But it's still not a great experience, I think the ideal would be if the psychic-modal project supported the Google Drive file picker (https://developers.google.com/drive/picker/guides/overview) to let users choose the exact files they want.

If you were interested in contributing, this is a great place to start!

@proBhavesh
Copy link

Thanks @jasonwcfan for the information. I will fix it asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants