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

Create new file #719

Closed
FelixZacher opened this issue Apr 28, 2020 · 13 comments
Closed

Create new file #719

FelixZacher opened this issue Apr 28, 2020 · 13 comments

Comments

@FelixZacher
Copy link
Contributor

At the moment you can only create a folder, a text file and a bitmap file.

We should change the two file options for a Create file-option, where you can specify the file extension.

@lorisobi
Copy link

lorisobi commented May 3, 2020

I made a small concept of the file creation dialogue.
New File
If the list gets too long you could maybe use a list view with grouped headers

@FelixZacher
Copy link
Contributor Author

FelixZacher commented May 3, 2020

I really love it.

  1. Filename:
    I wonder if we can include a option to specify the filename somehow. So instead of a 2-step action (creating a default file, name it accordingly) it is a 1-step action (both in 1 dialog).
    What about adding a textbox at the top for the filename?

  2. Folder:
    Can we somehow integrate the folder option? If not, we would need to "new"-buttons (file, folder) or a 2. dialog before this one.

  3. Specify custom type:
    We should include a way to specify a custom filetype.

@lorisobi
Copy link

lorisobi commented May 3, 2020

NewFile2

Either a textbox on the top or like this when you click (but I think first one would be more user friendly)

@FelixZacher
Copy link
Contributor Author

FelixZacher commented May 3, 2020

  1. I would exclude shortcuts for now.
  2. With this approach we can simply treat "folder" as a filetype and put it into the list.

I once saw a control, that would suit, but i don't remember where, so i do my best to describe it.
It is a control , which is divided into two parts. The 1. (left) part is a simple TextBox for the filename and the 2. (right) part displays the file extension (not editable). So as a whole it displays the filename + extension. The file extension is controlled by the selection on the list.

The disadvantage of this control is, that it doesn't work nicely with the folder type.

@lorisobi
Copy link

lorisobi commented May 3, 2020

so like this?
NewFile3

@FelixZacher
Copy link
Contributor Author

FelixZacher commented May 3, 2020

Yeah kind of

  1. How about deleting the space between the textbox and the file extension box?
  2. I would delete the down arrow.
  3. attach the "recent, all"-window beneath the "new file"-window. merge them into one
  4. move the create button the the bottom.
  5. remove the "folder" option for now.

I'm not sure about where the create button should go

@yaira2
Copy link
Member

yaira2 commented May 3, 2020

What about a simple drop down menu that fetches the options from the registry?

@lorisobi
Copy link

lorisobi commented May 3, 2020

too simple 😂

@FelixZacher
Copy link
Contributor Author

FelixZacher commented May 3, 2020

i really would like to have an option to specify custom filetypes.
With explorer i have to create a textdocument, so i can then rename it to a markdown file.

@lorisobi
Copy link

lorisobi commented May 3, 2020

yeah you're right, thats annoying. but maybe just put it in as first/last dropdown option

@FelixZacher
Copy link
Contributor Author

For me personally the custom entries in the explorers "new"-menu do not bring any value.

The only option is use are the "folder" and the "textdocument" options.

I create all other entries (office, zip, bitmap) through the corresponding apps.

@FelixZacher
Copy link
Contributor Author

You should be able to specify a custom entry. A AutoSuggestBox, where you enter custom entries. Or there is a settings option or a json file, where you can specify custom entries for the dropdown.

@yaira2
Copy link
Member

yaira2 commented Jun 21, 2020

Merging with #507.

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

No branches or pull requests

3 participants