Skip to content

Conversation

@pavpanchekha
Copy link
Contributor

This PR fixes #5732 by checking for empty file names in the "Save As" dialog and refusing to save the file. It also helpfully highlights the instructions to the user in red.

It would be better if the error message were clearer, or even better if the save button were disabled until a file name was entered, but that would require a much larger and more complex change to the code. (Maintainers, feel free to take this patch and run with it!)

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tests out great - thank you. I'm going to ask another maintainer to review the changes.

@kevin-bates
Copy link
Member

Steve, I'm hoping you can take a look at the changes. They test out fine on my end. Thank you.

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me, thanks!

@blink1073 blink1073 merged commit e6e0585 into jupyter:master Sep 8, 2020
@blink1073 blink1073 added this to the 6.2 milestone Sep 8, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require a file name in the "Save As" dialog

3 participants