Commit Graph

509 Commits

Author SHA1 Message Date
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 33582a1a2e change nav extension to jsx 2016-11-08 19:04:08 -05:00
Cassie Tarakajian fc83040c8f 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
Cassie Tarakajian 77e2f5bfff fix #186 2016-11-08 13:30:41 -05:00
Cassie Tarakajian c7483b5d3a fix #190, also fix bug in which fontSize and indentation amount could be NaN 2016-11-08 13:11:07 -05:00
Mathura MG d082ada1fd Add keyboard shortcut for text based output (#193)
* add shortcuts

* add keyboard shortcut for text based output

* remove duplicate
2016-11-08 12:39:46 -05:00
Cassie Tarakajian 41c1613d10 fix #191 2016-11-04 18:54:14 -04:00
Cassie Tarakajian dd01aeb599 fix #188 2016-11-04 17:31:04 -04:00
Cassie Tarakajian 33c7c0ec8f fix #187 2016-11-04 17:27:39 -04:00
Cassie Tarakajian 7ededa5c18 #143 revert not printing to console if it is not expanded 2016-11-02 22:41:10 -04:00
Cassie Tarakajian 23fb53bc9b fix bug where you could save another user's sketches with keyboard shortcut 2016-11-02 22:19:05 -04:00
Cassie Tarakajian d33b6a354f #143 handle undefined console messages 2016-11-02 19:26:13 -04:00
Jen Kagan 93f871e857 Add the word "copy" to sketch name after duplicating (#176)
* starting to work on clone project

* adds the word *copy* to sketches that have been dupicated
2016-11-02 17:35:47 -04:00
Cassie Tarakajian 3a8e67d484 fixes #178 2016-11-02 17:28:06 -04:00
Cassie Tarakajian 588668886d update default version of p5 to 5.4 2016-11-02 15:06:28 -04:00
Cassie Tarakajian 85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Cassie Tarakajian a06369ab06 add font uploads 2016-11-02 11:42:59 -04:00
Cassie Tarakajian 1e32e42729 change max file upload size to 5MB 2016-10-28 16:19:56 -04:00
Yining Shi 83b077450a Showing "Autosave enabled" toast (#173)
* showing Autosave enabled toast

* fixed variable names

* fixed constant name typo
2016-10-27 19:45:09 -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 b48cf1ebdc parse CSS files for links to S3 2016-10-25 18:38:20 -04:00
Cassie Tarakajian 17fab1782e fixes #162 2016-10-25 17:05:53 -04:00
Cassie Tarakajian 315e83c593 fix #152, puts a limit on the local file size 2016-10-25 15:51:44 -04:00
Cassie Tarakajian 61925b67e4 show error messages for invalid files 2016-10-24 21:15:32 -04:00
Cassie Tarakajian 7cba11f90c add video upload support 2016-10-24 18:25:57 -04:00
Cassie Tarakajian 5c050e078b add uploader support for obj files 2016-10-24 18:01:14 -04:00
Cassie Tarakajian aae72ea57d add ability to use svgs 2016-10-24 17:40:03 -04:00
Cassie Tarakajian 99df998e11 add csv, don't include s3 js/css/json/txt/csv files as blobs 2016-10-24 17:05:49 -04:00
Cassie Tarakajian 1d7aaa9981 set unsaved changes when file is uploaded 2016-10-24 16:42:15 -04:00
Cassie Tarakajian 8aeb044509 fix bug where plaintext files were being posted to s3 2016-10-24 16:33:16 -04:00
Cassie Tarakajian 8c270c2ced generate blob urls for text and json files 2016-10-22 16:42:43 -04:00
Cassie Tarakajian d262783ec1 can add and edit json/txt files 2016-10-22 15:23:37 -04:00
Cassie Tarakajian 280d3e69ea fix keyboard shortcuts on safari 2016-10-19 18:35:59 -04:00
Cassie Tarakajian ef7d121927 show errors if file name is invalid 2016-10-19 17:09:31 -04:00
Cassie Tarakajian 32d45ea332 remove all blobutil stuff 2016-10-19 15:33:14 -04:00
Cassie Tarakajian 0ccfeb6b9c fix debounce on safari 2016-10-19 13:29:02 -04:00
Cassie Tarakajian a4b6dd194e fix dropdown bug on safari 2016-10-19 13:03:19 -04:00
Cassie Tarakajian 5e36617de4 add link to login on signup view 2016-10-19 12:40:32 -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 d055aa5af8 more password reset things 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
Cassie Tarakajian 1610b0168d start to add mailgun and nodemailer 2016-10-19 12:36:57 -04:00
Cassie Tarakajian 93de8596f2 fix #154 2016-10-19 12:36:40 -04:00
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