Commit graph

670 commits

Author SHA1 Message Date
Andrew Nicolaou
ed481b9a89 Don't allow Collection name to be empty 2020-01-15 12:07:08 +01:00
Andrew Nicolaou
811c88fc83 Description should be inactive color if a collection doesn't have one 2020-01-15 11:45:37 +01:00
Andrew Nicolaou
0660031a0c Make "Add sketch" copy consistent
Buttons and menu items should say "Add sketch" (singular) and titles
should say "Add to collection" as it's implied by context that it's
a sketch.
2020-01-15 10:50:17 +01:00
Cassie Tarakajian
ec7c2d1ae9
Merge pull request #1232 from amitch6097/Issue#1231
Fix p5 console being cleared on pause
2020-01-09 13:37:51 -05:00
Cassie Tarakajian
df27b36b0b Fixes #914, aligns project name and autorefresh on Mac and Windows 2020-01-08 12:33:36 -05:00
amitch6097
a1cd362780 Fix p5 console being cleared on pause
The p5 console was being cleared on pause
not allowing a user to view what was outputed
on the last run.  To fix clearConsole function
is now only called if playing.
2020-01-04 23:24:08 -05:00
Andrew Nicolaou
a5b62567ef Fix linter warnings 2019-12-11 15:56:57 +01:00
Andrew Nicolaou
4d0aa23bb8 Display Add Sketches Overlay from Collection List 2019-12-11 15:50:51 +01:00
Andrew Nicolaou
a2da26da69 Better min-width for QuickAdd views 2019-12-11 15:12:23 +01:00
Andrew Nicolaou
0c68327690 Fixed-height Overlay for QuickAdd views 2019-12-11 15:12:00 +01:00
Andrew Nicolaou
8132a029f5 Improve progress bar layout 2019-11-25 11:15:10 +01:00
Andrew Nicolaou
1056005eb6 "View" should link to sketch 2019-11-25 10:55:26 +01:00
Andrew Nicolaou
13c45490a2 Merge branch 'feature/public-api' into feature/sketch-collections 2019-11-10 22:12:14 +01:00
Andrew Nicolaou
212ad64bae Implement CollectionSearchbar in addition to SketchSearchbar 2019-11-10 21:57:11 +01:00
Andrew Nicolaou
ed1945ab4b Rename collection from collection list view 2019-11-10 20:28:13 +01:00
Andrew Nicolaou
b6e60185f7 Remove addMode code 2019-11-10 19:50:45 +01:00
Andrew Nicolaou
9ac0cc1482 Use bar chart for current size of used assets 2019-11-10 19:42:26 +01:00
Andrew Nicolaou
161725cb28 Remove popover and "add to collection" code from SketchList 2019-11-10 17:08:21 +01:00
Andrew Nicolaou
ad13684fe3 New simplified sketch list when adding from Collection view 2019-11-10 17:08:21 +01:00
Cassie Tarakajian
0d061a9dea merge in master 2019-11-07 15:03:01 -05:00
Andrew Nicolaou
08fd6b826d New simplfied collection list when adding a sketch 2019-11-05 18:23:57 +01:00
Andrew Nicolaou
18af6aed3a Show add/remove/in collection icon in SketchList 2019-11-04 22:04:38 +01:00
Andrew Nicolaou
e738221be6 Style DashboardActions below tabs 2019-11-04 20:30:24 +01:00
Cassie Tarakajian
57ecfb7e1e fixes #1206, removes titles where it is unnecesary 2019-10-31 17:27:23 -04:00
Cassie Tarakajian
846d2bb7db Merge branch 'feature/public-api' into feature/sketch-collections 2019-10-31 15:02:31 -04:00
Cassie Tarakajian
28356a9318 remove view column from asset list, add when clicking on asset row, opens asset in new tab 2019-10-31 14:21:43 -04:00
Cassie Tarakajian
3d2a7beeb9 merge master to feature/public-api branch 2019-10-22 17:35:20 -04:00
Andrew Nicolaou
14a8f48fd5 Fix all linting errors/warnings 2019-10-21 10:35:20 +02:00
Andrew Nicolaou
59469d9f85 Remove unused code 2019-10-21 10:14:55 +02:00
Andrew Nicolaou
126bdcab72 Entire SketchList row adds/removes sketch to collection 2019-10-21 01:51:42 +02:00
Andrew Nicolaou
f928665737 Show empty state when no collections 2019-10-21 01:13:33 +02:00
Andrew Nicolaou
7e5613b2b4 Show if sketch is in collection and allow removal 2019-10-21 00:37:37 +02:00
Andrew Nicolaou
ad09ce15ab Filter collections using Searchbar 2019-10-20 23:30:06 +02:00
Andrew Nicolaou
af8d25f142 Popover component to add sketches to collection from SketchList 2019-10-20 21:59:16 +02:00
Andrew Nicolaou
edfddcc75f Export unconnected Searchbar for use elsewhere (with sketch search) 2019-10-20 21:58:13 +02:00
Andrew Nicolaou
3554fe9eb4 Show Searchbar clear button only when text is entered 2019-10-20 21:55:00 +02:00
Andrew Nicolaou
a82e079782 Delete collection from list 2019-10-20 15:31:20 +02:00
Andrew Nicolaou
3573253504 Add/Remove sketch to collection by clicking on entire row 2019-10-20 15:02:29 +02:00
plxity
01e5c1f7bb changes 2019-10-09 02:46:21 +05:30
Cassie Tarakajian
9d8be89df7
Revert "Revert "fixes #963: fixes bug in which files/folders would get added to"" 2019-10-08 16:39:47 -04:00
Cassie Tarakajian
6a29bd4ce9
Revert "fixes #963: fixes bug in which files/folders would get added to" 2019-10-07 18:23:58 -04:00
Cassie Tarakajian
3d9507b7ef re #1177: increase autorefresh time period to 1000ms 2019-10-03 16:16:54 -04:00
Cassie Tarakajian
3360c7c799 fixes #963: fixes bug in which files/folders would get added to selected file (or root), rather than the file that you opened the popover from 2019-10-03 15:51:34 -04:00
Cassie Tarakajian
c925da8c17 re #1067, remove lingering commented-out code 2019-10-02 16:48:33 -04:00
Cassie Tarakajian
81a76a1529 re #1067, when a line or lines are highlighted, tab will indent them 2019-10-02 16:40:52 -04:00
Andrew Nicolaou
c84f590290 Fix eslint errors 2019-10-02 17:37:08 +03:00
Cassie Tarakajian
02f4cb23b4 fixes #1162, fixes #1118 2019-09-26 16:17:22 -04:00
Andrew Nicolaou
27804acd6a Add sketch to collection from collection view 2019-09-25 12:09:31 -04:00
Andrew Nicolaou
60ec67804b Remove logging 2019-09-25 12:07:18 -04:00
Andrew Nicolaou
2a0a5601ee Display icon-based add/remove button in Collection List 2019-09-25 12:07:18 -04:00
Andrew Nicolaou
679304d0ab Do not empty table when fetching new data 2019-09-25 12:07:18 -04:00
Andrew Nicolaou
c288481476 Shorten date displayed in Collection List items for better layout 2019-09-25 12:07:18 -04:00
Andrew Nicolaou
959ff3ef20 Splits CollectionList into smaller files 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
8781036ac7 WIP Display collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
521e117d95 EditableInput component 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
c57ead4c62 Create Collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
6ca6e78a28 Displays existing collection
- List all collections for a given user
- View an individual collection
- Link to a sketch from a collection
2019-09-25 12:06:07 -04:00
Cassie Tarakajian
5c54983c24 add searchbar to sketches dashboard view, adjust sketch list and asset list styling to have sticky header 2019-09-24 17:52:45 -04:00
Cassie Tarakajian
7f2529a973 merge master 2019-09-11 19:05:15 -04:00
Rick Brown
5695830361 add ability to toggle line numbers to accessibility settings. Fixes #1138 (#1146)
* Added SET_LINE_NUMBERS constant

