Commit graph

27 commits

Author SHA1 Message Date
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
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
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
Andrew Nicolaou
9d55fa378a Use testing-library instead of enzyme for tests 2020-06-28 15:44:00 +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
2c3aeee27a Update Nav snapshot with new SVG attributes 2020-05-06 17:03:20 -04: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
Cassie Tarakajian
4b4b31e117 Update failing tests to match new code 2020-04-28 14:52:41 -04:00
Cassie Tarakajian
41637d2837 Move handleUploadClick from inline function, prevent user from uploading to folder if not authenticated 2020-04-16 16:08:51 -04:00
Cassie Tarakajian
9185447168 Merge master to fix/rename-file-set-unsaved 2020-04-16 15:59:09 -04:00
ghalestrilo
c4d52457e5 write test file for <FileNode /> 2020-04-16 13:03:21 -03:00
David
b249625746 execute test 2020-04-08 23:34:45 -05:00
Cassie Tarakajian
821b2ea111 remove link to feedback, since we're not using the google doc at all 2019-10-31 15:25:44 -04:00
Cassie Tarakajian
f1bcccb1b2 fixes #1189, fixes nav tests so that the app will actually redeploy 2019-10-08 17:46:11 -04:00
Andrew Nicolaou
137ea783ea Experiment with "Checks" in Travis output (#1081)
* Run tests on CI

* Create a lint error on purpose

* Splits build into test and deploy stages

lint and test jobs will run in parallel and if both are successful
(and branch is master), deploy will run.

* Revert "Create a lint error on purpose"

This reverts commit 306c91c4278631fa1c1dcd40f0b23f7f9e5f000d.

* Updating snapshot

* Run deploy only on master branch (not PRs)

* Use global deploy config item to avoid building on PRs
2019-05-24 12:16:15 -04:00
Oliver Wright
e8639a6ed0
Update snapshot 2019-02-10 01:00:24 +00:00
Oliver Wright
1df469bdeb
Update test 2019-02-10 01:00:20 +00:00
Sepand Ansari
189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari
e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00