Commit Graph

148 Commits

Author SHA1 Message Date
Ruben van de Ven fa5e7cceb1 Fix cloning when editing someone else's project 2020-10-12 17:25:26 +02:00
Ruben van de Ven f181bc6cb7 Fix save on pressing play with new project -- show save button first time around (as isPlaying get reset when URL is change on save) 2020-10-09 19:06:19 +02:00
Ruben van de Ven 793d7e6521 WIP live reloading editor 2020-09-21 12:22:19 +02:00
ghalestrilo 384a185028 🔀 merge from develop 2020-08-24 10:03:56 -03:00
ov e6ca173cf0
Spanish translation: IDEview / Toast Settings Saved (#1566)
* Translations for Share and AddCollection Overlays called from IDEView
* Translation in Project for settings saved.

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-08-22 12:57:39 +02:00
ghalestrilo 1503b1bdab 🔀 merge from mobile-examples 2020-08-17 14:31:45 -03:00
ghalestrilo 2aa49d5960 🔀 merge from develop 2020-08-17 14:30:02 -03:00
ov 3333dd41fa
Persistence Language Functionality to Store Language in User Preferences (#1536)
* Entry points to introduce persistence in language selection
* setLanguage action changes both the state and the i18next language
* Ensure language change applies to all pages on load

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-08-17 11:23:58 +02:00
ghalestrilo 410ef1b9bb ♻️ dry up <IDEView /> 2020-08-12 11:41:53 -03:00
ghalestrilo 8ddd7a76e2 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-examples 2020-08-07 18:51:37 -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 d42f10e114 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-31 10:49:19 -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
Cassie Tarakajian 937421e90c [#1526] Add ellipsis to sidebar file names 2020-07-30 18:59:12 -04:00
ghalestrilo de0e32f6a3 🚨 ignore proptype errors 2020-07-24 18:11:10 -03:00
ghalestrilo ccbe96dfc2 🚚 move preferences creators to components/Preferences 2020-07-21 18:18:19 -03:00
ghalestrilo b55bec18d4 ♻️ use connected <Console /> on IDEView 2020-07-16 18:20:52 -03: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
Sai Jatin K 1a78cebd3b
replaced anonymous function with named function: warnIfUnsavedChangesCaller 2020-07-07 00:31:56 +05:30
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
Sai Jatin K 707db59458
refactor-warnIfUnsavedChanges #1458 2020-07-02 17:58:45 +05:30
Sai Jatin K d99afcccc5
changed syntax of top level functions 2020-06-30 01:57:31 +05:30
Andrew Nicolaou 9d55fa378a Use testing-library instead of enzyme for tests 2020-06-28 15:44:00 +02:00
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 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 b929e77952 Fixes #1425 - Removes sketch title from <title> for unsaved, new sketch 2020-05-26 18:05:35 -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 a0cb035dd4 Add <main> to all pages, add semantic HTML updates 2020-05-19 15:34:00 -04:00
shakti97 b16f628352 Enhancement(Esc key hide modal) 2020-04-24 00:29:33 +05:30
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
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 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
shakti97 9d0603b6d5 Feature sidebar toggle shortcut 2020-02-24 00:18:16 +05:30
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
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
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
Andrew Nicolaou 0c68327690 Fixed-height Overlay for QuickAdd views 2019-12-11 15:12:00 +01: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
Cassie Tarakajian 5319bbbeb7 merge master into sketch collections, to include updating theming 2019-11-25 10:46:28 -05:00
Andrew Nicolaou 0d1a4d25f6 Keep theme in sync with state across the app 2019-11-25 13:38:58 +01: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 08fd6b826d New simplfied collection list when adding a sketch 2019-11-05 18:23:57 +01:00