Commit Graph

727 Commits

Author SHA1 Message Date
Andrew Nicolaou 4679d6a0bd Show "Back to the editor" in nav on Account view page 2019-06-11 16:24:26 -04:00
Andrew Nicolaou eb4846c3c2 Fix layout on user pages 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 1f95718f58 Page background matches selected theme for user pages 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 2854aa9235 Extracts tabs into reusable CSS 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 5e74be46fd Adds theme-aware CSS for "user" pages 2019-06-11 16:24:26 -04:00
siddhant b7df80a96c Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-06-06 17:17:33 -04:00
Cassie Tarakajian 18f646bde9
for #950, update babel to v7 (#1077)
* for #950, upgrade babel to v7

* fix linting errors

* for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc

* for #950, changes to .babelrc to make  work

* for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import

* for #950, update babel and associated packages to LTS
2019-06-05 12:05:31 -04:00
Cassie Tarakajian b41b3538b9 fixes #417, add default p5.js inclusion to non-minified version, and update default p5.js version to latest (#1084) 2019-05-29 17:29:53 -04:00
Andrew Nicolaou 693542eef5 Forces light theme on Account page
This is until this page's components are made theme-aware
2019-05-29 12:51:50 -04:00
Andrew Nicolaou fe513fdb54 Adds spacing around social login button 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 34fea139f2 Fixes Account back behaviour 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 3cedf37647 Changes API_KEY_REMOVED action constant to match API_KEY_CREATED 2019-05-29 12:51:50 -04:00
Andrew Nicolaou c508765310 Fixes linting errors 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 89dd41d81f lastUserAt should be null if the key has never been used 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 3e760ca0b8 Styles Account and APIKeys components 2019-05-29 12:51:50 -04:00
Andrew Nicolaou a03eed1603 Copy button copies token to clipboard 2019-05-29 12:51:50 -04:00
Andrew Nicolaou ed87d4cd26 Aligns AccountView to top of page 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 504eacaf64 Displays all API keys in a table, including new token information 2019-05-29 12:51:50 -04:00
Andrew Nicolaou de5e1a9e8f Removes AdvancedSettingsView as functionality now in AccountView 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 90f34d7a5a Updates client UI to request token generation from server 2019-05-29 12:51:50 -04:00
Vertmo 3b55ff81d2 Hashing keys before storing them 2019-05-29 12:51:50 -04:00
Vertmo 78695d3983 Improved interface for copying key after creation 2019-05-29 12:51:50 -04:00
Vertmo 4d4f636623 You can now generate keys from the advanced settings interface 2019-05-29 12:51:50 -04:00
Vertmo 3d2a862d9d Added design of the API key page 2019-05-29 12:51:50 -04:00
Cassie Tarakajian 507b0b28b1
fixes #417, add default p5.js inclusion to non-minified version, and update default p5.js version to latest (#1084) 2019-05-24 12:40:20 -04:00
Cassie Tarakajian 18239eb2e0
fixes #1065, checks if cmController.getContent is defined (#1071) 2019-05-10 18:26:48 -04:00
Cassie Tarakajian d4cdd1b790
fixes #1061, sets selected file if it gets unset (#1066) 2019-05-06 14:50:28 -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
siddhant 538a41c617 Added Loader to indicate loading of sketches (#880)
* Added Loader to indicate loading of sketches

* Fixed styles

* Changed styles

* remove prefixes

* Issues Fixed:

* added Loader

* Refactor

* Issues Fixed

* clean up loader functions
2019-05-01 16:32:39 -04:00
Cassie Tarakajian 9d22c3c146
fixes #1057, fullscreen wasn't rendering because clearConsole was not defined (#1058) 2019-05-01 15:31:55 -04:00
Ankur Ingale 07b55d7ee4 Fixed Issue #896 (#1049) 2019-04-30 17:44:41 -04:00
Cassie Tarakajian 8b296a51aa
Fixes #1052, in which you can't save a sketch after uploading a file (#1053)
Fixes #1052, in which a user can't save a sketch after uploading a file
2019-04-24 13:32:23 -04:00
Apoorv Taneja ac188eb6d9 fixed (#958) 2019-04-17 15:30:50 -04:00
Cassie Tarakajian 7d1901649f
Project synching, for #790 (#1039)
* add isSaving to project reducer, move actions to functions, start work to get comprehensive frontend/backend syncing working

* handle making changes while saving project, handle saving from another window

* add change to handle saving new sketch, and adding new changes while saving
2019-04-17 14:08:33 -04:00
Cassie Tarakajian 5abf4c4e06
fixes #1026 (#1028) 2019-04-11 16:25:37 -04:00
progfay 276f115d3f set default theme value (light) (#1001) 2019-03-28 16:53:22 -04:00
Marton Soos 3bf3fe1452 Fix multiple file options showing up (#987) (#988)
* Fix multiple file options showing up (#987)

This change ensures that the file options composite widget is
hidden if and only if none of its components is in focus. This
is achieved by having a variable keep track of the state of
the composite widget (in focus / not in focus).

* Fix #987

Modified fix for #987 according to the requested changes.
Moved isFocused to the components state and created a method
for hadling the function calls executed in onBlur.

* Fix #987 - final touches

Renamed method blurComponent to onBlurComponent. Moved duplicated
code from onFocus callback to a new method called onFocusComponent.
2019-03-27 15:52:57 -04:00
Cassie Tarakajian 2d77ddb650
Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
Laksh Singla 24302b56de Added softwrap preference for users. (#970)
* Client and server side code added for Linewrap option

* Linked linewrap prop with the Editor.jsx property

* linewrap defaults to true

* Renamed 'LineWrap' to 'WordWrap'
2019-03-26 15:37:44 -04:00
cdr 49e786a82d Use more straightforward tab keymap function 2019-03-26 02:12:42 -04:00
cdr 20be8eb5bd Fix tab indentation setting 2019-03-23 20:53:07 -04:00
cdr d1ce054abf Remove indentation config from actions, reducers, and constants 2019-03-21 21:08:59 -04:00
cdr ddb93e6c8d Remove indentation PropTypes from IDEView.jsx 2019-03-21 21:02:22 -04:00
cdr 096f8a1f65 Hardcode 2-space configuration in Editor.jsx 2019-03-21 20:52:56 -04:00
cdr 679ef12b54 Remove indentation options from Preferences.jsx 2019-03-21 20:26:52 -04:00
Ankur Ingale 80765e03c7 Fixed Issue #659 (#964)
* Fixed Issue #659

* Undo changes in package.json and package-lock.json

* Resolved error
2019-03-21 17:08:46 -04:00
siddhant 98d7933dee Added length cap to sketch name (#944) 2019-03-20 16:32:01 -04:00
Gaurang Tandon 1b468aa4ec fixes #795 (#935)
* fixes #795

* fix lint
2019-03-20 14:28:15 -04:00
Cassie Tarakajian 1d2cb87c33 for #874, also fixes bug in which file options could be revealed by right clicking even if user isn't owner of sketch 2019-03-14 16:10:50 -04:00
nimish a018929489 Remove file menu on blur 2019-03-13 18:10:47 +05:30
Nimish Agrawal 87c012b9f6 Autofocus on Add File menu (#882) 2019-03-12 16:17:27 -04:00
Cassie Tarakajian d9670f7bc3
fixes #865 (#869) 2019-03-05 16:25:34 -05:00
siddhant1 b6e2c4c983 Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Oliver Wright e37926de74 Refactor Toolbar Props - See #824 (#849) 2019-03-01 16:21:00 -05:00
Cassie Tarakajian 74ec1ba5bf
fixes #725 by updating jshint (#848) 2019-02-25 16:52:07 -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
Oliver Wright 5fdcd08add Use File id in Redux Actions - Fixes #842 (#844)
Prevents file name collisions that are possible with the folder
system.
2019-02-25 12:57:10 -05:00
Cassie Tarakajian f1b6aab749 fixes #826 2019-02-20 16:03:18 -05:00
Oliver Wright d0832ea4b7 Prevent crash when console.error is used - Fixes #833 (#834) 2019-02-20 15:57:37 -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
Cassie Tarakajian 437ffba378
fixes #802 (#809) 2019-01-16 12:35:34 -05: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 244af16b64
For #675, needs more testing to know if it fixes it! (#784)
* for #675

* fix linting errors
2018-12-13 17:06:34 -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 ef98190e25 for #769 2018-11-20 18:00:54 -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
Bhawesh Bhansali 61dd0bb4d0 [WIP] Set min & max limits on font-size (#716)
* Set min & max limits on font-size

Disable the font-size setting button when extremum is reached.

References https://github.com/processing/p5.js-web-editor/issues/689

* handle case for user input to input field, also add min and max for indentation amount
2018-11-02 15:55:06 -04:00
Joey Lee 25bf5ad636 Removed Console.log in client/.../ Project.js to prevent logging user data to console fixes #749 (#750)
* replaced () with {} to fix implicit return error

* added first version of fetching generative-design examples

* ignore local testing files

* formatting

* updated examples-gg-latest

* updated examples-gg-latest.js

- data files not served via rawgit - hallelujah!
- added jquery

* updated p5 version

* refactoring and code cleanup

* added comment

* comment out link to svgFiles - unused

* moved commented code

* fixed conflicts

* linted examples-gg-latest

* removed console.log of response.data to prevent logging user data to console

* fixed linting error
2018-11-01 14:59:28 -04:00
anaplian 319e68ddb6 Fix async validation in signup form (fixes #742) (#746) 2018-10-29 19:33:37 -04:00
Cassie Tarakajian de74c0cac8 fixes #516, sets console lines limit to 500 2018-10-25 18:04:18 -04: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
Nitesh Sawant 121bf94007 fixes #726 (#728)
* fixes #726

* Disabled Sumit butto nif form is not touched & used tri function instead of replace
2018-10-22 15:41:35 -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
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 d15e5d0da5 fixes #715 in an extremely hacky way 🤷‍♀️, fixes another error in which when changing the font size, linting highlighting was misaligned 2018-10-10 17:40:47 -04:00
Meru Patel 19bffe58cf Fixes #712 (#718)
* added matchbrackets

* Added css for matching brackets
2018-10-08 13:14:59 -04:00
cdncat e83654f6ad Fixes #717 (#720)
* remove npm run lint warnings, fixes #717

* Update link for Code of Conduct in CONTRIBUTING.md
2018-10-05 15:35:31 -04:00
Bhawesh Bhansali cf5cb1f6e9 components/Editor.jsx: Allow indentation on entering new line (#710)
indentUnit updated on settings->indentation amount change

Fixes https://github.com/processing/p5.js-web-editor/issues/700
2018-10-04 13:36:42 -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 9f6ce5fa8d alignment fix 2018-09-23 12:26:39 +05:30
Cassie Tarakajian a1d2acbe9b Merge branch 'master' into production-docker 2018-09-17 14:53:58 -04:00
Cassie Tarakajian 51116bf0d0 fixes #696, update default p5.js to latest version 2018-09-17 14:53:46 -04:00
Meru Patel de9749b892 lint fixes 2018-09-16 14:27:05 +05:30
Meru Patel a8261350c9 perfectly aligned 2018-09-16 14:24:48 +05:30
Meru Patel 5a8d814228 css update 2018-09-16 14:15:40 +05:30
Meru Patel b8f858ae70 misaligned height and logged number size fix 2018-09-15 23:39:48 +05:30
Meru Patel 14d01ae01c misaligned height and logged number size fix 2018-09-15 23:33:42 +05:30