-
Notifications
You must be signed in to change notification settings - Fork 106
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
Open/Include images using Google's Picker API #546
Comments
Have you tried this feature on WeScheme? We use the Picker API, which does exactly what I think you need.
|
Yeah, the picker API requires access to the entire user's drive, though, right? I guess maybe CPO is going in that direction anyway. |
Thanks Joe, this is a little involved but it's working great! |
Ah, I see - sorry, I didn't realize CPO was being less demanding. I get the sense this isn't the only thing we'll want more access for, though I can't think of other examples right now. In general, though, I think people are going to push back if we wind up asking for more access later. Better to ask the first time they sign up, no? |
I've been grimly holding on to a least-authority attitude here, though Google sheets caused another crack in my argument to open up because there's no way to reasonably access one sheet without getting access to them all. There's at least one other use case I have for importing raw JS libraries that would require asking for access to the user's entire Drive, or else do either some really complicated implementation work or an annoying workflow for users. My inclination from a security perspective is to prompt only when needed rather than asking for everything up front, but maybe we just need everything. (@hannahqd will enjoy seeing your comment, I'm sure, which has the slippery conclusion that we might as well ask for permission to comment on the user's YouTube videos while we're at it, since we might want to post animations to YouTube someday.) |
If we have to ask later, on a per-use basis, we need to think through the UX very carefully. I can see this friction causing real problems for classroom teachers, whose students blindly click "no" and then complain when something doesn't work. And the steps you just outlined above basically mean "no public school kids include gdrive images in their games". This isn't a show-stopper for us, but it's going to be a pain to lose something so useful. |
Yeah prompt-to-confirm is probably the wrong experience here anyway, since our users won't really know how to make an informed decision anyway most of the time. |
We might be able to do everything we need with Still more responsibility than I really want CPO to have, but it might be the next step. |
Isn't this more of a CPO issue? |
Some students want to use personal images for their games. I tried sharing a photo from my Google drive and passing it to the image-url function, but that didn't work. I know this took a lot of fiddling to work with Wescheme, is it possible in Pyret?
The text was updated successfully, but these errors were encountered: