Commit graph

461 commits

Author SHA1 Message Date
Yining Shi
185d8fdd05 fixes #148 (#153)
* save project after changing sketch name

* not saving the sketch after updating the name if it's not created yet
2016-10-19 11:47:58 -04:00
Cassie Tarakajian
3e7d88698b remove comments and console.logs 2016-10-17 23:23:19 -04:00
Mathura MG
c6e1d1c906 revert lint code (#151) 2016-10-17 22:58:30 -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
Cassie Tarakajian
37bb45cc37 fixes #134 2016-10-08 19:18:38 -04:00
Cassie Tarakajian
40f31b0e5c fixes #135 2016-10-08 18:52:32 -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
Zhuoxi Song
2856615c4d added link to p5js reference at top nav (#131) 2016-10-07 11:26:49 -04:00
Cassie Tarakajian
e511db64fe change console throttling to batch deliver messages 2016-10-06 16:58:14 -04:00
Cassie Tarakajian
fe13349850 make autorefresh time a little longer 2016-10-06 15:48:45 -04:00
Cassie Tarakajian
58d0dba167 remove dead code, fix linting errors, get infinite loop functionality working 2016-10-06 15:45:26 -04:00
Cassie Tarakajian
f9d487ebe8 refactor infinite loop being triggered 2016-10-06 13:01:48 -04:00
Cassie Tarakajian
6cecc6ae63 did a thing 2016-10-05 14:49:43 -04:00
Cassie Tarakajian
a9caa30db3 start to refactor loopprotect 2016-10-05 14:21:32 -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
Cassie Tarakajian
55403e9a20 Merge branch 'console' of https://github.com/lmccart/p5.js-web-editor into lmccart-console 2016-10-04 16:21:42 -04:00
Cassie Tarakajian
dfc55aaa5b temporarily remote autorefresh and loop protect 2016-10-04 15:35:23 -04:00
Lauren McCarthy
ee6c5e94aa only update console when expanded 2016-10-01 16:25:00 -07:00
Lauren McCarthy
4d6cb43330 changing interval to 100ms 2016-10-01 16:04:40 -07:00
Lauren McCarthy
e4e7f176b5 throttling postMessage to 250ms, fixes #80 2016-10-01 16:01:05 -07:00
Cassie Tarakajian
73c3e8e21e fixes #102 2016-09-29 22:02:06 -04:00
Cassie Tarakajian
4d834ed16d add lots of changes to make autorefresh work with infinite loop checking 2016-09-29 00:54:35 -04:00
Cassie Tarakajian
f78fc37d68 add previewIsRefreshing to redux state 2016-09-28 18:17:39 -04:00
Cassie Tarakajian
5f23ea8132 did stuff 2016-09-28 18:11:11 -04:00
Cassie Tarakajian
7fb85c251b auto autorefresh to preferences, save autorefresh server side 2016-09-28 18:09:37 -04: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
MathuraMG
46d58014ff add focus and labels 2016-09-28 12:09:42 -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
Cassie Tarakajian
318475fc03 fix merge conflicts, actually 2016-09-20 18:34:20 -04:00
Cassie Tarakajian
84ac4459d1 fix merge conflicts 2016-09-20 18:32:26 -04:00
Cassie Tarakajian
f48b872500 add unsavedChanges to redux, handle unsaved changes 2016-09-20 18:27:10 -04:00
Yining Shi
43052cb675 detect infinite loop
detect infinite loop

detect infinite loop
2016-09-17 00:11:33 -04:00
Cassie Tarakajian
bd71041794 Merge pull request #95 from kaganjd/16-keyboard-shortcuts
Add keyboard shortcuts for 'run' and 'stop'
2016-09-15 13:10:22 -04:00
Jen Kagan
d55fb643e6 Add keyboard shortcuts for 'run' and 'stop'
- Fixes #16.
2016-09-15 13:02:11 -04:00
catarak
7436f4960f this time, db reformat, for real 2016-09-14 16:41:36 -04:00
catarak
9e6d4b56bd change isSelected to isSelectedFile, add db reformat 2016-09-14 15:57:52 -04:00
catarak
2d4cb76edf fix other urls that should be https 2016-09-08 22:15:29 -04:00
catarak
b004fd077f change http urls to https 2016-09-08 22:02:42 -04:00
catarak
0e0d3975e1 fix #89, fix closed sidebar on Safari 2016-09-07 22:49:29 -04:00
catarak
861a8f8759 remove toasts for autosave 2016-09-07 22:20:42 -04:00
catarak
380b960328 fix height of sketch list 2016-09-07 21:51:54 -04:00
catarak
12c0581ee0 add command + s for save, detect os for control + s, add to keyboard shortcut list 2016-09-07 21:48:45 -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
4799a26652 add code tidy button 2016-09-07 16:41:56 -04:00
catarak
0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak
3cee334a21 remove save from nav when viewing another user's project 2016-09-07 15:21:22 -04:00
catarak
d1576bb661 add css and html beautify 2016-09-07 15:05:25 -04:00
catarak
506c959f8c map shift+tab to beautifier, only for js 2016-09-07 12:16:26 -04:00
catarak
95daa80fc1 update browser history to go back when exiting open and about, fixes #85 2016-09-06 22:46:49 -04:00
catarak
14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak
207bab20eb add embed route, fix path parsing in PreviewFrame 2016-09-06 16:54:16 -04:00
catarak
7d7641b80b comment out login with github button 2016-09-06 16:53:37 -04:00
catarak
b10d2063ed hide sidebar by default 2016-09-03 20:47:30 -04:00
catarak
336be41b09 add default children to files client side 2016-09-03 20:31:34 -04:00
catarak
01ad5611c6 sidebar styling fixes 2016-09-03 20:29:18 -04:00
catarak
fedef1628d fix console error when loading a project by url 2016-09-03 20:19:07 -04:00
catarak
1ae87ab85c focus on newfilemodal input when opened 2016-09-03 19:42:23 -04:00
catarak
6c4ba328aa fix file name collisions to only be affected in folders 2016-09-03 14:52:51 -04:00
catarak
e94ba201ce test downloads for only non s3 files 2016-09-02 20:40:18 -04:00
catarak
f2fedd8457 add file deletion, client side 2016-09-02 18:11:27 -04:00
catarak
18839fde81 start to add methods for deleting file recursively 2016-09-02 17:41:02 -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
fa518f028a fix proptypes for redux forms 2016-09-02 17:41:02 -04:00
catarak
9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -04:00
catarak
7f5c970b6c fix proptypes that were missing from preview frame 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
cd0dcc9184 reset selected file after deleting 2016-09-02 17:41:01 -04:00
catarak
3dfed2a11e delete files works, server side 2016-09-02 17:41:01 -04:00
catarak
34fe78d734 create file works server side 2016-09-02 17:41:01 -04:00
catarak
5f694329db delete files, only client side 2016-09-02 17:41:01 -04:00
catarak
acd5aa8c83 fix new project action 2016-09-02 17:41:01 -04:00
catarak
69b73d016a add comment for hack 2016-09-02 17:41:01 -04:00
catarak
b0ce13e6ba fix project loading bug 2016-09-02 17:41:01 -04:00
catarak
74e207553f fix adding files on front end 2016-09-02 17:41:01 -04:00
catarak
d08c7c6b94 fix really really annoying bug 2016-09-02 17:41:01 -04:00
catarak
c8074f1501 do a lot of things that aren't really working 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
cbb272ec14 file tree renders, select file works and editor changes content, rename works 2016-09-02 17:41:01 -04:00
catarak
40b70d6c69 add file node component 2016-09-02 17:41:00 -04:00
catarak
d9d7dfa39f add cancel button to login and signup forms 2016-09-02 17:37:34 -04:00
catarak
1d86d766d9 add login error for invalid username or password 2016-09-02 17:31:07 -04:00
catarak
3b6bfbc552 check for duplicate email and username 2016-09-02 14:51:30 -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
8de170135e switch to react refs 2016-09-01 12:51:38 -04:00
MathuraMG
6cba157687 add preview; output focus 2016-08-31 23:07:43 -04:00
catarak
a741e4aaa8 fix passport strategy config, remove github button from signup form 2016-08-31 15:30:37 -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
Lauren McCarthy
6e18cb9535 fixing console.log outside setup/draw closes #78 2016-08-30 18:06:55 -04:00
MathuraMG
fbc6f1c97a switch to onChange 2016-08-29 16:36:35 -04:00
MathuraMG
fe803d52d0 remove preference__option--selected 2016-08-29 14:39:23 -04:00
omnikrll
28dba14e5c replace alert sound 2016-08-28 15:55:19 -04:00
Lauren McCarthy
aadbe33685 updating link in nav.js to point to p5/sketches instead of p5js/sketches 2016-08-28 13:05:12 -04:00
Lauren McCarthy
fa77ad2edd fixing merge conflicts 2016-08-28 09:54:35 -04:00
Lauren McCarthy
f936d98f76 fixing linting errors 2016-08-28 09:52:57 -04:00
catarak
4859b66cc6 fix #54 2016-08-27 21:52:00 -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
catarak
b79cec93b0 change a to react-router link 2016-08-27 19:14:22 -04:00
Cassie Tarakajian
5fb810b867 Merge pull request #71 from lmccart/openExamples
adding open option to logged out view closes #67
2016-08-27 15:08:38 -04:00
Lauren McCarthy
402e9bc95e fixes line numbers closes #36 2016-08-27 13:54:20 -04:00
Lauren McCarthy
23d5341e7c getting a little closer with console output line number #36 2016-08-26 14:22:58 -04:00
Lauren McCarthy
ef8034eb1b adding open option to logged out view closes #67 2016-08-26 13:32:18 -04:00
MathuraMG
1803067aeb change labels 2016-08-25 17:59:02 -04:00
MathuraMG
b825096640 make preferences radio buttons 2016-08-25 17:46:30 -04:00
omnikrll
399e29f37b remove comment 2016-08-25 13:48:52 -04:00
omnikrll
c245a6a21e Merge branch 'upstream' into editor-accessibility-unique-key-warning 2016-08-25 13:46:24 -04:00
omnikrll
8a61917937 make 'no lint errors' p ino li 2016-08-25 13:45:35 -04:00
Cassie Tarakajian
fc0049e2d7 Merge pull request #66 from MathuraMG/temp
populate current line number differently
2016-08-25 12:45:22 -04:00
catarak
1de8c02cf2 fix a few regexes for preview frame 2016-08-25 12:39:36 -04:00
MathuraMG
db85dcc04b add word line 2016-08-25 12:32:06 -04:00
catarak
ec728eb392 fix uploading when project is saved 2016-08-25 11:25:22 -04:00
catarak
a1dcf77557 upload text files locally 2016-08-25 00:18:28 -04:00
omnikrll
9457d2e57c replace for loop with forEach 2016-08-24 17:54:26 -04:00