Commit graph

1599 commits

Author SHA1 Message Date
ghalestrilo
262199d017 load examples on MobileDashboard 2020-07-28 17:13:55 -03:00
ghalestrilo
7e9aa18a75 👌 fix dropdown link to original view 2020-07-28 16:50:51 -03:00
ghalestrilo
f1108c85ec Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-examples 2020-07-28 16:41:03 -03:00
ghalestrilo
b8bdfd9dd2
Merge branch 'develop' into feature/mobile-header-dropdown-menu 2020-07-28 12:31:44 -03:00
ghalestrilo
57ee6f0b8b 🚧 mount List components 2020-07-28 11:33:38 -03:00
ghalestrilo
96b0ed4471 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-28 11:17:49 -03:00
ghalestrilo
dd37c7731d 👌 remove eslint-disable-lines 2020-07-28 10:56:16 -03:00
ghalestrilo
d2dcc1fee2 👌 restore Console.jsx classes 2020-07-28 10:53:28 -03:00
ghalestrilo
f5e901ad0b 👌 add CodeIcon to icons.jsx 2020-07-28 10:46:53 -03:00
ghalestrilo
4abdc65436 🔀 merge from develop 2020-07-28 10:45:18 -03:00
Sundeep Chand
cb6d050723 removed handleSearchEnter definition which was redundant 2020-07-28 12:56:41 +05:30
Sundeep Chand
1091a4e4af Update searchbar to query with empty term 2020-07-28 12:48:52 +05:30
Sundeep Chand
e299bf2a39 fixed search result reset issue 2020-07-27 23:47:51 +05:30
ghalestrilo
691df12f28 🚧 create bottom tabs 2020-07-24 18:43:07 -03:00
ghalestrilo
de0e32f6a3 🚨 ignore proptype errors 2020-07-24 18:11:10 -03:00
ghalestrilo
77a40a9934 👌 rename last menu option to 'Original Editor' 2020-07-24 17:45:40 -03:00
ghalestrilo
f7d06319e4 👌 remove isRequired from consoleEvents 2020-07-24 17:32:39 -03:00
ghalestrilo
0a065cb00a 🧹 unhide sidebar 2020-07-24 17:27:24 -03:00
ghalestrilo
9bebf9f7c9 🔀 merge from develop 2020-07-24 17:01:48 -03:00
ghalestrilo
9f8b41c092 make dropdown menu open and close 2020-07-24 16:30:14 -03:00
ghalestrilo
371e4ccdde ⚗️ create <OverlayManager /> component 2020-07-22 18:48:24 -03:00
ghalestrilo
c58cdc29c3 🚧 add navigation elements to the dropdown menu 2020-07-22 16:24:39 -03:00
ghalestrilo
91a766dd45 🚧 import dropdown list style from scss 2020-07-22 15:37:44 -03:00
ghalestrilo
ca88c4e68c 🚧 put an invisible <Dropdown /> on MobileIDEView 2020-07-21 19:03:22 -03:00
ghalestrilo
24e6b3639f 🍱 create <MoreIcon /> 2020-07-21 18:33:10 -03:00
ghalestrilo
ccbe96dfc2 🚚 move preferences creators to components/Preferences 2020-07-21 18:18:19 -03:00
ghalestrilo
f3bedb0932 👌 make console button toggle between collapse and expand 2020-07-21 18:09:48 -03:00
ghalestrilo
3f01fc4806 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into chore/refactor-mobile-hooks 2020-07-21 18:01:54 -03:00
ghalestrilo
482b1d9be0 👌 restore original code icon 2020-07-21 18:01:00 -03:00
ghalestrilo
b3e88aafd1 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-header-dropdown-menu 2020-07-21 17:50:26 -03:00
ghalestrilo
8f60b35c8e Merge branch 'feature/error-output' of https://github.com/ghalestrilo/p5.js-web-editor into feature/error-output 2020-07-21 17:40:51 -03:00
Cassie Tarakajian
a1accc11a9
Merge branch 'develop' into feature/error-output 2020-07-21 16:10:21 -04:00
ghalestrilo
c942753866 👌 remove <Console /> from before 2020-07-21 15:58:28 -03:00
ghalestrilo
ac0c519ccb 🚧 create <Dropdown /> component 2020-07-21 15:03:00 -03:00
ghalestrilo
c9a4d6eccc 🧹 remove needless imports 2020-07-21 12:25:22 -03:00
ghalestrilo
db5d853ff1 add console-opening button on bottom bar 2020-07-21 12:21:46 -03:00
ghalestrilo
4ac8fa0f34 make console-expanding button on bottom bar 2020-07-21 12:14:58 -03:00
ghalestrilo
604add5b03 🧹 remove FIXME 2020-07-20 19:11:20 -03:00
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
928595cb27 Merge branch 'feature/error-output' into chore/refactor-mobile-hooks 2020-07-20 18:53:17 -03:00
ghalestrilo
2e07990293 👌 refactor <Footer /> 2020-07-20 18:51:42 -03:00
ghalestrilo
234c4ffe14 🐛 fix broken useState 2020-07-20 18:37:50 -03:00
ghalestrilo
627cfbf709 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into chore/refactor-mobile-hooks 2020-07-20 17:59:58 -03:00
ghalestrilo
9e95517f70 🚧 refactor <Consle /> to hooks 2020-07-20 17:56:35 -03:00
Cassie Tarakajian
70e34c31d5 [#1505] Change "translation.json" path to absolute 2020-07-20 14:35:34 -04: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
b87a313e12 ♻️ refactor <MobilePreferences /> to use hooks 2020-07-17 16:06:13 -03:00
ghalestrilo
3a596ec371 ♻️ refactor <MobilePreferences />, create PreferenceCreators 2020-07-17 16:01:12 -03:00
ghalestrilo
f349199cc1 Merge branch 'feature/mobile-preferences-number-widget' into chore/refactor-mobile-hooks 2020-07-17 15:41:39 -03:00
ghalestrilo
88d7f9ec2d Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-preferences-number-widget 2020-07-17 15:41:07 -03:00
ghalestrilo
1c4b234f2f ♻️ refactor <MobileSketchView /> 2020-07-17 15:36:38 -03:00
ghalestrilo
dd15f805ad 🧹 remove FIXME 2020-07-16 18:49:12 -03:00
ghalestrilo
b2ba22a076 👌 revert hide sidebar 2020-07-16 18:48:18 -03:00
ghalestrilo
b55bec18d4 ♻️ use connected <Console /> on IDEView 2020-07-16 18:20:52 -03:00
Cassie Tarakajian
cc6d868988 [#1500] Update sketch media file duplication code
- Sketch duplication code now checks for AWS endpoint via environment
  variable, rather than hard-coded string
- Fixes `aws.controller#getObjectKey`, which was incorrectly generating
  file keys
2020-07-16 17:00:50 -04: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
ghalestrilo
8e137d0b68 🚧 Add Console to Preview Screen 2020-07-15 17:44:47 -03:00
ghalestrilo
95295422a3 🚧 update children prop type 2020-07-15 17:32:38 -03:00
ghalestrilo
18e945c7d5 🚧 Improve Footer, Emplace Console component 2020-07-15 17:24:12 -03:00
ghalestrilo
c44e60e9b2 🚧 remove sidebar (temp) 2020-07-15 15:51:54 -03:00
Cassie Tarakajian
2b67ea7575 [#1492] Update missing translations in en-US 2020-07-13 17:16:14 -04:00
Cassie Tarakajian
982b7022e9 Add fallback for --percent in asset-size 2020-07-13 14:03:59 -04:00
oruburos
78f87b6ec1 Webpack config in dev and prod include copywebpack for static translations.json
Change in i18n to serve the translations from a different path
2020-07-10 13:45:35 +01:00
Cassie Tarakajian
decf4a9c4d [#1458] Fix merge bug, rename handler function
- Fix bug in warnIfUnsavedChanges that referred to this.props by
  changing it to props
- Change function name from `warnIfUnsavedChangesCaller` to
  `handleUnsavedChanges`, remove it being called via binding/arrow func
2020-07-09 12:50:46 -04:00
Cassie Tarakajian
e666b46e7c Merge branch 'develop' into refactorIDEView 2020-07-09 12:37:03 -04: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
Sai Jatin K
1a78cebd3b
replaced anonymous function with named function: warnIfUnsavedChangesCaller 2020-07-07 00:31:56 +05:30
Cassie Tarakajian
5e0d5226e7
Merge pull request #1480 from andrewn/bugfix/deleted-collection-sketch
Allow deleted sketches in collections to be removed (fixes #1465)
2020-07-06 13:09:42 -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
89ffa4194e ♻️ create option creators, improve header transparency 2020-07-03 15:22:20 -03:00
ghalestrilo
835a553bf9 🐛 <PreviewFrame /> check for own iframe body tag before unmounting it 2020-07-03 14:40:20 -03:00
Sai Jatin K
707db59458
refactor-warnIfUnsavedChanges #1458 2020-07-02 17:58:45 +05:30
Cassie Tarakajian
88ebe9e7ea Re-add Redux DevTools to App.jsx 2020-07-01 16:56:05 -04:00
Cassie Tarakajian
7d6ba6f34f Merge branch 'develop' into feature/mobile-settings-screen 2020-07-01 16:51:53 -04: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
58d8fc18d5 👌 fixed warnings on MobileSketchView and MobilePreferences 2020-07-01 17:37:32 -03:00
ghalestrilo
82ec5207cb 👌 fixed warnings 2020-07-01 17:36:25 -03:00
ghalestrilo
3ce0a51c49 👌 increase option label size 2020-07-01 17:20:32 -03:00
ghalestrilo
c88bf44490 🔀 merging from mobile-sketch-view 2020-07-01 16:44:19 -03:00
ghalestrilo
b4c1b86d4d 👌 improve IconButton implementation 2020-07-01 16:32:29 -03:00
ghalestrilo
3143cc34c7 👌 change IconButton structure 2020-07-01 15:52:23 -03:00
ghalestrilo
a1d6abf00f 👌 rename Panel to MobilePanel on theme.js 2020-07-01 15:36:17 -03:00
Cassie Tarakajian
3ce4973696
Merge pull request #1464 from saijatin28/refactor-IDEView.jsx
Refactored getTitle and isUserOwner #1458
2020-07-01 14:34:31 -04:00
ghalestrilo
e8b25152af 💄 change screen header title to Preferences 2020-06-30 19:17:05 -03:00
ghalestrilo
24a72daf2c 💄 improve <Header /> component structure and layout 2020-06-30 19:11:48 -03:00
ghalestrilo
1c1ea98a0b 👌 unimplement canvas stretching behavior 2020-06-30 17:01:24 -03:00
ghalestrilo
30c47d6fe5 👌 rename <Selector /> to <PreferencePicker /> 2020-06-30 16:52:03 -03:00
ghalestrilo
b96b9d350a 👌 use remSize on IconButton 2020-06-30 16:41:26 -03:00
ghalestrilo
d43fae592d 🔀 merging from mobile-sketch-view 2020-06-30 16:37:43 -03:00
Cassie Tarakajian
912a2bf2e0
Merge pull request #1475 from dhoizner/fix_file_link_resolution
Fix File Link Resolution
2020-06-29 19:22:41 -04:00
ghalestrilo
7805accf95 🐛 fix margin on header title 2020-06-29 19:57:39 -03:00
ghalestrilo
8a0b09d416 👌 use common/Button component for IconButton on screens 2020-06-29 19:54:48 -03:00
ghalestrilo
7d24c07fcc 👌 use common/Button component for IconButton 2020-06-29 18:35:00 -03:00
ghalestrilo
9ca0995461 👌 create Panel color object in theme 2020-06-29 18:13:42 -03:00
Cassie Tarakajian
e7a05069a2
Merge pull request #1471 from saijatin28/saveFailure
feature show toast for project save failure #1393
2020-06-29 17:07:18 -04:00
Cassie Tarakajian
a20971bd95 [#1393] Change "project" to "sketch" in toast 2020-06-29 17:06:03 -04:00
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