Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Add "New ODT File" in the files' app's "New" menu #80

Open
PVince81 opened this issue Oct 24, 2013 · 6 comments
Open

Add "New ODT File" in the files' app's "New" menu #80

PVince81 opened this issue Oct 24, 2013 · 6 comments

Comments

@PVince81
Copy link
Contributor

Currently, the files app makes it possible to create TXT files.

It would be good it if the document's app could provide a "Create ODT" entry in that menu as well.
The menu entry should only appear when the documents app is enabled in ownCloud.

I'm not sure how easy it is to insert an entry there from an app, feel free to assign this to me if needed :-)

@PVince81
Copy link
Contributor Author

CC @owncloud/designers

Still need to think of a good label.

@PVince81
Copy link
Contributor Author

I had a look at this and it seems that currently it's possible to create an ODT file by clicking New->"Text Editor" then typing in "test.odt". This is because the menu doesn't auto-append an extension.

The question here is whether we'd want to change the behaviour and instead of creating an empty file it would first ask for a file name (as usual) and then open the editor directly.
This means that when creating a text file, it will open the text editor if available.
When creating an ODT file, it would open the Documents app for that file.

Also one question is whether we want to auto-add the extension and provide more file types there (based on which editor apps are installed, apps register themselves into that menu) or whether we want to keep a generic "Create new file" entry where the user must manually add the extension.

What do you think @owncloud/designers ?

@jancborchardt
Copy link
Contributor

@PVince81 yeah man, good call. It would be cool to instead of the generic »New file« have a list of the available file types which can be handled by that ownCloud. So it would be text, ODT, … depending on what’s installed. And if you click that entry the editor for it would directly be fired up.

Can’t find the issue anymore but that should be the new flow: Starting up the editor directly instead of up front asking for a file name, creating a file, user needing to hunt down the file and click it to start actually working.

@ghost
Copy link

ghost commented Nov 26, 2015

oC 9.0 will provide a way for apps to add such an entry: owncloud/core#20051

@jancborchardt
Copy link
Contributor

@VicDeo what do you think? An entry »New document« which automatically opens the Documents app with a new document.

@samwilson
Copy link

I have just been trying to install the Documents app with great trickery because I was testing with an empty document that I'd created by changing New file.txt to whatever.odt. It let me create the file, of course, but when I went to edit it I just got the spinner floating in a void under the formatting toolbar. So there's a chance that this method of creating new files has some flaws.

This is with OC 9.0.0.19 and Documents 0.12.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants