Commit graph

179 commits

Author SHA1 Message Date
Cassie Tarakajian
a9ee70e033 #254 show error when user attempts to save stale version of project, refactor error modals to one component 2017-01-24 15:29:25 -05:00
Cassie Tarakajian
65592cbf9e add authentcation error component, return 403 error from server when trying to save a project where the user doesn't match the owner 2017-01-17 15:37:19 -05:00
Cassie Tarakajian
3709587f4c fix #268 2017-01-17 13:28:28 -05:00
Cassie Tarakajian
286a5dd6c6 fixes #5, turns autosave off when a user logs off, hide timer component when user is not owner of sketch 2017-01-13 11:55:13 -05:00
Cassie Tarakajian
8120fdd7db refactor console to its own reducer and actions, add clear button, clean up console component 2017-01-11 14:13:49 -05:00
Lauren McCarthy
c6ecda4f3a adding alpha warning (#249)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* adding alpha warning
2017-01-06 15:13:46 -05:00
Yining Shi
62b4d4cc6e New Design for About (#246)
* new design for about

* clean code

* reuse play.svg
2017-01-06 13:14:39 -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
Cassie Tarakajian
9886e53a7c fix #245 2017-01-05 16:54:33 -05:00
Cassie Tarakajian
3ba03d709a fixes #241 2017-01-05 14:40:04 -05:00
Lauren McCarthy
28323ffc09 formatting of dropdown login and editor menus (#239)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* dropdown formatting closes #210
2016-12-20 00:21:04 -05:00
Lauren McCarthy
5de2a6761f Prefs (#238)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* formating prefs pane

* updating capitalization
2016-12-19 23:48:36 -05:00
Cassie Tarakajian
cb41b3296d minor css fixes to nav 2016-12-19 17:56:39 -05:00
Lauren McCarthy
844c918652 styling of nav and toolbar (#237)
* removing avenir, replacing with montserrat

* sidebar tweaks

* sidebar positioning

* resolving merge conflict

* working on sidebar

* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* design formatting for sidebar closes #234

* styling of nav and toolbar
2016-12-19 17:52:21 -05:00
Cassie Tarakajian
1186bebd94 minor css fix in sketch list 2016-12-19 17:49:35 -05:00
Cassie Tarakajian
7072518f83 minor CSS fixes on editor/sidebar 2016-12-19 17:19:07 -05:00
Lauren McCarthy
a5d304da2b implement sidebar design #234 (#235)
* removing avenir, replacing with montserrat

* sidebar tweaks

* sidebar positioning

* resolving merge conflict

* working on sidebar

* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* design formatting for sidebar closes #234
2016-12-19 17:07:04 -05:00
Yining Shi
0f17633f79 New design for ResetPassword view and NewPassword view (#232)
* newdesign for resetpassword view and newpassword view

* bought password token back

* added params.reset_password_token

* no themify
2016-12-19 16:49:37 -05:00
Yining Shi
acad9538cc Taking login and sign pages out + new design for login and signup page (#228)
* make login a seperate page

* make signup a another page

* get previousPath

* setPreviousPath between routes

* new desig for login pagen

* new design for signup page

* added login and exit icons

* added signup and exit icons

* refactor form-container.scss

* deleted extra code
2016-12-15 18:43:58 -05:00
Cassie Tarakajian
b70be5a6c1 add outline back to %icon for accessibility 2016-12-14 11:05:10 -05:00
Lauren McCarthy
67c53f5781 implement new design for sketchbook (#227)
* removing avenir font, using montserrat instead due to licensing issues

* updating headings for sketchlist

* removing old import statement for typeography scss file

* implementing new design for sketchbook closes #207

* removing seconds from sketchlist view

* remove outline from active icon
2016-12-14 10:58:43 -05:00
Lauren McCarthy
7216b95c00 removing avenir font, using montserrat instead due to licensing issues (#226)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file
2016-12-14 10:41:50 -05:00
Akarshit Wal
d338513322 1 line margin at bottom (#223) 2016-12-13 12:31:40 -05:00
Cassie Tarakajian
637a62be01 fix sidebar bugs 2016-12-09 17:05:24 -05:00
Cassie Tarakajian
bdefab53b6 #211 highlight p5 keywords in code editor 2016-12-07 14:42:05 -05:00
Cassie Tarakajian
8cf313f6f9 fix #204, making sure focus/form is reset properly 2016-11-29 19:18:11 -05:00
Cassie Tarakajian
0a459246ac 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
Yining Shi
ce402c413f hide scrollbar beneath the sketch list layer (#209)
* no scroll in overlay

* delete extra images
2016-11-23 16:44:46 -05:00
Cassie Tarakajian
1a9a6f8d84 fix #201 2016-11-23 14:44:39 -05:00
Yining Shi
e86e9a0ae0 Added a star icon for unsaved file name, added 'Saved: xx time ago' (#177)
* added a star icon for unsaved file name, added saved time ago

* changed text

* added timer component

* clean extra styling in _editor.sass

* customize momentjs fromnow function

* clear 10s interval in componentWillUnmount

* use space-between instead of float
2016-11-09 12:52:14 -05:00
Cassie Tarakajian
d33b6a354f #143 handle undefined console messages 2016-11-02 19:26:13 -04:00
Cassie Tarakajian
8ce36cd997 update pencil to modern pictograms 2016-10-26 17:49:42 -04:00
Jen Kagan
476a4a4d20 Add pen icon next to sketch name (#171)
* add pencil icon, start wiring toolbar

* Closes #156
2016-10-26 17:40:10 -04:00
Cassie Tarakajian
ef7d121927 show errors if file name is invalid 2016-10-19 17:09:31 -04:00
Cassie Tarakajian
4ff6ac1021 fix lag on password reset form 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
8b35951ba4 invalid password reset token styling 2016-10-19 12:36:58 -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
04f68e37f9 add submit text 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
5aa5032961 create password reset token from FE, start to add flash text 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
ea6d30c430 more password reset stuff 2016-10-19 12:36:57 -04:00
Mathura MG
1dafe3a8e9 Make p5 logo color variable (#150)
* initial changes for high contrast theme

* change more colours

* add more styles

* add new variables

* fix few more colours

* fix typo

* fix indent

* make logo colour a variable
2016-10-17 22:57:29 -04:00
kaganjd
76bd1b1630 Add ability to delete projects from sketch list (#125)
* Add ability to delete projects from sketch list

- Fixes #76
- Also gets rid of outdated Sketch module

* Styling for Sketch List trash can

* Merge all the stuff

* Fix trash can line height
2016-10-12 14:24:53 -04:00
Mathura MG
85bbe045e5 Add high contrast theme (#141)
* initial changes for high contrast theme

* change more colours

* add more styles

* add new variables

* fix few more colours

* fix typo

* fix indent
2016-10-12 12:08:12 -04:00
Yining Shi
96321ca767 Make Login & Sign Up as modal layovers (#122)
* make Login & Sign Up as modal layovers

* delete extra signupForm.js in original path

* deleted extra comments
2016-10-08 18:03:39 -04:00
Zhuoxi Song
64be537db7 fixed upper-right button being blocked by vertical scrollbar (#130)
* fixed upper-right button being blocked by vertical scroll bar

moved the upper-right button in editor a little to the left, so that
once
vertical scroll bar appears, it will not block this button

* minor fix
2016-10-08 18:00:41 -04:00
Zhuoxi Song
602c989af4 improved log styles in console (#136) 2016-10-08 17:59:18 -04:00
Cassie Tarakajian
2608efbc13 Merge branch 'lmccart-console' 2016-10-05 14:02:56 -04:00
Cassie Tarakajian
dfdbc35b74 fix small css bug 2016-10-05 14:02:46 -04:00
Cassie Tarakajian
322ec88b22 add horizonal scroll for code editor 2016-10-05 12:26:49 -04:00
Lauren McCarthy
e4e7f176b5 throttling postMessage to 250ms, fixes #80 2016-10-01 16:01:05 -07:00