Commit graph

1599 commits

Author SHA1 Message Date
Sai Jatin K
d99afcccc5
changed syntax of top level functions 2020-06-30 01:57:31 +05:30
Cassie Tarakajian
dab315cf1c
Merge pull request #1469 from saijatin28/bugfix-collections_#sketchesSorting
bugfix Collections Sorting - # of sketches is incorrect #1441
2020-06-29 16:02:07 -04:00
ghalestrilo
78ec304e15 👌 remove eslint-disable 2020-06-29 14:51:40 -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
ghalestrilo
75bd5a3920 👌 remove eslint-disable 2020-06-29 14:45:17 -03:00
ghalestrilo
ebb952527c 👌 move icons to common/icons 2020-06-29 14:40:54 -03:00
ghalestrilo
ec8566feee 👌 remove empty useEffect 2020-06-29 14:32:37 -03:00
ghalestrilo
7604e27c40 👌 mark comment on routes.jsx as TODO 2020-06-29 14:30:34 -03:00
Andrew Nicolaou
0e1bb3bd44 Allow deleted sketches in collections to be removed (fixes #1465) 2020-06-29 11:39:35 +02:00
Andrew Nicolaou
9d55fa378a Use testing-library instead of enzyme for tests 2020-06-28 15:44:00 +02:00
Andrew Nicolaou
840e27b3fd Split client and server tests into separate Jest "projects"
- server tests now use the "node" jest environment, removing the
  mongoose warning
- both projects can use their own jest.setup.js file
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
3ba1b26281 add accessibility settings 2020-06-23 17:27:43 -03:00
ghalestrilo
1f69786aaa add accessible output settings 2020-06-23 17:15:59 -03:00
ghalestrilo
a9c17b5267 create settings section header component 2020-06-23 17:03:51 -03:00
ghalestrilo
181e832bfd 💄 fix options styling 2020-06-23 16:45:35 -03:00
ghalestrilo
ad3db32fa3 🐛 fix settings text color 2020-06-23 16:18:34 -03:00
ghalestrilo
167bbe88a0 Navigation to Settings Screen 2020-06-23 15:54:09 -03:00
Sai Jatin K
e057d717c1
feature show toast for project save failure #1393 2020-06-23 22:11:10 +05:30
ghalestrilo
b27ee57aee 🚧 connect MobileSettings 2020-06-22 21:06:40 -03:00
ghalestrilo
c8b3da90e8 ♻️ rename IDEViewMobile to MobileIDEView 2020-06-22 15:10:20 -03:00
Sai Jatin K
6a429cc3f0
Refactored getTitle and isUserOwner #1458 2020-06-20 20:01:15 +05:30
Sai Jatin K
1f342b72f3
bugfix Collections Sorting - # of sketches is incorrect #1441 2020-06-20 14:21:51 +05:30
ghalestrilo
597cb9baf9 strech preview canvas to full-width on demand 2020-06-19 17:50:21 -03:00
ghalestrilo
0e66756600 🐛 correct projectName propType to string 2020-06-19 16:30:39 -03:00
ghalestrilo
eb3bc59382 🧹 clean up routes.js 2020-06-19 15:58:48 -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
Sai Jatin K
26bdef9a3d
Refactored getTitle and isUserOwner #1458 2020-06-19 20:18:58 +05:30
ghalestrilo
d00506a70e 🚧 mound the <PreviewFrame /> properly on Mobile Preview screen 2020-06-18 22:52:25 -03:00
ghalestrilo
123c2b0006 🔀 merge from origin/develop 2020-06-18 22:04:29 -03:00
ghalestrilo
8a067a8787 🚧 make mobile IDE screen start the sketch 2020-06-18 22:00:24 -03:00
ghalestrilo
e11756d769 🚧 correct hook call for getProject 2020-06-18 21:08:53 -03:00
Cassie Tarakajian
e5554cbc60
Delete Icons.jsx 2020-06-18 15:43:12 -04:00
Cassie Tarakajian
49526e080b
Delete Icons.stories.jsx 2020-06-18 15:43:00 -04:00
Cassie Tarakajian
a99d2b8c8b Add theming to common/icons 2020-06-18 15:34:28 -04:00
ghalestrilo
0633c3b395 🚧 mount <PreviewFrame /> on /mobile/preview 2020-06-18 16:29:46 -03:00
ghalestrilo
e5bbb53b37 🚧 create alternate content wrapper for proper top padding 2020-06-18 16:01:13 -03:00
ghalestrilo
49a9fe7819 🚧 make link to /mobile 2020-06-18 15:49:31 -03:00
ghalestrilo
5c80702d99 🚧 add MobileSketchView screen to /mobile/preview 2020-06-18 15:39:55 -03:00
ghalestrilo
81cf415740 👌 move aria-label to icon link wrapper 2020-06-18 14:21:09 -03:00
ghalestrilo
52be7ef735 👌 remove inline styles from IconLink component 2020-06-18 14:16:28 -03:00
ghalestrilo
0877d39a65 🚧 split components into files 2020-06-16 17:38:43 -03:00
ghalestrilo
bdedc63110 🚧 add icons to header 2020-06-16 17:23:49 -03:00
ghalestrilo
5aa349522a 👌 fix icon import 2020-06-16 16:52:35 -03:00
ghalestrilo
0d119aa5e7 🚧 emplace settings and play icons 2020-06-16 16:25:40 -03:00
ghalestrilo
7f8138a204 🐛 add correct verification to <Editor isUserOwner /> 2020-06-15 18:59:21 -03:00
ghalestrilo
2b179194f8 💄 fix svg margin 2020-06-15 18:52:40 -03:00
ghalestrilo
32dd85eb69 🐛 fix unused vars on IDEViewMobile 2020-06-15 18:47:08 -03:00
ghalestrilo
11adfbfca5 🚧 add button to return to main view 2020-06-15 18:34:04 -03:00
ghalestrilo
fb831f5f62 🐛 fix basic layout issues 2020-06-15 17:59:11 -03:00
ghalestrilo
f40cd4f376 🚧 mount <Editor /> component on mobile view 2020-06-15 17:46:56 -03:00
Cassie Tarakajian
b8ba3b911d
Merge pull request #1455 from ghalestrilo/feature/mobile-canvas
Create Mobile Editor Endpoint
2020-06-15 13:35:26 -04:00
ghalestrilo
96261db108 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-canvas 2020-06-15 14:20:28 -03:00
ghalestrilo
2084991290 👌 clean up comments and remove css important directive 2020-06-15 14:18:25 -03:00
Cassie Tarakajian
fb7b3eaef4 [#1443] Add 'allow-downloads' to iframe sandbox 2020-06-15 13:14:48 -04:00
Cassie Tarakajian
b805754d04
Merge pull request #1452 from andrewn/chore/config-handler
Helpers for config and API client
2020-06-15 12:55:41 -04:00
Andrew Nicolaou
6d90dd2071 Do not log in test environment 2020-06-13 12:51:26 +02:00
ghalestrilo
cdf11971c4 🧹use <Link /> instead of <a /> 2020-06-12 16:36:31 -03:00
ghalestrilo
7dc10ab682 make environment variable-based switch for /mobile route 2020-06-12 16:09:30 -03:00
Cassie Tarakajian
19cc0fabee
Merge pull request #1448 from SebasMag/short-js-names
Fixed a bug that appears on preview due to short file name
2020-06-10 15:11:35 -04:00
ghalestrilo
327406ea31 ⛏ create mobile screen stub 2020-06-09 17:35:06 -03:00
ghalestrilo
95986a2df6 ⛏ create uri method for bypassing the mobile screen 2020-06-09 17:08:14 -03:00
ghalestrilo
ca0d953b80 ⛏ create basic header and footer components 2020-06-09 16:51:57 -03:00
ghalestrilo
cb2f42dc50 ⛏ switch to mobile screen by window width 2020-06-09 16:29:38 -03:00
Andrew Nicolaou
a225d28f75 Use apiClient instance instead of directly calling Axios
Reduces the amount of duplication and provides a single place where
we can configure base URL, crendentials and other headers
2020-06-08 12:31:30 +02:00
Andrew Nicolaou
65aefcd45b Replace getConfig helper to read value from process.env 2020-06-08 11:46:38 +02:00
Andrew Nicolaou
3502844029
Fix issue with fullscreen not appearing (#1451) 2020-06-08 10:50:58 +02:00
Sebas Maagnaldii
0edaa5f555 Fixed a bug that appears on preview when a .js file has a 2 or less name length 2020-06-05 02:51:58 -03: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
Cassie Tarakajian
0eb48977ee Fixes #1402 - Add Social Auth buttons to LoginView 2020-05-28 14:46:44 -04:00
Cassie Tarakajian
90195f4dd0
Merge pull request #1436 from processing/slug-api-endpoint
Fixes #1409 - adds username to url when fetching sketch from editor API
2020-05-28 13:39:29 -04:00
Cassie Tarakajian
b562173c3b Merge branch 'develop' into title-indexing 2020-05-26 18:22:28 -04:00
Cassie Tarakajian
d58b4dfde0 Merge branch 'develop' into slug-api-endpoint 2020-05-26 18:21:39 -04:00
Cassie Tarakajian
cd6d95a372 RE: #1244, change case of common/Icon to common/icon 2020-05-26 18:20:54 -04:00
Cassie Tarakajian
b929e77952 Fixes #1425 - Removes sketch title from <title> for unsaved, new sketch 2020-05-26 18:05:35 -04:00
Tirta Rachman
081b1abc85 Add keyboard shortcut note 2020-05-26 17:48:47 -04:00
Cassie Tarakajian
47e798a7e6 Fixes #1409 - adds username to url when fetching sketch from editor API 2020-05-26 17:35:13 -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
7dabbc531c Change commmon/Icons to common/icons 2020-05-26 16:17:24 -04:00
Andrew Nicolaou
161ac5b3eb Remove duplicate aria-labels 2020-05-26 18:36:07 +02: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
9d68de8dd2 Update Button component with iconBefore and iconAfter, clean up Icons component 2020-05-19 12:31:36 -04:00
Cassie Tarakajian
f359dcec4a Separate Icons from Button component 2020-05-11 16:28:18 -04:00
Cassie Tarakajian
6d749615cc Start integrating accessibility changes to storybook feature 2020-05-09 00:52:48 -04:00
Cassie Tarakajian
148ab78466 Resolve merge conflicts with master 2020-05-07 19:12:44 -04:00
Cassie Tarakajian
2c3aeee27a Update Nav snapshot with new SVG attributes 2020-05-06 17:03:20 -04:00
Cassie Tarakajian
c708af1465 Finish adding aria labels 2020-05-06 14:43:46 -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
Cassie Tarakajian
504cdc3fd4
Merge pull request #1408 from thegitone23/syntax-highlighting-script
Added script to generate and update syntax highlighting files (Fixes #1056)
2020-05-06 14:43:23 -04:00
Cassie Tarakajian
0d2d099d22 Change helper file name to p5-keywords.js 2020-05-06 14:41:08 -04:00
Cassie Tarakajian
d3117151ee
Merge pull request #1411 from shakti97/Fix-index-issue
Fix(overflow option over sticky head issue)
2020-05-06 14:19:53 -04:00
Cassie Tarakajian
45b9016385
Merge pull request #1404 from shakti97/axios-error-handling
Fix(axios error handling issue)
2020-05-06 13:02:38 -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
138bfd6065
Allow Collection list to scroll if taller than screen (#1414) 2020-05-03 17:52:43 +02:00
Andrew Nicolaou
70fe492bbf Merge branch 'master' into feature/storybook-components 2020-05-03 12:12:41 +02:00
Andrew Nicolaou
e22f8b8e74 Restructure theme file 2020-05-03 11:58:28 +02:00
ghalestrilo
914e48b099 🐛 fix problem with name exports 2020-05-01 13:17:59 -03:00
ghalestrilo
587193ae16 🔇 remove unnecessary debug 2020-05-01 11:18:14 -03:00
ghalestrilo
64ce929627 write tests for toolbar 2020-05-01 11:17:21 -03:00
ghalestrilo
90b11844c5 ♻️ export unconnected Toolbar for testability 2020-04-30 13:14:41 -03:00
ghalestrilo
3b74ef9737 add tests for filenode regardless of type 2020-04-30 12:59:41 -03:00
ghalestrilo
a307b0f84c add tests for current filename validation 2020-04-30 12:47:12 -03:00
ghalestrilo
3b2d5ba903 add tests for folder filename 2020-04-30 12:41:48 -03:00
Mayank Gautam
041a5b37e0 removed unused code from p5-javascript.js and added comment in automatically generated helper file 2020-04-30 16:00:06 +05:30
Mayank Gautam
720a897dca added script to generate and update syntax highlighting files 2020-04-30 12:17:18 +05:30
Cassie Tarakajian
a40fcd3086
Merge pull request #1403 from shakti97/Enhancement-Esc-Function
Enhancement(Esc key hide modal)
2020-04-29 12:47:02 -04:00
Cassie Tarakajian
7bd37559be Fixes #1255, make sidebar expand/contract buttonmore notceable, also adjust toolbar button colors to be WCAG AA 2020-04-28 18:01:25 -04:00
Jeremy Douglass
ead0017b86 update default version of p5.js to 1.0.1 2020-04-28 14:42:18 -07: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
4b4b31e117 Update failing tests to match new code 2020-04-28 14:52:41 -04:00
Cassie Tarakajian
bd43db1425 Add file that was accidentally unsaved 2020-04-27 19:27:19 -04:00
Cassie Tarakajian
91bf1e697f Adjust stylng of find box 2020-04-27 19:24:00 -04:00
Cassie Tarakajian
e75a977ae3 Update console-feed styles to match code editor theme 2020-04-27 19:15:17 -04:00
Cassie Tarakajian
3b62c3b3a7 Mildly adjust colors in light and dark code editing themes 2020-04-27 19:01:15 -04:00
Cassie Tarakajian
677148e538 Update code syntax and console colors 2020-04-27 18:34:53 -04:00
Cassie Tarakajian
ad77cd8218 Update high contrast console theme 2020-04-27 17:47:28 -04:00
Cassie Tarakajian
436f6c7853 Update console colors for light and dark themes 2020-04-27 17:30:55 -04:00
Cassie Tarakajian
451a05f546 Make minor adjustments in all themes 2020-04-27 16:48:55 -04:00
Andrew Nicolaou
ec1c8210a1 SVG Icon grows to container size 2020-04-27 10:20:07 +02:00
Andrew Nicolaou
a2145ad979 Inline button style (with/without icons) 2020-04-27 10:12:34 +02:00
Andrew Nicolaou
7cf3a0bea0 <Button /> supports icons directly to style hover states 2020-04-26 15:32:50 +02:00
Andrew Nicolaou
56865047fd Collection primary buttons 2020-04-26 12:43:58 +02:00
Andrew Nicolaou
6465a307b3 Convert New File/Folder to use Button 2020-04-26 11:52:12 +02:00
Andrew Nicolaou
0d8aeedd4a Convert user account pages to use Button 2020-04-26 11:40:00 +02:00
Andrew Nicolaou
428fee266b Pad internal button elements to correctly space out icons, etc. 2020-04-26 11:31:45 +02:00
shakti97
15b3fa8312 Fix(axios error handling issue) 2020-04-25 20:18:39 +05:30
shakti97
da1b06b6b2 Fix(overflow option over sticky head issue) 2020-04-25 04:09:56 +05:30
Cassie Tarakajian
edb5187e03 Update high contrast theme 2020-04-24 18:34:26 -04:00
Cassie Tarakajian
a0d6b71f21 Update dark code theme 2020-04-23 20:35:33 -04:00
Cassie Tarakajian
c6f946dbfd Adjust size of file name input, start updaing high contrast theme 2020-04-23 20:31:00 -04:00
Cassie Tarakajian
6b11adf88b Continue to update dark theme, remove many unused theme variables 2020-04-23 20:25:39 -04:00
shakti97
b16f628352 Enhancement(Esc key hide modal) 2020-04-24 00:29:33 +05:30
Cassie Tarakajian
3461c9619e Update dark theme colors 2020-04-22 18:31:04 -04:00
Cassie Tarakajian
e8c3587b41 Move all light theme variables to new design grayscale 2020-04-22 17:45:48 -04:00
Cassie Tarakajian
7c54b71002 Fix right nav items alignment 2020-04-22 17:06:05 -04:00
Cassie Tarakajian
b70f49ffc5 Remove unused theme variables, redce the number of different grays, light theme WCAG updates 2020-04-22 16:52:47 -04:00
Cassie Tarakajian
642016a3b2 Update light theme to try to be WCAG AA compliant, adjust Toolbar styling 2020-04-21 17:49:02 -04:00
elit-altum
db0dc434e4 fix(light-theme): fixed failing WCAG AA checks - I1263 2020-04-20 15:55:49 +05:30
Andrew Nicolaou
e1340518a5 Extract ThemeProvider and connect to redux store 2020-04-19 22:48:39 +02:00
Andrew Nicolaou
96ecb3e4a0 Replace User form buttons with shared Button component 2020-04-19 22:48:39 +02:00
Andrew Nicolaou
b61bd69505 Add Icon component for icons 2020-04-19 22:46:51 +02:00
Andrew Nicolaou
c2734ab5be Send current theme variables directly into provider 2020-04-19 22:46:51 +02:00
Andrew Nicolaou
bda1ff13f4 Convert LogIn to use shared Button 2020-04-19 22:46:51 +02:00
Andrew Nicolaou
499c17ec86 Merge branch 'master' into feature/storybook 2020-04-19 12:19:37 +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
24f14f9b5d 🔇 remove unnecessary log 2020-04-16 13:17:04 -03: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
a951b29a35
Merge pull request #1389 from shakti97/fix-form-error
fix form-error accessibility issue
2020-04-15 15:11:39 -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
87044eea9e
Merge pull request #1382 from davidbmx/dev-dav
remove title form nav #1266
2020-04-14 15:43:07 -04:00
shakti97
0cc6f27d10 fix form-error accessibility issue 2020-04-12 20:30:20 +05:30
Cassie Tarakajian
4cb48399db
Merge pull request #1380 from elit-altum/updating-high-contrast-theme
fix(high-contrast-theme): fixed failing WCAG AAA checks
2020-04-10 17:45:22 -04:00
Cassie Tarakajian
82f892a1ab Fix issue button styling for a tags 2020-04-10 17:13:16 -04:00
Cassie Tarakajian
f93328db57 Fixes #1353 - Multiple sketches added to collection from quick add list 2020-04-10 17:01:40 -04:00
Cassie Tarakajian
4d7b1ed113 Remove PropTypes errors, fix bug in handling redux action 2020-04-10 13:58:55 -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
d666d17e9c Added Shortcut Toggle Console 2020-04-10 11:56:50 +05:30
shakti97
ebe53c83f9 fix(trim query before search) 2020-04-10 10:53:27 +05:30
Cassie Tarakajian
65cd912ef3
Merge pull request #1366 from elit-altum/center-toolbar-icons
fix(toolbar): centered the toolbar icons
2020-04-09 16:51:41 -04:00
Cassie Tarakajian
3c7c159e72 Move pixel measurements to rems 2020-04-09 16:51:25 -04:00
Cassie Tarakajian
4eda1654c5
Merge pull request #1283 from shakti97/sidebar-shortcut
Feature sidebar toggle shortcut
2020-04-09 16:39:15 -04:00
David
b249625746 execute test 2020-04-08 23:34:45 -05:00
David
372748eb45 remove title form nav 2020-04-08 23:23:42 -05:00
elit-altum
97f02fda55 fix(high-contrast-theme): fixed failing WCAG AAA checks 2020-04-09 02:33:48 +05:30
Cassie Tarakajian
b744c9bd6d Add frane to code editor when selected folder or media file 2020-04-08 16:28:49 -04:00
Cassie Tarakajian
65606f4f7d
Merge pull request #1378 from processing/missing-upload
Fixes #1361 - upload option missing for folder
2020-04-08 16:19:49 -04:00
Cassie Tarakajian
31ca964bb7 Fixes #1361 - upload option missing for folder 2020-04-08 16:18:10 -04:00
Cassie Tarakajian
d4d8ba9271
Revert "fix(contrast-theme): fixed failing WCAG-AAA checks" 2020-04-08 16:08:57 -04:00
Cassie Tarakajian
2aac7410d8
Merge pull request #1360 from elit-altum/updating-theme
fix(contrast-theme): fixed failing WCAG-AAA checks
2020-04-08 14:04:40 -04:00
Cassie Tarakajian
6088783b61 Adjust high contrast colors to design system 2020-04-08 14:03:56 -04:00
Cassie Tarakajian
e4f180f8df Add responsive width to collection metadata 2020-04-08 13:14:39 -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
26df651f2f 🐛 commit filename changes upon saving sketch 2020-04-07 20:29:20 -03:00
Cassie Tarakajian
4a64bae376 Fixes #1355 - sketches overflowing on collection page 2020-04-07 19:20:29 -04:00
ghalestrilo
434cf6da21 🐛 make filename changes trigger editor change detection 2020-04-07 20:15:38 -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
elit-altum
1d1aaccc8e fix(toolbar): centered the toolbar icons 2020-04-07 01:16:12 +05:30
Cassie Tarakajian
8d453c699b Fixes #1315 2020-04-06 13:02:23 -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
elit-altum
21d44fa263 fix(contrast-theme): fixed failing WCAG-AAA checks 2020-04-04 13:51:57 +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
d8cac045f7
Merge pull request #1297 from shakti97/Fix-contrast-theme
Fix contrast theme active button issue
2020-04-02 17:05:25 -04:00
Cassie Tarakajian
3122fd76a4 Fixes #1290, change selector for search icon to work with div, remove unused styles 2020-04-02 15:54:40 -04:00
Cassie Tarakajian
f6cc77cd70 Merge master 2020-04-02 15:37:13 -04:00
Cassie Tarakajian
68d4bddf66 Fixes #1284 - Center loader in sketch list, collection list, and asset list 2020-04-02 13:43:34 -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
2744ea4334
Merge pull request #1342 from Eswaraprasadp/modify/dark-theme
Modify dark theme
2020-04-01 13:24:05 -04:00
Cassie Tarakajian
c1d0ccec01 Additional updates to dark theme: specificity changes and reorder for proper cascade 2020-04-01 13:22:53 -04:00
Cassie Tarakajian
f1dd9f44ef
Merge pull request #1340 from processing/feature/public-api
Merge Collections to Master
2020-03-30 16:07:53 -04:00
Elit Altum
ccfee879fa
fix(svg): removed unwanted svg tooltips - I1326 (#1327) 2020-03-27 13:12:04 +01:00
Eswaraprasadp
2938c76d2d Modify dark theme 2020-03-25 19:03:02 +05:30
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
09e403facf change file limit to 250 mb 1000 bytes was for testin 2020-03-03 14:43:44 -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
shakti97
78383d94f0 Fix contrast theme active button issue 2020-02-28 00:59:51 +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
shakti97
9d0603b6d5 Feature sidebar toggle shortcut 2020-02-24 00:18:16 +05:30
Cassie Tarakajian
36f7be60da Close Collection Share dropdown when clicking outside of it 2020-02-11 17:29:35 -05:00
Cassie Tarakajian
7ae02beb2d Update styling of Github and Google Buttons, updating styling of Account Settings 2020-02-11 16:58:08 -05:00
Cassie Tarakajian
6931741813 Fix overlay styling for Add to Collection Overlay for sketch list 2020-02-11 16:27:33 -05:00
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
Cassie Tarakajian
bc4a9f58d2 Merge in master 2020-01-28 17:31:44 -05:00
Cassie Tarakajian
66053e5c94 Fixes #1192, adds lang=en to all html files 2020-01-28 17:25:31 -05:00
amitch6097
73eca9254b fix #1246, Find modal does not select input text on second Command + F 2020-01-28 16:56:45 -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
Gabriel Sroka
f3e8b81cb7 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)
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
shyash
4780299e61 align toolbar 2020-01-28 16:56:44 -05:00
Cassie Tarakajian
37b9901bfd remove p5.dom from default files as it's been integrated into p5 core library 2020-01-28 16:56:44 -05:00
Cassie Tarakajian
942a27da6e update default version of p5.js to 0.10.2 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
amitch6097
3eb83b0560 Merge branch 'master' into Issue#1246 2020-01-23 19:52:53 -05:00
amitch6097
2bd08483de fix #1246, Find modal does not select input text on second Command + F 2020-01-23 19:50:28 -05:00
Andrew Nicolaou
000f6d0ea3 Adds theme 2020-01-19 22:05:16 +01:00
Andrew Nicolaou
d34ddb3643 Example Button component 2020-01-19 18:06:58 +01:00
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
442360cab5 Increase contrast between in/out of collection icon state in quick add list 2020-01-15 12:23:46 +01:00
Andrew Nicolaou
58b800d68b Align pencil icon with label 2020-01-15 12:09:30 +01:00
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
shyash
6120655ef2 align toolbar 2019-12-23 17:12:10 +05:30
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
5860b9bbaf Quick-add item should show hover state when accessed from keyboard 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
e0b6f881f0 Use secondary button style for now 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
001c285f98 Editable Input theme icon 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
e114a74b54 Quick add button theme support 2019-11-25 13:54:07 +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
00b788f90b update collection view, update nav list so that 'my collections' doesn't overflow 2019-11-24 14:58:16 -05: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
e00cc30476 Fix layout of sketch add 2019-11-10 20:39:20 +01:00
Andrew Nicolaou
ecba54ee55 Remove padding 2019-11-10 20:32:03 +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
e3949a7cbd Tidy up Asset styles 2019-11-10 19:39:41 +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
7135f5fabd update spacing on preview nav 2019-11-07 16:56:46 -05: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
821b2ea111 remove link to feedback, since we're not using the google doc at all 2019-10-31 15:25:44 -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
48c4183b97 Add missing check image 2019-10-20 21:59:24 +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
66704e3788 Dashboard tabs should match other tabs on the site 2019-10-20 17:38:04 +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
Apoorv Taneja
5fa806d33e Password limit (#1191)
* changes

* changes

* changes

* changes

* changes

* changez
2019-10-17 12:53:11 -04:00
Cassie Tarakajian
4d9c7d6a1f
Merge pull request #1187 from plxity/add-limit-input
Added limit in file name
2019-10-08 17:58:36 -04:00
Cassie Tarakajian
f1bcccb1b2 fixes #1189, fixes nav tests so that the app will actually redeploy 2019-10-08 17:46:11 -04:00
plxity
01e5c1f7bb changes 2019-10-09 02:46:21 +05:30
Cassie Tarakajian
560659e76a
Merge pull request #1183 from processing/bug/add-file
fixes #1180
2019-10-08 16:40:37 -04:00
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
53241c9180 fixes #1180 2019-10-08 16:36:38 -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
ad93782496 fixes #1170 2019-10-01 16:32:07 -04:00
Cassie Tarakajian
02f4cb23b4 fixes #1162, fixes #1118 2019-09-26 16:17:22 -04:00