p5.js-web-editor/client
Enrique Piqueras 5e4b076b93 Fixed #158 and #100 (#198)
* Changed unsaved changes asterisk to an svg circle. #158

* Fixed #100
Unmatched routes are handled by react-router on the client side
and a single wildcard route on server.routes.js renders the index
html.
When the /:username/sketches route is matched and the username is not
valid, the user will be redirected to the index route and a toast
will explain what happened. When the username is 'p5' (default when
logged out) it will show all sketches. Maybe this should be changed
to just public or 'local' sketches?

* Moved unsaved changes SVG to a separate file.

* User not found is now a 404 error.

* Added server rendered 404 page.

* Removed console.log

* 404 Page now renders a random p5 sketch. TODO: make 404 sketches.

* Added 404 header
404 page now fetches a random example sketch

* Moved circle closer to file name

* Render 404 page in SketchList route if !user
2017-01-06 13:08:03 -05:00
..
components fix #243 2017-01-05 15:27:57 -05:00
images Fixed #158 and #100 (#198) 2017-01-06 13:08:03 -05:00
modules Fixed #158 and #100 (#198) 2017-01-06 13:08:03 -05:00
sounds replace alert sound 2016-08-28 15:55:19 -04:00
styles Fixed #158 and #100 (#198) 2017-01-06 13:08:03 -05:00
utils fix p5 specific syntax highlighting 2016-12-14 18:07:13 -05:00
constants.js FINALLY fix #52, this will not work with redirecting to https when authenticating but we will cross that bridge when we get there 2016-11-29 15:51:16 -05:00
index.jsx remove some dead code/files, change react components to .jsx files because of sublime syntax highlighting, fix linting errors 2016-11-08 18:54:54 -05:00
reducers.js Add ability to delete projects from sketch list (#125) 2016-10-12 14:24:53 -04:00
routes.jsx New design for ResetPassword view and NewPassword view (#232) 2016-12-19 16:49:37 -05:00
store.js fix a ton of eslint errors 2016-06-23 18:29:55 -04:00