Commit graph

422 commits

Author SHA1 Message Date
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
Cassie Tarakajian
56fcedc06a add autofresh toggle to toolbar 2016-09-28 18:08:37 -04:00
Cassie Tarakajian
274614cc60 Merge pull request #94 from yining1023/livecoding
detect infinite loop
2016-09-28 16:16:21 -04:00
Jen Kagan
19f0915350 Add shortcuts to shortcut modal
Fixes #16.
2016-09-28 15:19:38 -04:00
Yining Shi
55b37866f6 detect infinite loop, disable play button 2016-09-24 00:46:06 -04:00
Yining Shi
c48c012160 fixed appending errors in draw(), changed error color 2016-09-22 17:17:24 -04:00
Cassie Tarakajian
f017dd8a76 clean up scss color variables, fix missing unthmeified variables 2016-09-21 23:39:50 -04:00
Lauren McCarthy
58c0e4f5f7 adding styling 2016-09-21 18:46:23 -07:00
Cassie Tarakajian
1e8165393b minor border fix 2016-09-21 19:14:31 -04:00
Cassie Tarakajian
c9e3461dc5 fix folder styling 2016-09-21 19:08:30 -04:00
Cassie Tarakajian
a3490a37ef fix nav dropdown styling 2016-09-21 19:00:24 -04:00
Cassie Tarakajian
c55e1f5de4 a lot of dark theme fixes 2016-09-21 18:52:44 -04:00
Cassie Tarakajian
feeffb0fae make changes to light theme based on design review 2016-09-21 00:52:47 -04:00
Cassie Tarakajian
3d087df1a2 add light and dark codemirrir themes 2016-09-21 00:00:43 -04:00
catarak
d8ecd1f72a update codemirror theme to include sass variables 2016-09-20 23:59:51 -04:00
catarak
d8757cc921 more unfinished themes stuff 2016-09-20 23:59:50 -04:00
catarak
7e213faa0b start to add codemirror theme 2016-09-20 23:59:50 -04:00
catarak
390923a7ca add most of dark theme 2016-09-20 23:59:50 -04:00
catarak
21846a1ada more theme stuff 2016-09-20 23:59:50 -04:00
catarak
e540031678 adjust console colors 2016-09-20 23:59:50 -04:00
catarak
900f01c2d5 more dark theme stuff 2016-09-20 23:59:50 -04:00
catarak
60ebfde298 more half finished theme stuff 2016-09-20 23:57:27 -04:00
catarak
c9b2d178b2 fix some specificity issues 2016-09-20 23:57:27 -04:00
catarak
19df6d6ee4 start to integrate themes to placeholders 2016-09-20 23:57:27 -04:00
catarak
103ebd2014 add theme to preferences, add backbone of themes to scss 2016-09-20 23:57:27 -04:00
Yining Shi
43052cb675 detect infinite loop
detect infinite loop

