Commit graph

71 commits

Author SHA1 Message Date
ghalestrilo
597cb9baf9 strech preview canvas to full-width on demand 2020-06-19 17:50:21 -03:00
ghalestrilo
776c3d2caf ♻️ refactor call to PreviewFrame#renderSketch 2020-06-19 15:55:37 -03:00
ghalestrilo
a11bc44634 render sketch 2020-06-19 15:27:11 -03:00
Cassie Tarakajian
fb7b3eaef4 [#1443] Add 'allow-downloads' to iframe sandbox 2020-06-15 13:14:48 -04:00
amitch6097
a1cd362780 Fix p5 console being cleared on pause
The p5 console was being cleared on pause
not allowing a user to view what was outputed
on the last run.  To fix clearConsole function
is now only called if playing.
2020-01-04 23:24:08 -05:00
Cassie Tarakajian
57ecfb7e1e fixes #1206, removes titles where it is unnecesary 2019-10-31 17:27:23 -04:00
Cassie Tarakajian
18239eb2e0
fixes #1065, checks if cmController.getContent is defined (#1071) 2019-05-10 18:26:48 -04:00
Ziyao Wei
10403a7f59 Fix race condition that's causing preview/console and code to be out of sync (#990) (#1031)
* Fix race condition that's causing preview/console and code to be out of sync (#990)

* Refactor

* Fix undefined prop error
2019-05-02 15:30:56 -04:00
Ankur Ingale
07b55d7ee4 Fixed Issue #896 (#1049) 2019-04-30 17:44:41 -04:00
Peter Blazejewicz
fe950192e7 Fix ESLint errors (#793)
This fixes failing `npm run lint`:

- fixes `max-len` issue in code by reformat of the expression
- exempt ES6 template literals from `max-len` rule using ESLint
  configuration change

Thanks!
2019-01-08 17:38:02 -05:00
Cassie Tarakajian
b70d62164c for #761, add source back to console messages 2018-11-15 17:19:50 -05:00
Cassie Tarakajian
00ea3bc281 Revert "Revert "for #761, fix linting errors""
This reverts commit ef7231fe03.
2018-11-15 16:41:10 -05:00
Cassie Tarakajian
28d7947910 Revert "Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly""
This reverts commit f1bc7293ce.
2018-11-15 16:40:37 -05:00
Cassie Tarakajian
f1bc7293ce Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly"
This reverts commit 661a367b72.
2018-11-15 15:55:02 -05:00
Cassie Tarakajian
ef7231fe03 Revert "for #761, fix linting errors"
This reverts commit 8952d760d0.
2018-11-15 15:54:31 -05:00
Cassie Tarakajian
8952d760d0 for #761, fix linting errors 2018-11-15 14:43:36 -05:00
Cassie Tarakajian
661a367b72 fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly 2018-11-15 14:26:31 -05:00
Cassie Tarakajian
5196a37807 fix linting error caused by 8b2133e 2018-10-23 16:14:27 -04:00
Cassie Tarakajian
8b2133ea99 fixes #740 2018-10-23 16:07:32 -04:00
Cassie Tarakajian
8baec106aa revert for #684 2018-10-22 17:48:02 -04:00
Basile Pesin
55dfd7e328 Fixed my scrollbar mistake (#736)
* Fixed my scrollbar mistake

* Really fixed it by introducing a slightly different class for the fullview frame

* Using classnames module
2018-10-22 14:59:08 -04:00
Cassie Tarakajian
f417ff4c90 for #684 2018-10-22 12:45:16 -04:00
Basile Pesin
996a1b988a Fixes #692 (#713)
* Got the basis covered, now I need to style all this

* Corrected and upgraded Share window

* Changed the routes again, and set correct design

* Made some of the requested changes

* Removed PreviewFrame errors

* Redesigned Preview Header

* Corrected style of the FullView

* Corrected most of the css mistakes

* Corrected logo size
2018-10-18 14:10:37 -04:00
Luis Morales-Navarro
3e97360c82 Update name of table output (#670) 2018-08-10 14:09:55 -04:00
Liang Tang
bee02e01ab bug fixes (#666) 2018-07-31 13:07:19 -04:00
Liang Tang
617f00653c Improve current console (#656)
* init v2

* make replay work

* fix a failing scenary of react-frame

* fix some bugs

* delete/comment some files

* remove

* fix some bugs && remove more comments

* remove unnecessary lines

* minor tweak

* fix some bugs

* try to hook iframe using webpack

* update

* changes according to cassie

* minor tweak

* fix lint

* extract sass

* add icons

* update webpack config

* update webpack configuration

* update

* tweak

* fix a small bug
2018-07-30 12:20:57 -04:00
Cassie Tarakajian
9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Cassie Tarakajian
9285d2bf95 fix lint warning 2018-05-08 19:16:05 -07:00
Cassie Tarakajian
9efd9c624f fix remaining linting errors 2018-05-08 19:16:05 -07:00
Cassie Tarakajian
c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
f9d1c601b3 move around static and dist folders to work with server bundle, and make preview generation work with this 2018-05-08 19:16:03 -07:00
Mathura MG
55d8722a02 update p5.accessibility to v0.1.1 (#612) 2018-04-02 17:58:55 -07:00
Luis Morales-Navarro
a4e426f2ce update p5-accessibility.js v0.1.0 (#607) 2018-03-23 12:26:43 -04:00
Mathura MG
c9192857cb change accessibility url (#596) 2018-03-06 13:40:03 -05:00
Mr.tang
4e5c58595f [WIP] display the script error caused by external library (#579)
* show the script error

* modify error message

* analyze the error stack
2018-03-02 12:06:36 -05:00
Mathura MG
3acefe4709 Remove accessibility CSS; Auto focus (#583)
* Change accessibility example links

* added library to iframe

* changed preview to add accessible elements to iframe

* add library only when accesible output is seleceted

* focus on iframe when plaing

* css

* deleted accessibleOutput.jsx and edited IDEView to integrate accessibility library

* deleted comments

* fix package

* Moved CSS to library and removed section from file.js (#2)

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library

* removed submodule and replaced interceptor for library (#510)

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* Fixes #508 (#539)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* Fixes #508  (#545)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* moved accessible output css

* removed css, added aria-label, preliminary cdn update

* removed section from iframe

* updated cdn

* add autofocus; remove CSS
2018-03-01 13:28:43 -05:00
Dhruvdutt Jadhav
3efe3d20f7 chore: fix linting issues (#570) 2018-02-26 15:05:02 -05:00
Luis Morales-Navarro
24b0be629f Accessibility - Transition from interceptor to accessibility library (#508)
* added library to iframe

* changed preview to add accessible elements to iframe

* add library only when accesible output is seleceted

* focus on iframe when plaing

* css

* deleted accessibleOutput.jsx and edited IDEView to integrate accessibility library

* deleted comments

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library (#510)

* Fixes #508 (#539)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* Fixes #508  (#545)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* Fixes #508 (#548)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* moved accessible output css
2018-02-22 16:47:25 -05:00
Mr.tang
dcdb81aa80 make loop protect work (#535) 2018-02-09 12:46:47 -05:00
Dhruvdutt Jadhav
e7abb55ee7 Fixes #515 Update React to 16 and other dependencies (#519)
* Update to react, react-dom 16.2.0

* Update react-redux

* Update react-tabs

* Update redux-devtools

* Update redux-devtools-dock-monitor

* Update redux-devtools-log-monitor

* Add prop-types package

* Update gitignore

* Update all files to use prop-types package

* Update react-router

* Update react-inlinesvg
2018-02-07 13:06:07 -05:00
Chris Hallberg
62670e6dda Add allow-modals to iframe, allowing alert and prompt. Discussed in Issue #507. (#518) 2018-02-07 12:47:25 -05:00
Cassie Tarakajian
d2b7f75cfd
fixes #475 (#512) 2018-02-01 17:16:54 -05:00
Cassie Tarakajian
6cd71acb81
update list of mime types and move to common server and client file (#511)
Fixes #476 and fixes #450
2018-02-01 16:45:19 -05:00
Cassie Tarakajian
9297496a5e change instance of adding loopProtect to this.jsPreprocess 2017-11-01 16:47:43 -04:00
Boaz Sender
a69cf8b916 make syntax error checking more reusable per feedback from @catarak 2017-10-26 13:48:01 -04:00
Boaz Sender
8e63b3204d resolves behavior in #428 where syntax errors in auto refresh mode are unrecoverable 2017-10-21 17:22:16 -04:00
Cassie Tarakajian
48cbd79ca8 fixes #443 2017-10-11 12:56:44 -04:00
Cassie Tarakajian
087f319a8a make nav keyboard accessible 2017-09-14 14:52:40 -04:00
Zach Rispoli
1897ccdef2 Change setting so that decomment library preserves spaces (#411)
* Change setting so that decomment preserves spaces

* Fix trailing spaces
2017-08-03 23:27:01 +02:00
Cassie Tarakajian
e111d3c020 fix line number for runtime errors 2017-08-01 15:03:48 -04:00