Commit Graph

1248 Commits

Author SHA1 Message Date
Sai Jatin K d99afcccc5
changed syntax of top level functions 2020-06-30 01:57:31 +05:30
Sai Jatin K 6a429cc3f0
Refactored getTitle and isUserOwner #1458 2020-06-20 20:01:15 +05:30
Sai Jatin K 26bdef9a3d
Refactored getTitle and isUserOwner #1458 2020-06-19 20:18:58 +05:30
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