Commit graph

905 commits

Author SHA1 Message Date
Cassie Tarakajian
cc456200a2 prevent users from adding extension to folder name 2019-07-17 12:33:23 -04:00
Rachel Lim
1e5a2b7c51 for 989, updated folder cannot be renamed to empty string 2019-07-17 12:33:23 -04:00
Rachel Lim
4861c03e36 for #989, files cannot be renamed to empty string 2019-07-17 12:33:23 -04:00
Laksh Singla
735adcfa05 Update sketch list styling (#819)
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Dropdown menu disappearing while clicking anywhere on the table

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

Added download functionality to Dialog box

SketchList does not open a sketch if dialogue box is opened

SketchList Rename initial UI completed

Enter key handled for rename project option

[WIP] Updating rename functionality

Download option now working for all the sketches

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Final styling of ActionDialogueBox commplete

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Added Delete and Share functionality to Dialog box

[WIP] Updating rename functionality

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Final styling of ActionDialogueBox commplete

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

* fix bugs in merge commit

* move sketch list dialogue to ul/li

* update sketch option dropdown to use dropdown placeholder, remove unused css

* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing

* fix broken links on asset list

* remove unused image, fix options for different users in sketch list
2019-06-19 16:21:25 -04:00
Cassie Tarakajian
4bd081b307
fixes #924 (#1107) 2019-06-18 16:54:16 -04:00
Cassie Tarakajian
b3c3efcec9
re #389, update styling in sidebar and editor for icon consistency (#1104)
* re #389, update styling in sidebar and editor for icon consistency

* re #389, remove link to unused icon
2019-06-14 13:30:13 -04:00
Cassie Tarakajian
0b24938dce
fixes #945 (#1102) 2019-06-12 17:11:35 -04:00
Cassie Tarakajian
68f3d145d0
fixes #943 (#1101) 2019-06-12 16:12:19 -04:00
Apoorv Taneja
d778a07541 Added hover effect on sidebar elements (#887)
* fixes

* changes

* fixes #886, adjusts sidebar styling to match navigation dropdown, move nav dropdown and sidebar dropdowns into common placeholder
2019-06-12 15:58:02 -04: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
Andrew Nicolaou
528f57ad0c Removes the createProject IDE action as it's not used (#1097) 2019-06-11 17:47:14 -04:00
siddhant
8caeb0d439 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-11 17:47:14 -04:00
Cassie Tarakajian
6f1b6fd51c 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-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
60a3197621 Removes the createProject IDE action as it's not used (#1097) 2019-06-11 17:29:42 -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
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
7b0d128082 Uses colours from design style guide 2019-06-11 16:24:26 -04:00
Andrew Nicolaou
a6d7ea409a Unifies button styles for forms and app 2019-06-11 16:24:26 -04:00
Andrew Nicolaou
ac1afd53ef Increases modal width to match design 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
067adb0052 Makes form CSS theme-aware 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
Andrew Nicolaou
e210d8ce06 Adds themed table-row-stripe colour to be used globally 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
Andrew Nicolaou
89babdc8c0 Update test snapshots 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
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
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
Abhishek Kumar
76e4363705 Dialog fixes (#1043)
* Dialog fixes

* Dialog Alignmet Fixed
2019-05-01 14:17:55 -04:00
Ankur Ingale
07b55d7ee4 Fixed Issue #896 (#1049) 2019-04-30 17:44:41 -04:00
Nimish Agrawal
705dd5c796 Focus on find input (#1044) 2019-04-30 17:24: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
Cassie Tarakajian
c3de0512cc fixes #1005, squashed commits from @plxity and @catarak 2019-04-17 17:05:55 -04:00
Cassie Tarakajian
a4e2ce178d
fixes #1040 (#1042) 2019-04-17 16:51:58 -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
Ankur Ingale
94eb6f1ac9 Fixed Issue #978 (#1015)
* Fixed Issue #978

* Added more keywords
2019-04-12 12:59:06 -04:00
Cassie Tarakajian
5abf4c4e06
fixes #1026 (#1028) 2019-04-11 16:25:37 -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
siddhant
7ef34e8f59 Since uploader was not present in the imports , the styles were not showin up (#946)
* fixed styles not showing up

* Added theme support

* Fixed Styles

* Fixed styles

* Refactor
2019-04-02 15:10:49 -04:00
progfay
276f115d3f set default theme value (light) (#1001) 2019-03-28 16:53:22 -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
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
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
Cassie Tarakajian
c1ba5cb072 revert overlay max-height 2019-03-26 15:51:55 -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
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
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
Gaurang Tandon
2c876cda45 fixes #906 (#931) 2019-03-20 17:53:03 -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
Abhishek Kumar
e2a6b4595b CSS Fixes (#920) 2019-03-20 12:52:00 -04:00
Abhishek Kumar
0eea37e72a Fixing Spelling Mistake (#913)
* Fixing typos

* Fixed Spellings
2019-03-20 12:43:38 -04:00
nik72619c
0095e96c62 Merge branch 'master' of https://github.com/processing/p5.js-web-editor 2019-03-17 23:44:27 +05:30
Nikhil Sharma
52291c69f2
fixed non-optimal function declarations 2019-03-17 14:49:45 +05:30
Apoorv Taneja
3d248a0573 fixed password length (#901) 2019-03-15 17:35:48 -04:00
Nimish Agrawal
f8ee62a1b5 Removes scrollbar when not needed (#892) 2019-03-15 13:00:29 -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
Cassie Tarakajian
d17364a2ce pull vendor css from node_modules, remove duplicate vendor css from client/styles/vendor 2019-03-04 15:38:14 -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