Commit Graph

133 Commits

Author SHA1 Message Date
Cassie Tarakajian d9670f7bc3
fixes #865 (#869) 2019-03-05 16:25:34 -05:00
Oliver Wright e37926de74 Refactor Toolbar Props - See #824 (#849) 2019-03-01 16:21:00 -05:00
Cassie Tarakajian 2cc0d578fb
for #790, when saving a sketch, pull from codemirror window (#847)
* for #790, when saving a sketch, pull from codemirror window

* fix lint errors
2019-02-25 16:45:20 -05:00
Oliver Wright 61f20d1d4c Refactor Nav Props - See #824 (#846) 2019-02-25 15:11:07 -05:00
Cassie Tarakajian eebe9d9252
fixes #777 (#782) 2018-12-12 14:43:28 -05:00
Cassie Tarakajian b68e3a79fd for #687 2018-11-26 18:08:24 -05:00
Cassie Tarakajian 474c843e8a Merge branch 'bugfix/680-preview-dimensions' of https://github.com/bendman/p5.js-web-editor into bendman-bugfix/680-preview-dimensions 2018-10-17 15:27:57 -04:00
Cassie Tarakajian 3ecb6fb80f
Merge pull request #690 from Janglee123/master
[WIP]Fixes #677
2018-10-02 20:49:02 -04:00
Meru Patel f2c32e89a6 variable name change 2018-09-13 07:30:19 +05:30
Meru Patel 2475467dd0 Fixes #677 2018-09-12 10:30:29 +05:30
bendman ffa4ac145a Fixes #680 by adjusting canvas and iframe layout
- Set the preview canvas to `display:block` to remove vertical spacing
caused by the default value, which was making a full-height canvas cause
vertical scrolling, and the vertical scrollbar caused horizontal
scrolling
- Wrap the preview content in a container with `position:relative` and
no other visible content, so that the full-height iframe excludes the
height of the preview frame header, preventing it from going beyond the
height of the page
2018-09-08 11:50:39 -07:00
Cassie Tarakajian cea61a79f5 Merge branch 'master' into production-docker 2018-09-07 15:48:43 -04:00
Jared Donovan 2f21130e0d Fix needs saving mark 2 - for #576 (#658)
* Comment out show/hide file options action creators.

* Comment out show/hide file options properties

* Comment out show/hide file options action definitions

* Comment out constants for show/hide options action types

* Comment out props for show/hide options and replace with component state.

* Comment out show/hide edit file name reducers.

* Comment out show/hide edit file name actions.

* comment out show/hide edit file name action types.

* Comment out show/edit file name props from IDEView component

* Replace show/hide edit filename props in FileNode component with local state

* Remove commented out code from previous changes for moving redux state back into component state.

