Commit graph

85 commits

Author SHA1 Message Date
Cassie Tarakajian
251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
4ea9f96d3f fix #430 2017-09-14 14:32:43 -04:00
Zach Rispoli
bca73885b2 Fix broken accessibility feature 2017-08-01 15:53:27 -04:00
Zach Rispoli
682dd7e2fc Runtime error line highlight dissappears on lint message update 2017-08-01 15:53:27 -04:00
Zach Rispoli
b5f9879c44 Hacky runtime error highlight working 2017-08-01 15:52:56 -04:00
Zach Rispoli
1bb0efdac8 Line error highlight styling 2017-08-01 15:52:56 -04:00
Cassie Tarakajian
273fc08b19 Merge branch 'feature-code-folding' of https://github.com/zrispo/p5.js-web-editor into zrispo-feature-code-folding 2017-08-01 13:48:49 -04:00
Zach Rispoli
683b718303 Fix CSS loader + Improve visual for code folding 2017-07-18 15:57:40 -04:00
Cassie Tarakajian
b384fdc6ba remove console errors and extraneous console logs 2017-07-17 17:34:11 -04:00
Zach Rispoli
87de91016b Code folding (#382) 2017-07-17 16:07:59 -04:00
Andrew Nicolaou
2e62c6b288 Find (#359)
* Styles CodeMirror Search box

* Switch to fork of search add-on

* Styles search box using custom markup

* Prev/Next search behaviour, highlighting current result

* Hide search modifiers until implemented

* Regexp search

* Style RegExp modifier button active state

* Styles search modifiers

* Wires up Case Sensitive search button

* Allows case insenstive regexp search

* Do not show underlying regexp query string when re-opening dialog

* Adds "Whole word" search

* Adds title and aria-label for tooltip and screenreaders

* Whole Word button shows correct active/inactive state

* Disables replace implementation which doesn't work

* Tidies up query parsing so it's less of a hack

- uses state to convert query text into a regexp
- avoids having to fake regexp using "/.../" syntax
- parsing is now in one place

* Uses shared metaKey function for Cmd/Ctrl key

* Adds find function to keyboard shortcuts modals

* Sets aria-checked to true/false to indicate button state

* Sets role=checkbox on checkbox-like buttons
2017-06-06 15:20:21 -04:00
JunShern
8e82fe96c3 Set Ctrl+Enter shortcuts to null, don't generate newlines (#333) 2017-04-05 21:50:44 -04:00
Cassie Tarakajian
134cc76981 fix #317 2017-03-06 14:13:39 -05:00
Cassie Tarakajian
fe4c2641e3 fix #254, stale project warning works correctly, removed unused actions and state for ide 2017-03-02 14:38:29 -05:00
Cassie Tarakajian
e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* fix some accessibility linting errors

* fix a lot of linting errors

* fix a billion more linting errors

* hopefully fix all linting errors, still need to test

* fix bugs that fixing linting had caused
2017-02-22 14:29:35 -05:00
Cassie Tarakajian
93e0ec2a73 fix #284, when autorefresh is enabled, clear the console as well 2017-02-17 16:04:47 -05:00
Cassie Tarakajian
89972bf2ae fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop 2017-02-17 13:30:33 -05:00
Cassie Tarakajian
36a715fc3a fix #287 2017-02-01 22:00:19 -05:00
Cassie Tarakajian
09a4829bef remove lint error for == and != 2017-01-29 13:29:17 -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
Akarshit Wal
843418e195 toggling menu (#258)
* toggling menu

* Other components should be treated equally
2017-01-09 12:47:32 -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
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
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
Cassie Tarakajian
67dad2b86d fix p5 specific syntax highlighting 2016-12-14 18:07:13 -05:00
Cassie Tarakajian
f3247bd0ef #21 edit jshint options to be more lax for semicolons 2016-12-13 16:59:47 -05:00
Cassie Tarakajian
85bc40013c fix bug where new files aren't editable 2016-12-09 16:27:10 -05:00
Cassie Tarakajian
51336baee6 fix small bug from undo update from error to sliently failing 2016-12-07 17:15:10 -05:00
Cassie Tarakajian
bdefab53b6 #211 highlight p5 keywords in code editor 2016-12-07 14:42:05 -05:00
Cassie Tarakajian
49bdd9377f fixes #49 2016-12-06 21:33:12 -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
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
catarak
3d42da18a8 fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
catarak
3a26cdd491 restructure react components 2016-06-22 13:49:06 -04:00
Renamed from shared/components/Editor/Editor.jsx (Browse further)