Commit Graph

292 Commits

Author SHA1 Message Date
Cassie Tarakajian 67e4669605 fix nav styling 2017-03-30 13:22:23 -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
Shivanku Kumar 352d81e9f7 resolving alignment issue, #298 (#321) 2017-03-16 00:22:08 -04:00
Cassie Tarakajian 636b267259 adjust sidebar styling for long filenames 2017-03-15 13:31:30 -04:00
Kevin Martin Jose 8167366ce0 Style change to toasts (#316)
* Changes to toast styles

* Changes to toast styles

removed an unused variable

* removing another unused variable
2017-03-06 14:29:42 -05:00
Cassie Tarakajian 7e9ce95264 add header to preview frame 2017-03-02 15:01:33 -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
Saumya Balodi 059308fbfe Fix UI Detail: Icon placement welcome modal (#306)
* Fix UI Detail: Icon placement welcome modal

* Fixed issue297
2017-02-19 13:39:31 -05:00
Katy310 1aa928718b Fix UI Detail: color of 'by' in author/account name #299 (#303)
* fix UI Detail: color of 'by' in author/account name #299

* Fix color of Title text

* Wrap <code>getThemifyVariable()</code> in <code>@include themify</code>.

* Add missing curly brace
2017-02-19 13:33:14 -05:00
Cassie Tarakajian f06ac10f9a #292, when clicking on row in sketch list, navigate to sketch 2017-02-17 17:29:36 -05:00
Cassie Tarakajian 38a5d6e100 fix #295 2017-02-17 17:07:53 -05:00
Cassie Tarakajian 7b602671b9 fix #291 2017-02-17 15:47:54 -05:00
Mathura MG a30c765ccf switch brown in dark theme (#300) 2017-02-10 12:23:11 -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 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 3709587f4c fix #268 2017-01-17 13:28:28 -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
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
Yining Shi 62b4d4cc6e New Design for About (#246)
* new design for about

* clean code

* reuse play.svg
2017-01-06 13:14:39 -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 9886e53a7c fix #245 2017-01-05 16:54:33 -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 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
Cassie Tarakajian 1186bebd94 minor css fix in sketch list 2016-12-19 17:49:35 -05:00
Cassie Tarakajian 7072518f83 minor CSS fixes on editor/sidebar 2016-12-19 17:19:07 -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 b70be5a6c1 add outline back to %icon for accessibility 2016-12-14 11:05:10 -05:00
Lauren McCarthy 67c53f5781 implement new design for sketchbook (#227)
* removing avenir font, using montserrat instead due to licensing issues

* updating headings for sketchlist

* removing old import statement for typeography scss file

* implementing new design for sketchbook closes #207

* removing seconds from sketchlist view

* remove outline from active icon
2016-12-14 10:58:43 -05:00
Lauren McCarthy 7216b95c00 removing avenir font, using montserrat instead due to licensing issues (#226)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file
2016-12-14 10:41:50 -05:00
Akarshit Wal d338513322 1 line margin at bottom (#223) 2016-12-13 12:31:40 -05:00
Cassie Tarakajian 637a62be01 fix sidebar bugs 2016-12-09 17:05:24 -05:00
Cassie Tarakajian bdefab53b6 #211 highlight p5 keywords in code editor 2016-12-07 14:42:05 -05:00
Cassie Tarakajian 8cf313f6f9 fix #204, making sure focus/form is reset properly 2016-11-29 19:18:11 -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
Yining Shi ce402c413f hide scrollbar beneath the sketch list layer (#209)
* no scroll in overlay

* delete extra images
2016-11-23 16:44:46 -05:00
Cassie Tarakajian 1a9a6f8d84 fix #201 2016-11-23 14:44:39 -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 d33b6a354f #143 handle undefined console messages 2016-11-02 19:26:13 -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 ef7d121927 show errors if file name is invalid 2016-10-19 17:09:31 -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 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
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
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
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
Lauren McCarthy e4e7f176b5 throttling postMessage to 250ms, fixes #80 2016-10-01 16:01:05 -07: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
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
Yining Shi 43052cb675 detect infinite loop
detect infinite loop

detect infinite loop
2016-09-17 00:11:33 -04:00
catarak 0e0d3975e1 fix #89, fix closed sidebar on Safari 2016-09-07 22:49:29 -04:00
catarak 380b960328 fix height of sketch list 2016-09-07 21:51:54 -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 0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak 14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak 01ad5611c6 sidebar styling fixes 2016-09-03 20:29:18 -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 9d3bcf2a15 add new folder modal 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 ac6585e713 add file works on unsaved project 2016-09-02 17:41:01 -04:00
catarak d9d7dfa39f add cancel button to login and signup forms 2016-09-02 17:37:34 -04:00
catarak 798117164a add client side sign up validation erros 2016-09-02 13:05:42 -04:00
Cassie Tarakajian f00acd0de0 Merge pull request #83 from MathuraMG/accessibility
add preview; output focus
2016-09-01 18:13:04 -04:00
MathuraMG 6cba157687 add preview; output focus 2016-08-31 23:07:43 -04:00
catarak 7a8e77282d add github login and signup 2016-08-31 15:12:18 -04:00
catarak ab576fe737 add github button styling, add backend for login with github 2016-08-31 12:28:06 -04:00
Cassie Tarakajian f8ab95d0dc Merge pull request #70 from MathuraMG/accessibility
Accessibility changes to preferences and toolbar
2016-08-30 21:32:40 -04:00
MathuraMG fe803d52d0 remove preference__option--selected 2016-08-29 14:39:23 -04:00
catarak 64b2ea3da4 add and test logout 2016-08-27 20:46:20 -04:00
catarak 515febceb2 fix height of console messages and fix #74 2016-08-27 19:22:41 -04:00
MathuraMG b825096640 make preferences radio buttons 2016-08-25 17:46:30 -04:00
catarak 8713e297dd add about modal to link to github 2016-08-22 12:35:59 -04:00
Cassie Tarakajian 1734852f68 Merge pull request #50 from MathuraMG/output
Create text output for canvas
2016-08-19 16:03:22 -04:00
MathuraMG 76c7c6384d add subtitle 2016-08-19 15:51:41 -04:00
catarak a265d622dc add avenir next 2016-08-18 14:22:47 -04:00
catarak 3ab1b82d8d add fullscreen route and page 2016-08-17 18:13:17 -04:00
catarak bca59a6233 add /:username/sketches links to username sketches 2016-08-17 15:53:25 -04:00
MathuraMG 8659251bcf merge master 2016-08-15 21:09:47 -04:00
MathuraMG c0407dec65 update interceptor 2016-08-15 20:28:18 -04:00
catarak 2f6d5e84e8 switch sketch list to sketch list modal, which you now can close 2016-08-15 17:06:12 -04:00
catarak 89c641c845 fix sketch list view bug which made the nav look ugly 2016-08-15 13:03:52 -04:00
catarak 17efc42778 switch project name edit to html5 input 2016-08-15 12:42:13 -04:00
MathuraMG 5179b09022 merge with master 2016-08-13 11:37:05 -04:00
catarak 43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -04:00
MathuraMG e964df2fe2 make pref visible 2016-08-12 10:13:22 -04:00
MathuraMG c8dbb8bef7 merge master 2016-08-11 20:59:01 -04:00
catarak 91e03a6d89 fix preference z index issue that 2016-08-11 17:41:35 -04:00
catarak 74e690ef9d removed commented out code 2016-08-11 16:58:47 -04:00
catarak 7cca65c566 fix https://github.com/catarak/p5.js-web-editor/issues/31, https://github.com/catarak/p5.js-web-editor/issues/22, and https://github.com/catarak/p5.js-web-editor/issues/37 2016-08-11 16:50:31 -04:00
catarak 93d6d8777f add resizers 2016-08-11 15:41:13 -04:00
MathuraMG 4806b83d1f style editor-accessibility 2016-08-11 15:38:32 -04:00
MathuraMG d789c9a8f3 move lint warning to preferences 2016-08-11 14:09:59 -04:00
catarak 5877b82933 fix https://github.com/catarak/p5.js-web-editor/issues/35 2016-08-10 20:02:55 -04:00
catarak 2f581a6a77 remove unnecessary css styles 2016-08-09 17:31:14 -04:00
catarak 18c2fe9e85 add autosave preference styling 2016-08-09 17:29:17 -04:00
catarak c76b1353c3 put preferences to server, need to look at mongoose docs tho because is wrong 2016-08-04 21:43:13 -04:00
catarak 013b97d96d fix scrolling issue for firefox, add teporary fix for safari 2016-08-04 20:51:58 -04:00
catarak 443a9f57d5 add file renaming 2016-08-03 17:45:50 -04:00
catarak da98dcd47e add file deletion 2016-08-03 17:45:50 -04:00
MathuraMG ca9afab246 add aria-labels 2016-07-31 21:38:46 -04:00
MathuraMG f4d49f49a5 add aria-label tag 2016-07-30 22:46:48 -04:00
catarak ac9de85928 change iframe height to min height 2016-07-25 21:36:32 -04:00
catarak 0da77e7aa1 fix flexbox bugs for ie11 2016-07-22 17:19:15 -04:00
catarak 6f3db24d9f update modal styling, move to placeholder 2016-07-21 15:07:53 -04:00
catarak 9201cb247c make console expandable and contractable 2016-07-21 00:33:41 -04:00
catarak afe7e07188 start console styling 2016-07-21 00:05:47 -04:00