eclipse-archived / ceylon-web-ide-backend

The Ceylon Web IDE
http://try.ceylon-lang.org/
Apache License 2.0
25 stars 11 forks source link

Confusion: Default project is for the README.md #90

Open xkr47 opened 8 years ago

xkr47 commented 8 years ago

If I as a logged-in user go to http://try.ceylon-lang.org/ then apparently a project that hosts the introduction README.md is opened.

Symptoms: If I create a new ceylon file and then hit share, I get urls with a gist id that refer to the gist that hosts just the README.md.

Also if I try to save, I get an error in the console:

error   undefined    —    Error storing Gist: Not Found
error   undefined    —    This can happen when you are trying to save a Gist
                          that has been deleted in the mean time or you might
                          be trying to change a Gist that is not owned by you.
                          In that case use Save As to create your own
                          personal copy.

Improvement idea: When trying to save or share the project when using the README.md project as base (or any project that is not owned by the user), show a popup instead saying "Since this project is not owned by you, you need to save your own copy using 'Save as'".