Commit Graph

15 Commits

Author SHA1 Message Date
Cassie Tarakajian fc8318c297 fix some linting errors 2017-01-11 15:50:36 -05:00
Cassie Tarakajian b02b8f99fe fix 404 page typo 2017-01-06 15:05:02 -05:00
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
Jen Kagan 55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -05:00
Cassie Tarakajian af3cb60ce1 fix linting errors that are fixable with --fix in server side code 2016-11-17 11:15:35 -05:00
Cassie Tarakajian f40ecebfba #142 add webpack configuration to decrease loading speed 2016-11-08 18:11:12 -05:00
Cassie Tarakajian 2645e13786 change full screen view to embed view 2016-11-02 11:12:07 -04:00
Cassie Tarakajian e5ff11f65a add basic password reset functionality, no error checking or styling 2016-10-19 12:36:58 -04:00
Cassie Tarakajian 1610b0168d start to add mailgun and nodemailer 2016-10-19 12:36:57 -04:00
catarak 8713e297dd add about modal to link to github 2016-08-22 12:35:59 -04:00
catarak 3ab1b82d8d add fullscreen route and page 2016-08-17 18:13:17 -04:00
catarak bca59a6233 add /:username/sketches links to username sketches 2016-08-17 15:53:25 -04:00
catarak 6563d9d90b add sketch list, with links 2016-07-05 16:04:14 -04:00
catarak 3d42da18a8 fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
catarak c25d669fe9 move ajax requests to /api 2016-06-20 18:00:40 -04:00