aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Second argument for World() #202

Closed aroberge closed 9 years ago

aroberge commented 9 years ago

Have a second argument for World() when worlds are loaded from url; the second argument would be a name to appear in the html select, and which could be used as a shortcut.

aroberge commented 9 years ago

Issues that need to be taken care of while implementing this are #193, #199 and #206.

The following checklist should be performed:

  1. Loading a local world using World() from an existing menu item e.g. World("Home 1")
  2. Loading a remote world using World(url, shortname) once and make sure that it is added to the available selection; if no shortname is provided, use the url instead.
  3. Reloading the remote world using the same syntax as 2. and ensure that it is NOT added a second time.
  4. Reloading the remote world using the shortname.
  5. updating a permalink by copy/pasting into the dialog
  6. clicking on an embedded permalink in an html document and ensure that it is loaded properly.
  7. reinstate the dialog about world having been changed when World() is executed. Make sure that the French translation is present.
  8. Ensure that only one menu item with shortname PERMALINK is present at a given time.
  9. Ensure that faulty link is handled properly.