* Added setLineNumbers()

* Added lineNumber prop

* Added functionality to Preferences

* Passing props

* handle case SET_LINE_NUMBERS

* add lineNumber default value to the schema
2019-08-30 12:36:34 -04:00
Cassie Tarakajian
8054a532d7
Update to webpack 4 (#1145)
* remove some of the react errors, start to fix webpack HMR errors

* start upgrade to webpack 4

* more stuff to update webpack

* update webpack configs to work with webpack 4

* remove linting from truncate script
2019-08-28 16:08:40 -04:00
Jon Paul Gualdarrama
68c1e48c99 Fix Issue #588. Only highlight runtime errors at the appropriate line… (#1136)
* Fix Issue #588. Only highlight runtime errors at the appropriate line for file in which the error occurred.

* Modifications to handle js in html <script> tag Part 1

* Correctly highlight errors in JavaScript in a <script> tag
2019-08-27 13:02:07 -04:00
Apoorv Taneja
aa318e0d2d fixed (#1141) 2019-08-22 16:47:22 -04:00
raclim
3d779734c3 Searchbar (#1132)
* search bar function

* Fixes #231, adds searchbar to sketchlist

* Fixes #231, update requested changes to searchbar

* Fixes #231, reset search term after modal closed
2019-08-21 14:08:08 -04:00
Apoorv Taneja
07a225c161 Fixed input field (#1130)
* fixed

* fixed

* fixed
2019-08-13 12:27:31 -04:00
Cassie Tarakajian
25151e76ee re: #524, slugify example titles so that they can have a permanent link 2019-08-09 13:07:56 -04:00
Cassie Tarakajian
d64498ef1f
RE #168, Feature/asset totalsize limit (#1123)
* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui

* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui

* update asset list copy to remove limit, since that's not implemented yet
2019-07-24 12:55:58 -04:00
siddhant
a851eda254 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-07-22 17:34:26 -04:00
Laksh Singla
bfef3e93dc 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-07-22 17:32:55 -04:00
siddhant
d7837a62be 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-07-22 16:16:17 -04:00
Cassie Tarakajian
d4914983a4 prevent users from adding extension to folder name 2019-07-22 16:09:11 -04:00
Rachel Lim
1dd723cb9f for 989, updated folder cannot be renamed to empty string 2019-07-22 16:09:11 -04:00
Rachel Lim
b94ca8a52d for #989, files cannot be renamed to empty string 2019-07-22 16:09:11 -04:00
Laksh Singla
c3856480b8 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-07-22 16:09:11 -04:00
Cassie Tarakajian
0206148b65 fixes #924 (#1107) 2019-07-22 16:09:11 -04:00
Cassie Tarakajian
3c190874da 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-07-22 16:09:11 -04:00
Cassie Tarakajian
38e5022661 fixes #945 (#1102) 2019-07-22 16:07:37 -04:00
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
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
Andrew Nicolaou
2854aa9235 Extracts tabs into reusable CSS 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
18239eb2e0
fixes #1065, checks if cmController.getContent is defined (#1071) 2019-05-10 18:26:48 -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
Ankur Ingale
07b55d7ee4 Fixed Issue #896 (#1049) 2019-04-30 17:44:41 -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
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
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
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
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
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
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
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
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
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
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
Meru Patel
7777e25990 minor changes 2018-09-14 22:14:41 +05:30
Meru Patel
80d77a6860 scalable svg icons 2018-09-14 13:41:38 +05:30
Meru Patel
d3be437dce size related changes 2018-09-13 23:44:58 +05:30
Meru Patel
b8f43dec78 variable added 2018-09-13 21:20:07 +05:30
Meru Patel
28e7425fb8 small error fix 2018-09-13 07:42:50 +05:30
Meru Patel
2f48413b08 explanation removed 2018-09-13 07:37:43 +05:30
Meru Patel
f2c32e89a6 variable name change 2018-09-13 07:30:19 +05:30
Meru Patel
c676fae7bf lint error fix 2018-09-12 10:54:05 +05:30