detect infinite loop
2016-09-17 00:11:33 -04:00
catarak
0e0d3975e1 fix #89, fix closed sidebar on Safari 2016-09-07 22:49:29 -04:00
catarak
380b960328 fix height of sketch list 2016-09-07 21:51:54 -04:00
catarak
41e6ce1c78 add toast to show you that autosave is enabled 2016-09-07 19:12:01 -04:00
catarak
3352fe9d0d add toast component, start to add functionality 2016-09-07 19:00:52 -04:00
catarak
f1ead9f124 add keyboard shortcuts modal 2016-09-07 17:47:22 -04:00
catarak
0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak
14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak
01ad5611c6 sidebar styling fixes 2016-09-03 20:29:18 -04:00
catarak
550347e6fc add expanding/contracting styles 2016-09-02 17:41:02 -04:00
catarak
e82270a709 add hide/showing files, carrot doesn't work 2016-09-02 17:41:02 -04:00
catarak
c671d0c9f2 fix selected item style--no longer highlights children 2016-09-02 17:41:02 -04:00
catarak
bf61fdd992 nested css styling fixes 2016-09-02 17:41:02 -04:00
catarak
245ca63a5d add special file options to folders 2016-09-02 17:41:02 -04:00
catarak
9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -04:00
catarak
1ae27f0d66 add file icons and file types default to file 2016-09-02 17:41:01 -04:00
catarak
ac6585e713 add file works on unsaved project 2016-09-02 17:41:01 -04:00
catarak
d9d7dfa39f add cancel button to login and signup forms 2016-09-02 17:37:34 -04:00
catarak
798117164a add client side sign up validation erros 2016-09-02 13:05:42 -04:00
Cassie Tarakajian
f00acd0de0 Merge pull request #83 from MathuraMG/accessibility
add preview; output focus
2016-09-01 18:13:04 -04:00
MathuraMG
6cba157687 add preview; output focus 2016-08-31 23:07:43 -04:00
catarak
7a8e77282d add github login and signup 2016-08-31 15:12:18 -04:00
catarak
ab576fe737 add github button styling, add backend for login with github 2016-08-31 12:28:06 -04:00
Cassie Tarakajian
f8ab95d0dc Merge pull request #70 from MathuraMG/accessibility
Accessibility changes to preferences and toolbar
2016-08-30 21:32:40 -04:00
MathuraMG
fe803d52d0 remove preference__option--selected 2016-08-29 14:39:23 -04:00
catarak
64b2ea3da4 add and test logout 2016-08-27 20:46:20 -04:00
catarak
515febceb2 fix height of console messages and fix #74 2016-08-27 19:22:41 -04:00
MathuraMG
b825096640 make preferences radio buttons 2016-08-25 17:46:30 -04:00
catarak
8713e297dd add about modal to link to github 2016-08-22 12:35:59 -04:00
Cassie Tarakajian
1734852f68 Merge pull request #50 from MathuraMG/output
Create text output for canvas
2016-08-19 16:03:22 -04:00
MathuraMG
76c7c6384d add subtitle 2016-08-19 15:51:41 -04:00
catarak
a265d622dc add avenir next 2016-08-18 14:22:47 -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
MathuraMG
8659251bcf merge master 2016-08-15 21:09:47 -04:00
MathuraMG
c0407dec65 update interceptor 2016-08-15 20:28:18 -04:00
catarak
2f6d5e84e8 switch sketch list to sketch list modal, which you now can close 2016-08-15 17:06:12 -04:00
catarak
89c641c845 fix sketch list view bug which made the nav look ugly 2016-08-15 13:03:52 -04:00
catarak
17efc42778 switch project name edit to html5 input 2016-08-15 12:42:13 -04:00
MathuraMG
5179b09022 merge with master 2016-08-13 11:37:05 -04:00
catarak
43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -04:00
MathuraMG
e964df2fe2 make pref visible 2016-08-12 10:13:22 -04:00
MathuraMG
c8dbb8bef7 merge master 2016-08-11 20:59:01 -04:00
catarak
91e03a6d89 fix preference z index issue that 2016-08-11 17:41:35 -04:00
catarak
74e690ef9d removed commented out code 2016-08-11 16:58:47 -04:00
catarak
7cca65c566 fix https://github.com/catarak/p5.js-web-editor/issues/31, https://github.com/catarak/p5.js-web-editor/issues/22, and https://github.com/catarak/p5.js-web-editor/issues/37 2016-08-11 16:50:31 -04:00
catarak
93d6d8777f add resizers 2016-08-11 15:41:13 -04:00
MathuraMG
4806b83d1f style editor-accessibility 2016-08-11 15:38:32 -04:00
MathuraMG
d789c9a8f3 move lint warning to preferences 2016-08-11 14:09:59 -04:00
catarak
5877b82933 fix https://github.com/catarak/p5.js-web-editor/issues/35 2016-08-10 20:02:55 -04:00
catarak
2f581a6a77 remove unnecessary css styles 2016-08-09 17:31:14 -04:00
catarak
18c2fe9e85 add autosave preference styling 2016-08-09 17:29:17 -04:00
catarak
c76b1353c3 put preferences to server, need to look at mongoose docs tho because is wrong 2016-08-04 21:43:13 -04:00
catarak
013b97d96d fix scrolling issue for firefox, add teporary fix for safari 2016-08-04 20:51:58 -04:00
catarak
443a9f57d5 add file renaming 2016-08-03 17:45:50 -04:00
catarak
da98dcd47e add file deletion 2016-08-03 17:45:50 -04:00
MathuraMG
ca9afab246 add aria-labels 2016-07-31 21:38:46 -04:00
MathuraMG
f4d49f49a5 add aria-label tag 2016-07-30 22:46:48 -04:00
catarak
ac9de85928 change iframe height to min height 2016-07-25 21:36:32 -04:00
catarak
0da77e7aa1 fix flexbox bugs for ie11 2016-07-22 17:19:15 -04:00
catarak
6f3db24d9f update modal styling, move to placeholder 2016-07-21 15:07:53 -04:00
catarak
9201cb247c make console expandable and contractable 2016-07-21 00:33:41 -04:00
catarak
afe7e07188 start console styling 2016-07-21 00:05:47 -04:00
catarak
051e3771ee fix merge conflict with therewasaguy-console 2016-07-20 23:02:45 -04:00
catarak
a5db4ae9f6 can't upload media if not logged in 2016-07-20 22:18:20 -04:00
catarak
ceccef3cc3 change uploader copy, change uploader style 2016-07-19 21:42:33 -04:00
catarak
c677c37597 get dropzone to render 2016-07-19 18:27:27 -04:00
therewasaguy
0c7f713887 console BEM style 2016-07-18 19:10:42 -04:00
therewasaguy
6b672d2629 Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into console 2016-07-18 18:56:00 -04:00
therewasaguy
227b562ad9 console: color-coded error messages 2016-07-17 20:49:38 -04:00
therewasaguy
5561d49a48 merge upstream changes 2016-07-17 19:15:13 -04:00
therewasaguy
7f0b7afac1 add Console component, gets postMessage from previewFrame 2016-07-17 19:06:43 -04:00
MathuraMG
038d290577 fix merge conflicts 2016-07-15 17:23:59 -04:00
MathuraMG
079a6ebf29 change style name 2016-07-15 17:00:40 -04:00
MathuraMG
6187a26b10 extend pref tab - old size doesn't eork in FF 2016-07-15 16:54:43 -04:00
MathuraMG
4ddad41053 add labels for buttons 2016-07-15 16:47:12 -04:00
catarak
78ed7b4b5f add download as zip 2016-07-15 13:11:50 -04:00
catarak
c3486af031 add author name to sketches 2016-07-15 11:54:47 -04:00
catarak
accf8e2504 add expand/contract sidebar 2016-07-14 12:47:54 -04:00
catarak
4d6e4857ba add files, server side, only css and js files 2016-07-13 18:53:56 -04:00
catarak
70588cd487 add new file popup, not tested with redux 2016-07-13 16:13:28 -04:00
catarak
30992ac2de fix tooltip styling 2016-07-12 19:24:57 -04:00
catarak
cbdf68cbd0 add styling for error/warning, not for tooltip 2016-07-12 19:11:07 -04:00
catarak
bc69995fb1 super ugly, but added jslinting 2016-07-12 17:38:24 -04:00
Cassie Tarakajian
6010e14e30 Merge pull request #10 from MathuraMG/accessibility
Changes to make the links screen reader compatible
2016-07-12 16:07:04 -04:00
catarak
b4ba44a67e fix editor overflow 2016-07-12 15:58:11 -04:00
mathuramg
da493e4014 remove dev changes 2016-07-12 14:50:54 -04:00
mathuramg
0a1ef4e048 fix merge conflicts 2016-07-12 12:28:10 -04:00
mathuramg
67fcd323a4 Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into accessibility 2016-07-12 12:26:20 -04:00
mathuramg
624d79075a make links accessible 2016-07-12 12:25:48 -04:00
catarak
d96e7132dc fix minor styling bugs from PR 2016-07-12 12:07:06 -04:00
mathuramg
22ac7214bd make sidebar accessible 2016-07-12 11:22:27 -04:00
mathuramg
c8f54dced9 fix merge conflict 2016-07-11 23:03:54 -04:00
mathuramg
81c5f91ab3 fix border styles 2016-07-11 22:53:27 -04:00
catarak
b89a1103b9 adjust some colors that were incorrect 2016-07-11 22:00:11 -04:00
mathuramg
5ef51a939e fix styling 2016-07-11 19:14:45 -04:00
mathuramg
0942378812 remove dev changes 2016-07-11 09:06:43 -04:00
mathuramg
42d59d3fb3 change list to buttons - accessibility 2016-07-11 08:44:27 -04:00
mathuramg
65bd8c2e63 include space and tab 2016-07-10 22:52:48 -04:00
mathuramg
3bdd02e859 make preference value input tag 2016-07-10 20:13:37 -04:00
catarak
ebfd1fce0d add Sidebar click to change Editor content 2016-07-08 15:58:49 -04:00
catarak
e6d94a0db8 start to add multiple file functionality 2016-07-06 15:09:05 -04:00
mathuramg
1b56f8ce54 add more preferences 2016-07-06 11:27:39 -04:00
catarak
6563d9d90b add sketch list, with links 2016-07-05 16:04:14 -04:00
catarak
bba0130c72 move images and styles folders to client 2016-06-22 18:52:55 -04:00