Commit graph

714 commits

Author SHA1 Message Date
Andrew Nicolaou
af1a5cc2f1
Use translations for all tests (#1568)
* Toolbar ARIA Labels
* Ensure all tests use real translations

All tests should import the 'test-utils' file which re-exports all of
the @testing-library functions. It wraps render() in a react-i18next
instance.

It's important that the component being tested is the one returned from
withTranslation().

Co-authored-by: ov <omar.verduga@gmail.com>
2020-08-26 14:19:34 +02:00
ov
4d04952213
Adding Translation Keys in QuickAddList Component (fixes #1571) 2020-08-26 13:06:37 +01:00
ov
c840734122
Spanish translation: Editor- Editor Accessibility- Timer (#1567)
* Editor translation for ARIA labels
* Timer translation for ARIA labels
* Remove unused i18next import
* Editor KeyUp translation
2020-08-25 09:20:16 +02:00
ghalestrilo
8b619c6673
Merge branch 'develop' into feature/switch-mobile-desktop 2020-08-22 13:32:12 -03:00
ov
5af98ca765
Spanish Translation: My Collection/My Sketch lists in My Account Menu (#1554)
* Translations for Collection functionality
* Translation for Sketch functionality
* Translation ARIA for Sketch functionality
2020-08-22 12:50:49 +02:00
ghalestrilo
90272b5f21 Merge branch 'feature/mobile-login' of https://github.com/ghalestrilo/p5.js-web-editor into feature/switch-mobile-desktop 2020-08-21 15:25:43 -03:00
ov
093c8ff530
Spanish Translations: FileUploader, Error Modal, Share Modal (#1561)
* Upload ANd FileUploader translations.json

* ErrorModal translation

* ShareModal translation

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-08-21 12:59:58 +01:00
ghalestrilo
27168f09c8 🚧 update nav mobile routes when logged in 2020-08-20 16:27:40 -03:00
ghalestrilo
fc48a5a86c 🚧 update mobile links not to include /mobile 2020-08-19 18:30:11 -03:00
Cassie Tarakajian
c98fe59bf0
Merge branch 'develop' into bugfix/popupstyle 2020-08-19 16:43:13 -04:00
Cassie Tarakajian
4c65e6580c Fix scrolling for QuickAdd list 2020-08-19 16:40:59 -04:00
Andrew Nicolaou
8308eda7cf
Extract translation keys for Console, Sidebar, FileNode (#1549)
* Convert Console component to use translations

* Extracts Sidebar/FileNode to use English translations

* Mock react-i18next with real English translations
2020-08-19 10:40:05 +01:00
ghalestrilo
9ced702090
Merge branch 'develop' into feature/mobile-files-tab 2020-08-17 18:00:25 -03:00
ghalestrilo
6638035b53
Merge branch 'develop' into feature/mobile-examples 2020-08-17 17:43:23 -03:00
Cassie Tarakajian
ba0794ab5a Move console scroll to useDidUpdate 2020-08-17 15:55:34 -04:00
ghsuvr123
2510f679b8 Scroll console to bottom bug fixed 2020-08-16 14:41:15 +03:00
ghalestrilo
7c1e6f3cc2 Merge branch 'feature/mobile-examples' of https://github.com/ghalestrilo/p5.js-web-editor into feature/mobile-files-tab 2020-08-13 16:18:18 -03:00
ghalestrilo
cbae85fa51 💄 reduce '# sketches' to 'Sketches' on collections list 2020-08-13 16:17:23 -03:00
ghalestrilo
e181a741b1 💄 omit 'Date' from header fields on mobile 2020-08-13 16:07:46 -03:00
ghalestrilo
2e34bd7ea3 💄 omit 'Date' from header fields on mobile 2020-08-13 15:52:51 -03:00
ghalestrilo
9f3e083c17 🚧 move drop arrow to top of card, unhide CollectionList createdAt 2020-08-12 17:13:03 -03:00
ghalestrilo
b88a40327e Merge branch 'feature/mobile-examples' of https://github.com/ghalestrilo/p5.js-web-editor into feature/mobile-files-tab 2020-08-11 17:04:45 -03:00
ghalestrilo
9c25daac8c 👌 update card fields alignment 2020-08-11 16:30:48 -03:00
Cassie Tarakajian
888635275f Merge develop to feature/mobile-examples 2020-08-11 13:41:55 -04:00
ov
3253770ff6
Spanish Translation Modals for Sketch Menu (#1538)
* NewFileModal spanish transaltion
 translations.json (both languages EN - ES)
 changes in NewFileForm.jsx and NewFileModal.jsx to link the new keys.

* NewFolderModal spanish translation
 translations.json (both languages EN - ES)
 changes in NewFileForm.jsx and NewFileModal.jsx to link the new keys.
2020-08-11 15:56:45 +02: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
df5ac3fb4c make sidebar close on file click 2020-08-07 18:48:39 -03:00
ghalestrilo
2ed4664fd3
Merge branch 'develop' into feature/mobile-examples 2020-08-06 11:26:04 -03:00
Cassie Tarakajian
763ee140fa [#1526] Fix failing FileNode test 2020-08-05 18:33:40 -04:00
Cassie Tarakajian
a56740c7c4 [#1532] Fix labels for files 2020-08-05 17:50:07 -04:00
Cassie Tarakajian
223d71688e
Merge branch 'develop' into bug/sidebar-name-overflow 2020-08-05 16:52:12 -04:00
ghalestrilo
9771f8fd87 🚧 make sketchlist route to /mobile if on mobile views 2020-08-05 14:56:24 -03:00
ghalestrilo
d3a620e420 💄 limit width of right-aligned cells 2020-08-04 16:57:24 -03:00
ghalestrilo
f5f02488c6 💄 format dates for mobile, limit <td /> width 2020-08-04 12:01:33 -03:00
ghalestrilo
e9ad261c95 💄 omit creation date on sketch and collection list 2020-08-04 10:55:16 -03:00
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
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
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
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
c019fbcf4c 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-29 18:19:18 -03:00
ghalestrilo
b8bdfd9dd2
Merge branch 'develop' into feature/mobile-header-dropdown-menu 2020-07-28 12:31:44 -03:00
ghalestrilo
96b0ed4471 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-28 11:17:49 -03:00
ghalestrilo
d2dcc1fee2 👌 restore Console.jsx classes 2020-07-28 10:53:28 -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