Commit graph

710 commits

Author SHA1 Message Date
ghalestrilo
24a26c16c2 🧹 remove needless imports 2020-07-20 19:08:03 -03:00
ghalestrilo
556c9d15fe 🐛 fix console not opening/closing 2020-07-20 19:02:30 -03:00
ghalestrilo
234c4ffe14 🐛 fix broken useState 2020-07-20 18:37:50 -03:00
ghalestrilo
9e95517f70 🚧 refactor <Consle /> to hooks 2020-07-20 17:56:35 -03:00
ghalestrilo
9447bb5754 ♻️ remove getConsoleFeedStyle from Console 2020-07-17 16:52:45 -03:00
ghalestrilo
d3f7d3de39 ♻️ refactor <Console /> to use hooks 2020-07-17 16:33:15 -03:00
ghalestrilo
0c0fceee1a 🧹 remove console props from MobilePreview 2020-07-15 18:26:34 -03:00
ghalestrilo
dd1141bfbc 🚧 connect <Console /> 2020-07-15 18:17:01 -03:00
Cassie Tarakajian
97c3b3549c
Merge pull request #1490 from ghalestrilo/fix/mobile-crash-on-leave-preview
Fixes #1487
2020-07-06 15:20:39 -04:00
Cassie Tarakajian
67e132d4eb Merge branch 'develop' into chore/split-test-runners 2020-07-06 12:38:22 -04:00
ov
b05d1b1a02
Prototype with proposed i18n architecture (#1478)
* Branch with i18n functionality
* Translation files with new entries
* includes Loader in index.jsx
* Uses WithTranslation In Nav
* New Namespace
* Shortcuts Modal Complete
* Preferences complete
* About overlay title translated
2020-07-06 11:36:45 +02:00
ghalestrilo
835a553bf9 🐛 <PreviewFrame /> check for own iframe body tag before unmounting it 2020-07-03 14:40:20 -03:00
Cassie Tarakajian
ff658c75ff
Merge pull request #1467 from ghalestrilo/feature/mobile-sketch-view
Mobile Sketch Preview Screen
2020-07-01 16:41:43 -04:00
ghalestrilo
3143cc34c7 👌 change IconButton structure 2020-07-01 15:52:23 -03:00
ghalestrilo
c39211d472 👌 remove linter comment 2020-06-29 14:49:15 -03:00
ghalestrilo
1eb1bff776 👌 remove debugger comment 2020-06-29 14:46:35 -03:00
Andrew Nicolaou
9d55fa378a Use testing-library instead of enzyme for tests 2020-06-28 15:44:00 +02:00
Dan Hoizner
0f3eab743d replace quoted file path to avoid name conflicts in filename and folder nesting. 2020-06-25 02:11:32 -04:00
ghalestrilo
597cb9baf9 strech preview canvas to full-width on demand 2020-06-19 17:50:21 -03:00
ghalestrilo
776c3d2caf ♻️ refactor call to PreviewFrame#renderSketch 2020-06-19 15:55:37 -03:00
ghalestrilo
a11bc44634 render sketch 2020-06-19 15:27:11 -03:00
Cassie Tarakajian
fb7b3eaef4 [#1443] Add 'allow-downloads' to iframe sandbox 2020-06-15 13:14:48 -04:00
Andrew Nicolaou
65aefcd45b Replace getConfig helper to read value from process.env 2020-06-08 11:46:38 +02:00
Cassie Tarakajian
b2877f4b3a
Merge pull request #1438 from tirtawr/add-keyboard-shortcut-note
Add keyboard shortcut note
2020-05-28 16:47:10 -04:00
Cassie Tarakajian
6384c63348 Fixes #1386 - Add headers to keyboard shortcut modal, add styling to keyboard commands in list 2020-05-28 16:44:00 -04:00
Tirta Rachman
081b1abc85 Add keyboard shortcut note 2020-05-26 17:48:47 -04:00
Cassie Tarakajian
1dcdfd39db
Merge pull request #1244 from andrewn/feature/storybook
Storybook for component development
2020-05-26 16:21:30 -04:00
Cassie Tarakajian
67f9824642
Merge pull request #1410 from ghalestrilo/test/file-node
Write tests for name verification logic (<ToolBar />, <FileNode />)
2020-05-22 14:12:31 -04:00
Cassie Tarakajian
a0cb035dd4 Add <main> to all pages, add semantic HTML updates 2020-05-19 15:34:00 -04:00
Cassie Tarakajian
148ab78466 Resolve merge conflicts with master 2020-05-07 19:12:44 -04:00
Cassie Tarakajian
cee22c3277 Move through svg icons and add aria labels 2020-05-06 14:43:46 -04:00
Cassie Tarakajian
8bf4008c51 Migrate from React-InlineSVG to SVGR 2020-05-06 14:43:46 -04:00
Andrew Nicolaou
4f1b9e3700
Fix bug when switching collection or sketch lists (fixes #1401) (#1416)
* Update sketch/collection list when URL changes (fixes #1401)

Using the username as the key prop causes the List component to remount
when the username changes. This means we don't have to bother resetting
everything when the user changes.

* Update deprecated SketchList lifecycle methods

From componentWillReceiveProps to componentDidUpdate
2020-05-03 22:51:01 +02:00
Andrew Nicolaou
70fe492bbf Merge branch 'master' into feature/storybook-components 2020-05-03 12:12:41 +02:00
ghalestrilo
914e48b099 🐛 fix problem with name exports 2020-05-01 13:17:59 -03:00
ghalestrilo
90b11844c5 ♻️ export unconnected Toolbar for testability 2020-04-30 13:14:41 -03:00
Cassie Tarakajian
d768df040b Adjust styling of find setting switches, update button styling for new file and new folder form 2020-04-28 17:31:27 -04:00
Cassie Tarakajian
ad77cd8218 Update high contrast console theme 2020-04-27 17:47:28 -04:00
Andrew Nicolaou
6465a307b3 Convert New File/Folder to use Button 2020-04-26 11:52:12 +02:00
Cassie Tarakajian
2c9fd982d0 Handle whitespace in file name validation 2020-04-16 16:22:59 -04:00
Cassie Tarakajian
72622df155 Remove upload option from Sidebar if not authenticated 2020-04-16 16:16:19 -04:00
Cassie Tarakajian
41637d2837 Move handleUploadClick from inline function, prevent user from uploading to folder if not authenticated 2020-04-16 16:08:51 -04:00
Cassie Tarakajian
9185447168 Merge master to fix/rename-file-set-unsaved 2020-04-16 15:59:09 -04:00
Cassie Tarakajian
6bf303dfe7 Refactor FileNode.jsx to remove inline functions and match React functional best practices 2020-04-16 15:53:32 -04:00
ghalestrilo
fe9d75be8e 🐛 fix filename allowing empty/invalid strings 2020-04-16 13:08:30 -03:00
ghalestrilo
c4d52457e5 write test file for <FileNode /> 2020-04-16 13:03:21 -03:00
ghalestrilo
ddec33270e 👌 undoing changes, fixing call duplication on FileNode#updateFilename 2020-04-16 10:56:02 -03:00
Cassie Tarakajian
46a8d60c63
Merge pull request #1287 from shakti97/shortcut-toggle-console
Added Shortcut Toggle Console
2020-04-15 15:48:31 -04:00
Cassie Tarakajian
5b63410812
Merge pull request #1365 from shakti97/trim-query
fix(trim query before search)
2020-04-14 19:01:19 -04:00
Cassie Tarakajian
f93328db57 Fixes #1353 - Multiple sketches added to collection from quick add list 2020-04-10 17:01:40 -04:00
ghalestrilo
1b083fe54b 👌 move filename change tracking logic to FileNode component state 2020-04-10 13:42:33 -03:00
shakti97
0f8b489af2 added toggle console keyboard shortcut to keyboard shortcut overlay 2020-04-10 12:03:22 +05:30
shakti97
ebe53c83f9 fix(trim query before search) 2020-04-10 10:53:27 +05:30
Cassie Tarakajian
4eda1654c5
Merge pull request #1283 from shakti97/sidebar-shortcut
Feature sidebar toggle shortcut
2020-04-09 16:39:15 -04:00
Cassie Tarakajian
31ca964bb7 Fixes #1361 - upload option missing for folder 2020-04-08 16:18:10 -04:00
ghalestrilo
55a3d1a66b Merge branch 'master' of https://github.com/processing/p5.js-web-editor into fix/rename-file-set-unsaved 2020-04-07 20:42:15 -03:00
ghalestrilo
5df76c249a 🚧 refactor updateFileNmae to thunk, add updatedName param 2020-04-07 20:04:00 -03:00
ghalestrilo
7d05aa78e3 🚧 create updatedName field in files reducer 2020-04-07 19:47:51 -03:00
Cassie Tarakajian
1652d9e158 Fixes #1349 2020-04-07 17:03:19 -04:00
Cassie Tarakajian
e1a3bf2583 Fixes #1311 2020-04-06 12:46:17 -04:00
shakti97
a8c4cf66b0 Added Sidebar toggle shortcut in keyboard shortcut overlay 2020-04-05 13:41:24 +05:30
Cassie Tarakajian
d348f79d2a Add ref to focus in Collection List, handle whitespace errors in renaming sketch and collection 2020-04-02 17:52:04 -04:00
Cassie Tarakajian
47458ae601 Re-add ref in jsx removed in merge conflict 2020-04-02 17:27:58 -04:00
Cassie Tarakajian
038ae553f4 Merge master 2020-04-02 17:16:06 -04:00
Cassie Tarakajian
f6cc77cd70 Merge master 2020-04-02 15:37:13 -04:00
Shakti Singh
eeb7e345f3
Fix project name blank issue (#1271)
* Fix project name blank issue

* Change length check from !length to length === 0
2020-04-01 13:47:08 -04:00
Cassie Tarakajian
c29e4a1c52 Close new file modal on enter, update upload limit selector to handle undefined case 2020-03-24 18:07:58 -04:00
Cassie Tarakajian
1107f7352a Add changes for asset upload limit, after cherry-picking changes from asset-limit-with-lambda 2020-03-03 16:33:52 -05:00
Cassie Tarakajian
59fe175ede Fix merge conflict for cherry picking 11833e9880257fe8164331689f77f8aa11df6a2a 2020-03-03 14:45:02 -05:00
Cassie Tarakajian
0cde29e56d re #168, get asset deletion route to work, update options dropdown on asset list 2020-03-03 14:43:23 -05:00
Cassie Tarakajian
7c1aa2e589 Fix merge conflicts for cherry picking 0bac332a9eb360978e686d6be8bff92f0fa1740c 2020-03-03 14:42:51 -05:00
Cassie Tarakajian
b8fb51d283 Fix merge conflict for cherry-picking 0b8e78df3a0c49d5dcf706b1c26346da3dcc0bc4 2020-03-03 14:04:14 -05:00
Cassie Tarakajian
5654ed1922 Merge branch 'master' into feature/public-api 2020-03-03 12:49:32 -05:00
nik72619c
ab673fe771 Fix focus not coming on clicking on the rename option for a sketch, inside the Sketch Modal 2020-02-28 01:57:28 +05:30
Cassie Tarakajian
e776bc0ac0 Upgrade node version to 12.16.1, update Node installatino docs 2020-02-25 17:14:50 -05:00
shakti97
f13b9dcbbc fix redundant search button issue 2020-02-25 23:22:52 +05:30
Cassie Tarakajian
2ce36bef6f Update UX of Quick Add List: when clicking on row/hovering on row, can add/remove sketch/collection 2020-02-11 16:16:43 -05:00
Cassie Tarakajian
1ef4b66727 Fix PropType Errors 2020-02-04 18:40:54 -05:00
Cassie Tarakajian
01665fde54 Merge branch 'master' into feature/public-api 2020-02-04 18:04:00 -05:00
Cassie Tarakajian
69f26c12ea
Merge pull request #1240 from ashu8912/cursor-pos-final
fixed cursor position on tidy
2020-02-03 18:00:17 -05:00
Cassie Tarakajian
294b297d49 Fix linting and prop type errors 2020-01-29 12:31:33 -05:00
ashu8912
5891b3b77a removed console.log 2020-01-29 16:12:08 +05:30
Cassie Tarakajian
954d632276 Merge master 2020-01-28 18:07:07 -05:00
Cassie Tarakajian
737522dc7c Run npm upgrade to update many outdated packages 2020-01-28 17:47:12 -05:00
amitch6097
b02eef0a88 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-28 16:56:44 -05:00
Cassie Tarakajian
4714af9899 Fixes #914, aligns project name and autorefresh on Mac and Windows 2020-01-28 16:56:44 -05:00
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
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
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