frictionlessdata / schema-collaboration

Carles Pina Estany's 2020 Tool Fund: data managers and researchers collaborate to write the Frictionless Data packages, tabular schemas, etc.
https://carles.eu.pythonanywhere.com/
MIT License
16 stars 3 forks source link

Exit package creator: improve dialogue adding Save option #3

Open cpina opened 4 years ago

cpina commented 4 years ago

See the steps to see the dialogue in #2

The dialogue current has two options: Ok and Cancel.

It should probably have the standard options for exiting an application with unsaved changes. For example, LibreOffice says: """ Save changes to document "$NAME_OF_THE_DOCUMENT" before closing?

Your changes will be lost if you don't save them.

[Don't Save] [Cancel] [Save] """

Note that adding a "Save" button might need to deal with "Save, when saved exit" and deal what happens if the "Save" operation fails (no internet in this moment).

Probably #2 needs to be done before this ticket.