* Add binding to this for new functions. And tidy up of code.
2018-09-07 15:48:25 -04:00
Cassie Tarakajian d44027c58e for simplicity and security, remove redirect to HTTP and keep everything on HTTPS 2018-08-27 14:37:31 -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 c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Himanshu 087b378e58 fixes #441 (#599) 2018-03-12 11:37:28 -04:00
Mr.tang 43f482ab48 fix some bugs in #561 (#578) 2018-03-02 12:26:20 -05:00
Mr.tang 287663494a Make saving more user-friendly (#561)
* enhance saving

* remove console

* rename

* duplicate when saving others' projects

* fix a bug
2018-02-23 11:55:14 -05:00
Mr.tang 61560b87f7 Fixes #554 (#559)
* update title

* update titles

* delete unnecessary line
2018-02-23 11:31:41 -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 6f5472020c Fixes #517 (#530)
* update download file's name

* fix lint error

* use moment.js

* slugify filename

* fix lint error
2018-02-13 11:28:06 -05:00
Cassie Tarakajian daeed8749d
fixes #528 (#536) 2018-02-09 16:32:06 -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
Cassie Tarakajian bdd8df6301 remove https from toolbar 2017-11-14 17:47:16 -05:00
Cassie Tarakajian ca80308bc2 continue to fix preferences styles 2017-11-14 15:27:00 -05:00
Cassie Tarakajian 9587d01908 start to add preferences styling 2017-11-13 19:09:08 -05:00
Cassie Tarakajian 9f9b09b99d clean up ideview page 2017-11-13 14:44:23 -05:00
saumya1906 6b6ff7ca22 Issue 266: Tabs added 2017-11-06 17:41:55 -05:00
Cassie Tarakajian d48d9349a8 start to restyle share modal 2017-10-30 17:25:05 -04:00
Cassie Tarakajian 0989ff29eb fix other merge conflict errors 2017-10-12 15:38:02 -04:00
Cassie Tarakajian 53f7217786 fix merge conflicts 2017-10-12 15:00:11 -04:00
Cassie Tarakajian 8322282269 add turning on and off accessible output to nav 2017-09-15 12:10:54 -04:00
Cassie Tarakajian a92f4f5b3c refactor stop and stop sketch actions, add start and stop sketch to nav 2017-09-14 17:57:09 -04:00
Cassie Tarakajian 251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian 5cadf8986c fix logo styling, add link to keybaord shortcuts 2017-09-14 14:52:40 -04:00
Cassie Tarakajian 9eede0f728 fix #429 2017-09-14 14:51:36 -04:00
Joey Lee 677aa5865b replaced () with {} to fix implicit return error (#434) 2017-09-05 23:54:41 +02: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
Cassie Tarakajian b384fdc6ba remove console errors and extraneous console logs 2017-07-17 17:34:11 -04:00
Cassie Tarakajian e140702784 Create Asset List View and refactor overlay code (#356)
* start to create asset list

* begin refactoring overlay component to remove duplicate code

* refactoring of overlays, asset list styles

* changes to add size to asset list

* fixes to asset list

* handle case in which a user hasn't uploaded any assets

* fix bug in which asset list only grabbed first asset

* remove console.log

* update overlay exit styling to use icon mixin
2017-07-11 17:37:43 +02:00
Zach Rispoli c596b74b27 Sketch name is used as <title> (issue #108) (#363)
* Sketch name is used as <title> (#108)

* add newline to end of file
2017-06-05 22:37:41 -04:00
Andrew Nicolaou 313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Mathura MG 82207a50d3 Accessibility (#361)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class

* provide seperate outputs for text and grid

* switch textOutput to boolean

* make both modules usable together

* update interceptor for safari

* fix grid label

* add sound output as well

* change file strucure

* change constants

* change input lables

* switch submodule branch

* change variable name

* change grid to table

* remove role from table elements

* switch submodule branch
2017-05-31 15:23:30 -04:00
Cassie Tarakajian 517045623c fix autosave, which apparently had never worked 2017-05-13 20:47:41 -04:00
Andrew Nicolaou ae668f681e HTTPS UI switch (#335)
* Checkbox to toggle project's serveSecure flag

This doesn't yet persist or reload the page.

* Help button that shows modal to explain feature

* Extracts protocol redirection to helper

* Returns promise from saveProject() action to allow chaining

* Setting serveSecure flag on project redirects after saving project

* Set serveSecure on Project model in API and client

* Redirect to correct protocol when project is loaded
2017-05-03 11:46:12 -04:00
Andrew Nicolaou a267837fb7 Persists Redux store to/from sessionStorage (#334)
* Persists Redux store when reloading app for login

* Disable confirmation box when leaving page for login

* Removes extra console.warn

* Sets serveSecure: true for new projects if served over HTTPS

* Clears persisted state on IDEView load

Because when a sketch is created on HTTPS and then the user logs in
the page won't be reloaded

* Appends ?source=<protocol> to URL to track return protocol
2017-04-20 14:05:15 -04:00
Cassie Tarakajian 94694c5a72 start to fix editing permissions for the sidebar 2017-04-13 13:41:03 -04:00
Mathura MG 8e688a6103 Fix focus switch to accessible text output (#318)
* Change accessibility example links

* ensure we focus on text output
2017-03-06 15:58:36 -05:00
Cassie Tarakajian 7e9ce95264 add header to preview frame 2017-03-02 15:01:33 -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 ad62d20544 fix #284 2017-01-31 16:45:47 -05:00
Cassie Tarakajian a9ee70e033 #254 show error when user attempts to save stale version of project, refactor error modals to one component 2017-01-24 15:29:25 -05:00
Cassie Tarakajian c8253dd923 #254 test all of the edge cases for autosaving, such as login and logout, changing the autosave preference 2017-01-24 13:04:51 -05:00
Cassie Tarakajian 93130934f2 initial autosave update fixes 2017-01-24 11:59:34 -05:00
Cassie Tarakajian 65592cbf9e add authentcation error component, return 403 error from server when trying to save a project where the user doesn't match the owner 2017-01-17 15:37:19 -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
Cassie Tarakajian 8120fdd7db refactor console to its own reducer and actions, add clear button, clean up console component 2017-01-11 14:13:49 -05:00
Cassie Tarakajian d1c1279061 start to break out console into its own reducer 2017-01-09 18:09:23 -05:00
Cassie Tarakajian 1e670e9f9a fix #244, make console open by default and remove console icon 2017-01-09 16:31:39 -05:00
Cassie Tarakajian d0445a624d fix #261 2017-01-08 17:00:52 -05:00
Cassie Tarakajian 885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Cassie Tarakajian 074f5b35b1 fix #243 2017-01-05 15:27:57 -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 df495997f8 fix #215 2016-12-09 14:33:21 -05:00
Jen Kagan 55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -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
Mathura MG bd88e86ecc Move the interceptor code to a git module (#200)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script
2016-11-23 13:35:12 -05:00
Cassie Tarakajian 04922522cc cool to share some of this code between client and server
Squashed commit of the following:

commit fb5e82cea930b011792983c7d1cc9f6ecacc7dd4
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 16 12:28:10 2016 -0500

    add server side rendering, untested

commit 5c60fb30c46ea49a8d9a0ecb56f39ec778464a8b
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 18:26:06 2016 -0500

    add redux-form bandage post react update, should probably update to redux-form 6 at some point

commit 057b5871e7137179abc93f7821a9690f0ea52c92
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 16:30:09 2016 -0500

    remove passing jsFiles and cssFiles to PreviewFrame, fix rendering bug

commit 88c56fd36d3a8d88902c79642171988ce37825f2
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 16:21:59 2016 -0500

    code cleanup, untested

commit 82e5dcf8bca461892f1daf06d38f1eaebe72983f
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 15:53:50 2016 -0500

    update react and react router, fix a few bugs in rendering code, add ability to parse inline js and css

commit e02f4b67803ea45328eff4e53659222f3149964c
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 14:43:38 2016 -0500

    add almost full code to create preview html correctly, untested

commit 12f61b2a1aed4607fab24d01572b647ca6210262
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 2 17:09:26 2016 -0400

    refactor some of the preview html generation code

commit 111825846703d5c8959cb18795a3aadb7ebe505c
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 2 11:06:36 2016 -0400

    add comments as plan of action

commit 1cc2cf5203674732b4057382f1937de38b687078
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Thu Oct 27 19:34:55 2016 -0400

    add href parsing

commit e67189298cda9b70645f454ecd541a363980f0e4
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Thu Oct 27 10:48:36 2016 -0400

    continue parsing html

commit 1458fb940a15a3dc5d74890211a3073e920b84b8
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Oct 26 17:40:31 2016 -0400

    start to add html parsing
2016-11-16 13:12:36 -05:00
Mathura MG ced885d03f Add multiple canvas text outputs (#197)
* added grid

* add table to textoutput

* add all three outputs

* add shortcuts

* fix sound bug for triangle

* fix triangle bug - again
2016-11-12 11:53:02 -05:00
Cassie Tarakajian 167828b872 fix #185 2016-11-10 18:49:42 -05:00
Cassie Tarakajian 66b83df0f2 fix #180, relates to #185 in that the user is redirected to where they were post signup/login 2016-11-10 16:13:00 -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 a66ef24fb9 rename preferences state 2016-06-22 17:49:29 -04:00
catarak 81aabddeb1 restructure redux files 2016-06-22 15:58:23 -04:00
catarak 3a26cdd491 restructure react components 2016-06-22 13:49:06 -04:00
Renamed from shared/containers/IDEView/IDEView.jsx (Browse further)