Commit graph

942 commits

Author SHA1 Message Date
ashu8912
8545a3b7ce removed console.log 2020-01-26 12:47:37 +05:30
ashu8912
5937af22f3 changed setImmediate with setTimeout 2020-01-26 02:55:07 +05:30
ashu8912
08f1c52f96 Fixed Indentation on setCursor 2020-01-25 18:30:17 +05:30
Andrew Nicolaou
8087a3fcb3 Revert "Make navigation back to Collection List more obvious"
This reverts commit 740401d18b.
2020-01-15 18:10:51 +01:00
ashu8912
5abb3a5586 fixed cursor position on tidy 2020-01-15 17:50:00 +05:30
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
Andrew Nicolaou
903550b41c Collection owner's username links to their sketches page 2020-01-15 10:45:50 +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
b8d47c60b7
Merge pull request #1230 from gabrielsroka/patch-2
Update IDEView.jsx
2020-01-09 13:09:17 -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
Gabriel Sroka
dabcccc494
Update IDEView.jsx
`<Overlay...` has a default `title` of `'Modal'`
https://github.com/processing/p5.js-web-editor/blob/master/client/modules/App/components/Overlay.jsx#L102

many modals are missing a title, so i added some. i made them basically the same as the `ariaLabel` (but capitalized, changed `-` to ` `, etc)
2019-12-29 15:43:06 -08: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
740401d18b Make navigation back to Collection List more obvious 2019-12-11 14:57:19 +01:00
Andrew Nicolaou
20c2c6c38b Merge branch 'feature/sketch-collections' of https://github.com/andrewn/p5.js-web-editor into feature/sketch-collections 2019-12-11 11:37:10 +01:00
Cassie Tarakajian
001a30f140 potentional option for collection sharing 2019-12-10 18:34:37 -05:00
Cassie Tarakajian
91511aa460 remove p5.dom from default files as it's been integrated into p5 core library 2019-12-05 14:08:36 -05:00
Cassie Tarakajian
03fde3f0b5 update default version of p5.js to 0.10.2 2019-12-04 14:46:38 -05:00
Andrew Nicolaou
387cec1988 Merge branch 'feature/sketch-collections' of https://github.com/andrewn/p5.js-web-editor into feature/sketch-collections 2019-11-25 21:51:14 +01:00
Andrew Nicolaou
4f7c9f24b8 Rename import to match file name 2019-11-25 21:19:22 +01:00
Andrew Nicolaou
ce1c389505 Use same remove icon as in QuickAdd panel 2019-11-25 19:55:39 +01:00
Cassie Tarakajian
5319bbbeb7 merge master into sketch collections, to include updating theming 2019-11-25 10:46:28 -05:00
Andrew Nicolaou
df44a6223f Remove sketch from collection via icon button 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
1d4771e10f Show placeholder label when Collection has no description 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
0d1a4d25f6 Keep theme in sync with state across the app 2019-11-25 13:38:58 +01:00
Andrew Nicolaou
8132a029f5 Improve progress bar layout 2019-11-25 11:15:10 +01:00
Andrew Nicolaou
8adb1347ba Merge branch 'feature/sketch-collections' of https://github.com/andrewn/p5.js-web-editor into feature/sketch-collections 2019-11-25 10:55:30 +01:00
Andrew Nicolaou
1056005eb6 "View" should link to sketch 2019-11-25 10:55:26 +01:00
Cassie Tarakajian
b751353243 collections: add styling changes for dashboard pages 2019-11-14 16:01:33 -05: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
ff86e45e0a Put border around lists 2019-11-10 19:35:44 +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
Stalgia Grigg
e79ab18a0c Add content-type to assets uploaded to s3 2019-10-21 12:54:56 -07: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
935dd12520 Add sketch Searchbar when displaying modal in Collection view 2019-10-21 02:06:06 +02:00
Andrew Nicolaou
5611d32653 Allow extra elements to be injected into Overlay header 2019-10-21 02:05:35 +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
7137c7bd73 Increase hit area of dashboard switcher tabs 2019-10-21 00:49:59 +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
36f305e2e7 Fix bug where "empty" view is shown when loading 2019-10-20 17:21:28 +02:00
Andrew Nicolaou
45dbb8ec8b Remove sketch from collection view page 2019-10-20 15:50:41 +02:00
Andrew Nicolaou
4c5e62bce8 Remove "Add sketches" link as it have been replaced by primary button 2019-10-20 15:33:02 +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
Andrew Nicolaou
c981bc8b04 Fixes collection metadata spacing when user is not the owner 2019-10-03 19:39:23 +03:00
Andrew Nicolaou
cf9a6013a4 Share and Add Sketch button copy 2019-10-03 19:39:23 +03:00
Andrew Nicolaou
bcebc070a6 Collection Add Sketch and Share buttons 2019-10-03 07:41:57 +03: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
fc02f49d93 Fix layout of Searchbar in IDEView 2019-10-02 18:17:52 +03:00
Andrew Nicolaou
38f13c2047 Remove modals from IDEView now that they are part of DashboardView 2019-10-02 18:17:32 +03:00
Andrew Nicolaou
ec32eb1262 Collection Create is a modal 2019-10-02 18:01:52 +03: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
Cassie Tarakajian
067e065c1b update nav on collection view 2019-09-25 13:20:49 -04:00
Cassie Tarakajian
e2f8fe7e81 fix merge conflicts 2019-09-25 12:14:52 -04:00
Andrew Nicolaou
0f3ce8e3a2 Collection metadata area layout improvements 2019-09-25 12:10:47 -04:00
Andrew Nicolaou
f5356007d3 Enable collection and sketch to be created from dashboard page 2019-09-25 12:10:47 -04:00
Andrew Nicolaou
27804acd6a Add sketch to collection from collection view 2019-09-25 12:09:31 -04:00
Andrew Nicolaou
7f78fda073 Fix sketch list padding in collection view 2019-09-25 12:07:18 -04:00
Andrew Nicolaou
7a1fa663af Edit sketch name/description 2019-09-25 12:07:18 -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
20a5ac5ec3 Show toast message when creating collection or adding/removing sketches 2019-09-25 12:07:17 -04:00
Andrew Nicolaou
f98919e69b Logged in user can use "Add to collection" menu item 2019-09-25 12:07:17 -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
5900e62904 unify navigation for authentication pages, add authorization to front end, fixes #650 2019-09-19 13:38:27 -04:00
Andrew Nicolaou
52e98723f5 Collection metadata area layout improvements 2019-09-18 09:10:10 +02:00
Andrew Nicolaou
a93ac48587 Enable collection and sketch to be created from dashboard page 2019-09-17 21:32:54 +02:00
Andrew Nicolaou
b980ec7854 Add sketch to collection from collection view 2019-09-17 20:48:37 +02:00
Andrew Nicolaou
709aa8eccb Fix sketch list padding in collection view 2019-09-16 23:13:20 +02:00
Andrew Nicolaou
8b058d8e56 Edit sketch name/description 2019-09-16 23:05:24 +02:00
Andrew Nicolaou
d2ec6864fb Remove logging 2019-09-16 21:57:32 +02:00
Andrew Nicolaou
5011c1f002 Display icon-based add/remove button in Collection List 2019-09-16 21:50:44 +02:00
Cassie Tarakajian
7f2529a973 merge master 2019-09-11 19:05:15 -04:00
Cassie Tarakajian
f09e743e92
Merge pull request #1143 from andrewn/feature/standalone-sketches
Standalone sketches and asset page (fixes #1142)
2019-09-11 16:52:39 -04:00
Andrew Nicolaou
a0384f166a Do not empty table when fetching new data 2019-09-11 21:13:34 +02:00
Andrew Nicolaou
125051ccb1 Use Nav with user menu in "dashboard" layout 2019-09-11 20:11:46 +02:00
Andrew Nicolaou
fef4bd8d71 Shorten date displayed in Collection List items for better layout 2019-09-11 20:06:08 +02:00
Andrew Nicolaou
c575559272 Show toast message when creating collection or adding/removing sketches 2019-09-09 18:53:54 +02:00
Andrew Nicolaou
55e6b3162d Logged in user can use "Add to collection" menu item 2019-09-09 18:53:21 +02:00
Andrew Nicolaou
3dbaa900a4 Splits CollectionList into smaller files 2019-09-09 18:52:14 +02:00
Andrew Nicolaou
2df3670dc4 WIP Display collection 2019-09-08 19:24:02 +02:00
Andrew Nicolaou
1c97152533 EditableInput component 2019-09-08 18:57:57 +02:00
Andrew Nicolaou
dcf65c6f46 Create Collection 2019-09-08 18:06:16 +02:00
Andrew Nicolaou
d02a413bf3 Displays existing collection
- List all collections for a given user
- View an individual collection
- Link to a sketch from a collection
2019-09-08 17:24:46 +02:00
Andrew Nicolaou
8ac95c0084 SketchList and AssetList set page title 2019-09-08 17:10:48 +02:00
Andrew Nicolaou
0ae7a9eebb Display Access Token tab depending on UI_ACCESS_TOKEN_ENABLED feature flag (#1149) 2019-09-08 16:45:59 +02:00
Andrew Nicolaou
7ea4ae5637 Fix linting errors and warnings 2019-09-08 16:43:16 +02:00
Cassie Tarakajian
a155e7638d
re #1153: fix bug in which login form was in invalid state if user had entered username or password incorrectly on the first try (#1155) 2019-09-06 13:30:06 -04:00
Andrew Nicolaou
162d5276f1 Display Access Token tab depending on UI_ACCESS_TOKEN_ENABLED feature flag (#1149) 2019-08-30 16:15:13 -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
Andrew Nicolaou
0193ee8297 Standalone sketch list and asset page 2019-08-24 13:37:55 +02:00
Andrew Nicolaou
1b461d33cf Do not set prevPath if navigation passes through skipSavingPath flag 2019-08-24 13:31:15 +02: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
8dada77ce5
fixes #1121, updates p5.js default to 0.9.0 (#1125) 2019-07-29 12:58:00 -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
Apoorv Taneja
4c1ebdf83d Email Validation added (#1120)
* changes

* changes

* changes

* changes

* changes
2019-07-23 14:16:05 -04:00
Cassie Tarakajian
443232380c fix errors from rebase, again 2019-07-22 17:52:19 -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
Vertmo
a10e0f0327 You can now generate keys from the advanced settings interface 2019-07-22 17:33: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
Cassie Tarakajian
ab7ecfc012 fix lingering errors from rebase 2019-07-22 17:22:36 -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
Andrew Nicolaou
e77cbf4fa3 Changes API_KEY_REMOVED action constant to match API_KEY_CREATED 2019-07-22 16:14:51 -04:00
Vertmo
64caab0702 You can now generate keys from the advanced settings interface 2019-07-22 16:13:59 -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