Robert Schäfer
d55cb00375
Update cypress/integration/Internationalization.feature
...
Co-Authored-By: appinteractive <greg@app-interactive.de>
2018-12-19 21:19:05 +01:00
Grzegorz Leoniec
72c254fca3
Apply User Story Suggestion by roschaefer
2018-12-19 21:18:44 +01:00
Grzegorz Leoniec
553004835c
Cleanup of tests
2018-12-19 21:15:52 +01:00
Grzegorz Leoniec
91a3b02260
Fixed broken tests
2018-12-19 21:14:26 +01:00
Grzegorz Leoniec
d6968c99ba
Improved Dropdown component and fixed some js errors
2018-12-19 21:14:15 +01:00
Grzegorz Leoniec
c0a4dae3e5
fixed internationalization tests for new dropdown
2018-12-19 19:39:46 +01:00
Grzegorz Leoniec
0efe972b4e
Fixed typo
2018-12-19 19:38:09 +01:00
Robert Schäfer
b320ef30fc
Fix lint
2018-12-19 18:12:10 +01:00
Robert Schäfer
16997ee63d
Refactor login with confidence
...
This is why I ❤️ testing. First I wrote several tests to get
familiar with the existing code and specified everything that I believe to
be required. Then I refactor the entire method at once and the tests pass.
Note that I do **not** believe that setting the user data to `null` is
really relevant.
2018-12-19 18:04:25 +01:00
Robert Schäfer
f85081c308
Properly test the reject branch of login
2018-12-19 17:58:25 +01:00
Robert Schäfer
4236881218
Fix CodeFactor issues
2018-12-19 15:36:45 +01:00
Robert Schäfer
48467bc697
Fix lint
2018-12-19 15:24:58 +01:00
Robert Schäfer
b17686656b
Test error path of #login procedure
2018-12-19 11:58:03 +01:00
Robert Schäfer
bf8f2f8877
Remove dead code
2018-12-19 11:11:12 +01:00
Robert Schäfer
d465db5906
Test store/auth#login
2018-12-19 11:11:12 +01:00
Robert Schäfer
01f5cfd481
Run yarn run lint --fix
2018-12-19 11:11:12 +01:00
Robert Schäfer
fec665eaf4
Implement+test auth.isAuthenticated()
2018-12-19 11:11:12 +01:00
Grzegorz Leoniec
27e30581c4
Created a menu for the LocaleSwitch
2018-12-19 09:52:44 +01:00
Grzegorz Leoniec
961f317473
Only import isEmpty
2018-12-18 18:38:02 +01:00
Grzegorz Leoniec
e49534cdf6
Created dropdown component
2018-12-18 18:37:45 +01:00
Grzegorz Leoniec
d804b47736
fixed integration test for defailt english locale
2018-12-18 16:10:45 +01:00
Grzegorz Leoniec
5d8cd73e30
Added very simple locale switch test
2018-12-18 16:07:41 +01:00
Grzegorz Leoniec
8599612499
use locale env var for loading locale files
2018-12-18 15:25:36 +01:00
Grzegorz Leoniec
8f44685ca7
updated translations
2018-12-18 15:25:08 +01:00
Grzegorz Leoniec
4e91d253ae
added polish flag and further optimized flag filesize
2018-12-18 15:24:46 +01:00
Grzegorz Leoniec
fbe885b01d
added missing alt tag
2018-12-18 14:53:00 +01:00
Grzegorz Leoniec
8faf00e660
made lokalise img a link to our project
2018-12-18 14:37:32 +01:00
Grzegorz Leoniec
d077de87d2
added mention of lokalise.co to our readme
2018-12-18 14:36:54 +01:00
Grzegorz Leoniec
fe04d383d3
added initial translations for
2018-12-18 14:32:45 +01:00
Grzegorz Leoniec
13af495a5d
Added spanish, italian and portuguese flags
2018-12-18 13:28:10 +01:00
Grzegorz Leoniec
38154cfd33
improved en flag filesize
2018-12-18 13:27:34 +01:00
Grzegorz Leoniec
2eaebf2bc3
first attempt for basic date localization
2018-12-18 13:01:06 +01:00
Grzegorz Leoniec
c539dd1276
translated profile partially
2018-12-18 12:34:35 +01:00
Grzegorz Leoniec
4bb2d81fb0
translated usermenu
2018-12-18 12:33:11 +01:00
Grzegorz Leoniec
ee6bb7dc2d
Merge remote-tracking branch 'origin/master' into i18n-pure
2018-12-18 12:02:56 +01:00
Grzegorz Leoniec
e0d70cd650
Added note to login appear fix
2018-12-18 11:57:27 +01:00
Grzegorz Leoniec
ada0c34830
speed up login appearance
2018-12-18 11:51:42 +01:00
Grzegorz Leoniec
1173a28af6
Fixed login positioning glitch on first page visit
2018-12-18 11:51:14 +01:00
Grzegorz Leoniec
a9f9cb18f2
Updated hc sign-in graphicy
2018-12-18 11:50:45 +01:00
Grzegorz Leoniec
024dc12048
fixed centering inside ds-space
2018-12-18 11:50:14 +01:00
Grzegorz Leoniec
5f9fb4fa8b
improved LocaleSwitch and login button
2018-12-18 11:33:15 +01:00
Grzegorz Leoniec
8252346d67
translated login page
2018-12-18 11:28:51 +01:00
Grzegorz Leoniec
e16a9ab5dc
ranamed LanguageSwitch to LocaleSwitch
2018-12-18 11:14:18 +01:00
Grzegorz Leoniec
0386fd4bb7
added some optimized locale flags and created a LanguageSwitch component
2018-12-18 11:11:56 +01:00
Grzegorz Leoniec
c37ef40cb1
persist and use locale in cookie
2018-12-18 10:23:36 +01:00
Grzegorz Leoniec
deb62834b1
fixed language switch
2018-12-18 10:20:22 +01:00
Grzegorz Leoniec
b546126583
fixed missing admin menu translation
2018-12-18 10:19:20 +01:00
Grzegorz Leoniec
679f4bddbe
Merge pull request #96 from Human-Connection/improved-usermenu
...
added icons to usermenu
2018-12-17 23:07:30 +01:00
Grzegorz Leoniec
a481f64958
fix linting issues
2018-12-17 22:02:26 +01:00
Grzegorz Leoniec
2679cddb45
added dummy locale menu
2018-12-17 21:58:27 +01:00