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

[Feature request] Creating new notebook in new directory #2708

Open
hungpham3112 opened this issue Nov 12, 2023 · 2 comments
Open

[Feature request] Creating new notebook in new directory #2708

hungpham3112 opened this issue Nov 12, 2023 · 2 comments

Comments

@hungpham3112
Copy link

Today I open new notebook then want to save them in new directory but Pluto says:
image

I know I should create new folder before adding new notebook to them but it will more convenience for saving notebook immediately in this way.

@mgkuhn
Copy link
Contributor

mgkuhn commented Nov 14, 2023

It would seem risky to quietly auto-create directories that didn't exist previously, because this will often mean that a mistyped existing directory gets converted into a real directory. I think the existing behaviour is useful, and also common practice with pretty much any other application I know. Or at least there ought to be a manual confirmation before any directories are created automatically. And if you support directory creation, you must also support directory deletion, such that users can undo accidental creations.

See also #1080

@mgkuhn
Copy link
Contributor

mgkuhn commented Nov 14, 2023

Pluto's notebook renaming field could in theory be extended into a more full-featured file-selection box, like those offered by various GUI widget sets, which, among other things, allow the user from within the file-selection GUI pop-up to create (and delete) folders. This could be useful in hosted Pluto server situations where the user doesn't have direct access to the file system, and can interact with it only through Pluto.

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

2 participants