Commit Graph

249 Commits

Author SHA1 Message Date
Andrew Nicolaou b1bfb91f80 Serve assets from /:username/assets, redirecting old path 2019-08-24 13:38:01 +02:00
Shan Rauf 1ef07ed7a6 Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:47:14 -04:00
Shan Rauf eb82968a9f Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:46:37 -04:00
Andrew Nicolaou 4679d6a0bd Show "Back to the editor" in nav on Account view page 2019-06-11 16:24:26 -04:00
Andrew Nicolaou b16cb26a4b Makes Account view a modal 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 89babdc8c0 Update test snapshots 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 137ea783ea Experiment with "Checks" in Travis output (#1081)
* Run tests on CI

* Create a lint error on purpose

* Splits build into test and deploy stages

lint and test jobs will run in parallel and if both are successful
(and branch is master), deploy will run.

* Revert "Create a lint error on purpose"

This reverts commit 306c91c4278631fa1c1dcd40f0b23f7f9e5f000d.

* Updating snapshot

* Run deploy only on master branch (not PRs)

* Use global deploy config item to avoid building on PRs
2019-05-24 12:16:15 -04:00
Cassie Tarakajian 61d6e13c78
fixes #1018 (#1019) 2019-04-05 17:14:00 -04:00
Cassie Tarakajian cdb4e0687e remove accessible options from nav for #768 2019-04-03 14:29:58 -04:00
Cassie Tarakajian 6d998d5f73
Merge branch 'master' into master 2019-04-03 11:38:39 -04:00
Apoorv Taneja 391a92a1fd Logo color changes with theme. Fix #916 (#997)
* color changes with theme

* color changes with theme

* color changes with theme

* color changes with theme
2019-03-28 14:21:43 -04:00
siddhant 9433d188fc Added autoOpen items on hover (#900)
* AutoOpen Header

* removed nav heading

* Fixed #908

* Fixed Styles

* Fixed styles

* Refactor editor

* Issues Fixed

* keyup -> keyown
2019-03-27 12:50:55 -04:00
Pranav Tharoor 92c4c9a30f Fixes issue with drop-down arrow not being clickable (#982) 2019-03-26 13:38:19 -04:00
nik72619c ec00f32a5b added requested changes 2019-03-26 21:30:43 +05:30
Nikhil Sharma 52291c69f2
fixed non-optimal function declarations 2019-03-17 14:49:45 +05:30
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
Oliver Wright e8639a6ed0
Update snapshot 2019-02-10 01:00:24 +00:00
Oliver Wright 1df469bdeb
Update test 2019-02-10 01:00:20 +00:00
Sepand Ansari 189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
Francis Li 31abeb9455 Serve up an empty 404 page if no examples user (#766)
* Rebase/squash

* Fix 404 page showing when refreshing Examples list

* Fix linter error

* Revert special-case handling of the p5 user for examples

* Add additional env var for enabling/disabling examples
2019-01-25 14:12:39 -05:00
Cassie Tarakajian 7bd016bac3
fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Francis Li 9fe34504e9 Disable login/save (#778) 2018-12-11 16:21:37 -05:00
Laksh Singla 9105249c23 Add New File and New Folder buttons in Navbar (feature: #758) (#763)
* Add New File and New Folder buttons in Navbar (feature: #758)

* Moved the Add File and Add Folder butons from File to Sketch (feature: #758)
2018-11-15 14:37:44 -05: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
Liang Tang d5856ba923 Remove authorization from specific routes (#642)
* fixes #569

* update listObjectsInS3ForUser

* update client-side routes

* update aws controller

* update

* redirect to /login when unlogged in
2018-05-29 21:37:10 -07:00
Liang Tang 7a48899862 make keyboard nav accessible (#628) 2018-05-11 17:07:29 -07:00
Cassie Tarakajian 5057a901fe fix a few linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Liang Tang 1335985ab8 fixes #610, fixes #604 (#611) 2018-04-02 17:58:21 -07:00
Himanshu 41fd31e6a5 Issue#591 (#592)
* fixes #555

* fixes #591

* Update README.md

* Update examples.js

* Update examples.js
2018-03-08 16:34:21 -05:00
Himanshu 074e654b64 fixes #525 (#549)
* fixes #525

On clicking on the links itself, the menu can be closed.

* fixes #525

Account click added.
2018-02-20 14:32:09 -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 48cbd79ca8 fixes #443 2017-10-11 12:56:44 -04:00
Cassie Tarakajian 9253d7e1ec fix reversed keyboard shortcuts on nav, fix wording on keyboard shortcut modal 2017-09-15 12:14:01 -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 34cf86326b add find next and find previous commands to nav 2017-09-14 16:58:59 -04:00
Cassie Tarakajian 7f206122a2 add keyboard shortcuts to nav items 2017-09-14 14:52:41 -04:00
Cassie Tarakajian 251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian 7a399f859a remove unimplemented nav items, fix nav styling 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 087f319a8a make nav keyboard accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian 7d449e63b9 start to make nav accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian 65b009077b many updates to nav style 2017-09-14 14:52:40 -04:00
Cassie Tarakajian 394772c32c more nav restyling 2017-09-14 14:52:40 -04:00
Cassie Tarakajian fd26279fed start to restyle nav 2017-09-14 14:52:40 -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 7403b2b2d6 Current sketch will stop playing if a new example is opened (issue #357) (#365)
* Current sketch will stop playing if a new example is opened (#357)

* stopSketch dispatches on route change

* Remove extra stopSketcch calls
2017-06-18 17:11:23 -04:00
Andrew Nicolaou 313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Kevin Dodge 6518bf14bf Fix typo in preview version/bug reporting announcement (space needed between 'bugs' and 'here'). (#345) 2017-05-03 11:57:33 -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
Andrew Nicolaou dc801ccf7f Force HTTPS redirection for log in and sign up (#319)
* Higher-order component to force some routes to HTTPS

* Force all user-management routes to HTTPS

* Redirect to sourceProtocol as route unmounts.

By default, no redirection occurs if sourceProtocol is not explicitly
defined.

* Sets serveSecure flag on new projects and usea after forcing protocol

The flag is set to `false` on all projects and as the UI has no way to
change this, it always redirects to HTTP after a signup/login action.

* Move HoC to be with other top-level components

* Server should respond to account page request

* Serves AccountView over HTTPS

* Turns HTTPS redirection off in development by default

Will log to the browser console any redirection that would
have happened. Added a line in the README about how to
enable this for testing in development.
2017-03-30 12:36:26 -04:00
Yining Shi fe6acc90e4 Adding User Settings View (#325)
* added account page showing username and email

* change username and email

* validate current password and add new  password

* reject promise with error for reduxForm submit-validation for current password

* updated user reducer to handle setting sucess and server side async

* warning if there is current password but no new password

* fixes logout button

* import validate function, fixes logout style
2017-03-16 18:25:12 -04: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 257b44ad23 change links in nav to /{username}/sketches from /sketches 2017-01-24 16:14:07 -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 cb2d8d0dd5 fix #269 2017-01-17 13:20:42 -05:00
Cassie Tarakajian 885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Lauren McCarthy c6ecda4f3a adding alpha warning (#249)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* adding alpha warning
2017-01-06 15:13:46 -05:00
Cassie Tarakajian 074f5b35b1 fix #243 2017-01-05 15:27:57 -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 5de2a6761f Prefs (#238)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* formating prefs pane

* updating capitalization
2016-12-19 23:48:36 -05:00
Cassie Tarakajian cb41b3296d minor css fixes to nav 2016-12-19 17:56:39 -05:00
Lauren McCarthy 844c918652 styling of nav and toolbar (#237)
* 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

* styling of nav and toolbar
2016-12-19 17:52:21 -05:00
Yining Shi 29de5fce55 Fetch examples from p5 website repo (#203)
* changed open to examples, created basic fetch-examples.js

* use dotenv babel-register polyfill

* save examples in order

* added assets

* use rawgit.com

* async process.exit

* sound:Convolution Reverb
2016-12-01 18:57:50 -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
Cassie Tarakajian 33582a1a2e change nav extension to jsx 2016-11-08 19:04:08 -05:00
Cassie Tarakajian 85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Cassie Tarakajian 93de8596f2 fix #154 2016-10-19 12:36:40 -04:00
Zhuoxi Song 2856615c4d added link to p5js reference at top nav (#131) 2016-10-07 11:26:49 -04:00
catarak 3cee334a21 remove save from nav when viewing another user's project 2016-09-07 15:21:22 -04:00
catarak 14a51b6332 add share modal 2016-09-06 22:37:29 -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
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 b79cec93b0 change a to react-router link 2016-08-27 19:14:22 -04:00
Lauren McCarthy ef8034eb1b adding open option to logged out view closes #67 2016-08-26 13:32:18 -04:00
catarak 8713e297dd add about modal to link to github 2016-08-22 12:35:59 -04:00
catarak f5c63dddad change nav if user is logged in, if project is saved 2016-08-17 19:00:05 -04:00
catarak da2739d3a9 add link to fullscreen in nav 2016-08-17 18:35:15 -04:00
MathuraMG d2f706fd74 move onclick for duplicate 2016-08-13 11:39:53 -04:00
catarak eb85e49c51 change nav bar names 2016-08-12 15:51:27 -04:00
catarak 43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -04:00
MathuraMG 038d290577 fix merge conflicts 2016-07-15 17:23:59 -04:00
catarak 8d8e399aac add cloning of projects 2016-07-15 13:36:33 -04:00
catarak 78ed7b4b5f add download as zip 2016-07-15 13:11:50 -04:00
MathuraMG 589bc9f630 change html tags 2016-07-14 17:20:44 -04:00
mathuramg baec9e9e87 add aria-tags and titles 2016-07-13 11:59:47 -04:00
mathuramg 624d79075a make links accessible 2016-07-12 12:25:48 -04:00
catarak b2369704a2 start sketch list view 2016-07-01 11:30:40 -04:00
catarak 684646c785 add proptypes to nav, fix proptypes for login 2016-06-27 16:14:26 -04:00
catarak baa2c121f0 fix minor linting errors 2016-06-24 14:03:32 -04: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