Re: Directory Upload Proposal

2015-05-14 Thread Jonas Sicking
On Wed, May 13, 2015 at 11:51 PM, Jonas Sicking wrote: > One important question though is what would directories> do on platforms that don't have a directory UI concept? > Like most mobile platforms? Err.. that should say: What would do on platforms that don't have a directory UI concept? / J

Re: Directory Upload Proposal

2015-05-13 Thread Jonas Sicking
On Wed, May 13, 2015 at 11:39 PM, Jonas Sicking wrote: > >> On that note, there is actually a 5th option that we can entertain. We could >> have three different kinds of file inputs: one type for files, another for >> directories, and yet another for handling both files and directories. This >>

Re: Directory Upload Proposal

2015-05-13 Thread Jonas Sicking
On Wed, May 13, 2015 at 2:19 PM, Ali Alabbas wrote: > Thank you for the feedback Jonas. After speaking to the OneDrive team at > Microsoft, they let me know that their use case for this would involve hiding > the file input and just spoofing a click to invoke the file/folder picker. > This make

Re: Directory Upload Proposal

2015-05-13 Thread Michaela Merz
I strongly support this proposal. However - if it is possible to upload a directly, it should also be possible to download it, including exporting it from the download / sandbox into the "real" world. I would also like to ask for an opinion on letting the developers choose how they actually want

RE: Directory Upload Proposal

2015-05-13 Thread Ali Alabbas
Thank you for the feedback Jonas. After speaking to the OneDrive team at Microsoft, they let me know that their use case for this would involve hiding the file input and just spoofing a click to invoke the file/folder picker. This makes me believe that perhaps there should be less of an emphasis

Re: Directory Upload Proposal

2015-05-08 Thread Jonas Sicking
On Tue, May 5, 2015 at 10:50 AM, Ali Alabbas wrote: > I recommend that we change the "dir" attribute to "directories" and keep > "directory" the same as it is now to avoid clashing with the existing "dir" > attribute on the HTMLInputElement. All in favor? There's no current "directory" attribut

RE: Directory Upload Proposal

2015-05-05 Thread Ali Alabbas
I recommend that we change the "dir" attribute to "directories" and keep "directory" the same as it is now to avoid clashing with the existing "dir" attribute on the HTMLInputElement. All in favor? As for the behavior of setting the "directories" attribute on a file input, we have the following

Re: Directory Upload Proposal

2015-04-28 Thread Jonas Sicking
On Mon, Apr 27, 2015 at 9:45 PM, Jonas Sicking wrote: > On Thu, Apr 23, 2015 at 12:28 PM, Ali Alabbas wrote: >> Hello WebApps Group, > > Hi Ali, > > Yay! This is great to see a formal proposal for! Definitely something > that mozilla is very interested in working on. > >> If there is sufficient i

Re: Directory Upload Proposal

2015-04-28 Thread Jonas Sicking
On Tue, Apr 28, 2015 at 4:28 PM, Travis Leithead wrote: >>> Aaron opened an issue for this on GitHub [1] and I agree that it is a >>> problem and we should definitely rename it to something else! One option >>> might be to change dir to directory, but we would need a different name for >>> dire

Re: Directory Upload Proposal

2015-04-28 Thread Jonas Sicking
On Tue, Apr 28, 2015 at 4:26 PM, Travis Leithead wrote: >>> Second, rather than adding a .directory attribute, I think that we should >>> simply add any selected directories to the .files list. My experience is >>> that having a direct mapping between what the user does, and what we expose >>>

RE: Directory Upload Proposal

2015-04-28 Thread Travis Leithead
tion of a separate directory picker if necessary--why force this distinction on the web developer? -Original Message- From: Ali Alabbas [mailto:a...@microsoft.com] Sent: Tuesday, April 28, 2015 4:21 PM To: Tab Atkins Jr.; Ryan Seddon Cc: Web Applications Working Group WG Subject: RE: Direc

RE: Directory Upload Proposal

2015-04-28 Thread Travis Leithead
ay, April 27, 2015 9:45 PM To: Ali Alabbas Cc: Web Applications Working Group WG Subject: Re: Directory Upload Proposal On Thu, Apr 23, 2015 at 12:28 PM, Ali Alabbas wrote: > Hello WebApps Group, Hi Ali, Yay! This is great to see a formal proposal for! Definitely something that mozilla

RE: Directory Upload Proposal

2015-04-28 Thread Ali Alabbas
On Tue, Apr 28, 2015 at 4:15 PM, Tab Atkins Jr. wrote: >On Tue, Apr 28, 2015 at 3:53 PM, Ryan Seddon wrote: >>> To enable developers to build future interoperable solutions, we've >>> drafted a proposal [4], with the helpful feedback of Mozilla and >>> Google, that focuses strictly on providin

Re: Directory Upload Proposal

2015-04-28 Thread Tab Atkins Jr.
On Tue, Apr 28, 2015 at 3:53 PM, Ryan Seddon wrote: >> To enable developers to build future interoperable solutions, we've >> drafted a proposal [4], with the helpful feedback of Mozilla and Google, >> that focuses strictly on providing the mechanisms necessary to enable >> directory uploads. > >

Re: Directory Upload Proposal

2015-04-28 Thread Ryan Seddon
> To enable developers to build future interoperable solutions, we've > drafted a proposal [4], with the helpful feedback of Mozilla and Google, > that focuses strictly on providing the mechanisms necessary to enable > directory uploads. > The use of the dir attribute seems odd since I can already

Re: Directory Upload Proposal

2015-04-27 Thread Arun Ranganathan
On Fri, Apr 24, 2015 at 2:28 AM, Ali Alabbas wrote: > > > If there is sufficient interest, I would like to work on this within the > scope of the WebApps working group. > > And I'll help with the FileSystem API bit, ensuring that "full" spec.[3] has bits about the Directory Upload proposal (outsid

Re: Directory Upload Proposal

2015-04-27 Thread Jonas Sicking
On Thu, Apr 23, 2015 at 5:45 PM, Anne van Kesteren wrote: > On Thu, Apr 23, 2015 at 12:28 PM, Ali Alabbas wrote: >> If there is sufficient interest, I would like to work on this within the >> scope of the WebApps working group. > > It seems somewhat better to just file a bug against the HTML Sta

Re: Directory Upload Proposal

2015-04-27 Thread Jonas Sicking
On Thu, Apr 23, 2015 at 12:28 PM, Ali Alabbas wrote: > Hello WebApps Group, Hi Ali, Yay! This is great to see a formal proposal for! Definitely something that mozilla is very interested in working on. > If there is sufficient interest, I would like to work on this within the > scope of the Web

Re: Directory Upload Proposal

2015-04-23 Thread Anne van Kesteren
On Thu, Apr 23, 2015 at 12:28 PM, Ali Alabbas wrote: > If there is sufficient interest, I would like to work on this within the > scope of the WebApps working group. It seems somewhat better to just file a bug against the HTML Standard since this also affects the processing model of e.g. .files.