Commit graph

1550 commits

Author SHA1 Message Date
ghalestrilo
9771f8fd87 🚧 make sketchlist route to /mobile if on mobile views 2020-08-05 14:56:24 -03:00
ghalestrilo
d452ebc933 💄 update styling so that it affects assets panel 2020-08-04 17:41:41 -03:00
ghalestrilo
a3a1834aec 💄 make sketch name bold on sketch list 2020-08-04 17:38:51 -03:00
ghalestrilo
d3a620e420 💄 limit width of right-aligned cells 2020-08-04 16:57:24 -03:00
Neelesh Singh
9c8a8a4110
Sort nested folders in existing sketch 2020-08-05 00:32:02 +05:30
Neelesh Singh
1c02d45fd7
sort existing files before displaying 2020-08-04 23:46:25 +05:30
Cassie Tarakajian
4d7f6f55c1
Merge branch 'develop' into sort-sidebar-folders 2020-08-04 13:18:53 -04:00
Neelesh
932f24cd9e corrected a typo 2020-08-04 21:54:45 +05:30
ghalestrilo
f5f02488c6 💄 format dates for mobile, limit <td /> width 2020-08-04 12:01:33 -03:00
ghalestrilo
aa0ab1a960 💄 make bottom tab switcher thinner 2020-08-04 11:03:00 -03:00
ghalestrilo
e9ad261c95 💄 omit creation date on sketch and collection list 2020-08-04 10:55:16 -03:00
ghalestrilo
6e323fd683 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-examples 2020-08-04 09:32:23 -03:00
Neelesh
4b022dd0e8 Refactored CREATE_FILE and UPDATE_FILE_NAME case into smaller functions 2020-08-04 10:28:21 +05:30
ghalestrilo
b498baab28 💄 adjust table width to fit 320px 2020-08-03 18:14:40 -03:00
ghalestrilo
fe9f35afab 💄 update sketch list header alignment and font size 2020-08-03 17:35:44 -03:00
ghalestrilo
b27f1acb06 🚑 restore devtools sidebar 2020-08-03 16:34:34 -03:00
Neelesh
855dceaafe Order files alphabetically in sidebar and nested folders.
This commit solves issue #704. I added a function to get sorted children of the parent file when ever a file is created of renamed. This function is only called on the parent of the file that is create or renamed.
2020-08-04 00:26:31 +05:30
Cassie Tarakajian
3f30968798 Merge branch 'bug/sidebar-name-overflow' of github.com:processing/p5.js-web-editor into bug/sidebar-name-overflow 2020-08-03 13:54:07 -04:00
Cassie Tarakajian
65bd4b2ff7 [#1526] Refactor FileName component
- Create function parseFileName to separate a file name into first
  letter, last letter, middle, extension
2020-08-03 13:52:07 -04:00
ghalestrilo
e1fd49b799 🐛 fix dropdown defaulting to open 2020-08-03 14:48:10 -03:00
ghalestrilo
229c51238f 🐛 fix navigation problem on IDEView.jsx 2020-08-03 14:35:28 -03:00
Cassie Tarakajian
21761a6e42
Merge branch 'develop' into bug/sidebar-name-overflow 2020-08-03 12:26:40 -04:00
ghalestrilo
862fe1a3ba 👌 update server.routes.js 2020-07-31 14:50:38 -03:00
ghalestrilo
d42f10e114 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-31 10:49:19 -03:00
ghalestrilo
78d4fc42a5 👌 remove eslint disable lines 2020-07-31 10:40:37 -03:00
ghalestrilo
ed989eed6c Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-header-dropdown-menu 2020-07-31 10:39:51 -03:00
ghalestrilo
6aeeed7ec0 add new button on dashboard view 2020-07-31 10:21:26 -03:00
ov
05e43c70b7
Minimal Viable Navigation Menu (#1510)
* Minimal Viable Navigation Menu
Translation with new namespace
I18Next configuration leaning on default separator and namespace

Broom: i18n + debug:false

* Minimal Viable Navigation Menu
Test entry for Toolbar.test.jsx

* Translation.json : Changes in translation for new namespace
About : broom About lines 17-26
Nav component : changes in keys
KeyboardShortcutModal.jsx: Key now in Common

* Voice Over Labels in Preferences:index
Labels included in translations.json

* Voice Over Labels in Preferences:index
Labels included in translations.json

* Voice Over Labels in Preferences:index
Labels included in translations.json

* Voice Over Labels in Preferences:index
Labels included in translations.json
Snapshot updated npm run test -- -u

* translations.json ARIA labels adjacent to respective label
Updated names to call the labels
Common namespace without currently used entries

* Update Nav.jsx

Missing Common.p5logoARIA key

* Update Toolbar.test.jsx

Deleting commented line 78

* Update in keys

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-07-31 15:20:42 +02:00
ghalestrilo
4aad59a288 update search bars 2020-07-31 09:09:35 -03:00
ghalestrilo
40db915282 🐛 fix panels not changing 2020-07-31 09:04:48 -03:00
Cassie Tarakajian
937421e90c [#1526] Add ellipsis to sidebar file names 2020-07-30 18:59:12 -04:00
ghalestrilo
e287e551a3 🚧 rename MobileDashboard to MobileDashboardView 2020-07-30 17:18:21 -03:00
ghalestrilo
ab93a4c85d 👌 make dropdown list toggle on enter/click 2020-07-30 16:16:47 -03:00
ghalestrilo
42b002595b 🚧 add link to MyStuff when user is logged in 2020-07-30 16:13:00 -03:00
ghalestrilo
bf67451474 🚧 improve header navigation 2020-07-30 15:44:03 -03:00
ghalestrilo
6e668cda68 🚧 improve routing for mobile examples screen 2020-07-30 15:40:43 -03:00
ghalestrilo
6efc22c8a0 🚧 pull from mine/mobile-examples 2020-07-30 15:04:37 -03:00
Cassie Tarakajian
7272afe184
Merge branch 'develop' into feature/mobile-header-dropdown-menu 2020-07-30 13:48:26 -04:00
Cassie Tarakajian
5e8d4813a6 [#1396] Update p5.js version to 1.1.9 2020-07-30 13:45:13 -04:00
Cassie Tarakajian
6eb51665d9 Merge branch 'develop' into p5js-to-1.0.0 2020-07-30 13:42:33 -04:00
ghalestrilo
8225807368 👌 subst left/right props with align prop on <Dropdown /> 2020-07-30 14:36:34 -03:00
ghalestrilo
8acd6ec189 👌 move hoc to components folder 2020-07-30 14:30:45 -03:00
ghalestrilo
c019fbcf4c 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-29 18:19:18 -03:00
ghalestrilo
ea9a2f9e25 ♻️ make li into styled component 2020-07-29 18:09:22 -03:00
ghalestrilo
10ccc195d2 🐛 update mobile nav paths 2020-07-29 18:04:30 -03:00
ghalestrilo
7c2a624eae :firetruck: restore devtools sidebar 2020-07-29 18:01:28 -03:00
ghalestrilo
e430652483 ♻️ make dropdown left/rightable 2020-07-29 17:52:57 -03:00
ghalestrilo
8da6497457 ♻️ create useAsModal HOC 2020-07-29 16:01:40 -03:00
ghalestrilo
8339be1683 ♻️ create useHideOnBlur hook 2020-07-29 15:15:55 -03:00
ghalestrilo
056455c92d 🧹 restore devtools sidebar, enable mobile on .env.example 2020-07-28 18:10:20 -03:00
ghalestrilo
b2c4a6cd9d mount searchbar on examples/dashboard view 2020-07-28 17:46:22 -03:00
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