Commit Graph

970 Commits

Author SHA1 Message Date
kotwys
51fb3afe76
Clear form errors before submitting (#30)
* Clear form errors before submitting

* Move error clearing logic to FormModel

* Revert setError signature to the previous state

* Expose clearErrors proxy method on Form like setErrors
2020-08-05 23:27:22 +03:00
kotwys
4265b37543
Fix field errors view (fixes #23) (#29)
* Probably fixes #23

* Track field errors from state only

The previous commit has moved error storage to state so it isn't
necessary to check for error in props anymore.

* Undo state initialization from props
2020-08-05 14:58:31 +03:00
kotwys
74f04e9080
Create storybooks for developers’ pages (#28)
* Create storybooks for developers' pages

* Fix ‘ApplicationForm/Create Minecraft server’ story

* Clean up the code

* Concretize the types and behaviour
2020-08-04 17:16:00 +03:00
ErickSkrauch
8f335a3511
Fix ACCOUNTS-FRONTEND-MM 2020-07-24 19:29:10 +03:00
ErickSkrauch
108e5eb0e9
Fix labels on auth forms 2020-07-24 19:19:19 +03:00
kotwys
208817f69e
Implemented ability to override definitions from @formatjs. Added fixed definitions for Esperanto (#26)
* Introduce locale searching

Some locales may be absent or incorrect in default packages so these
should be obtained from other places instead.

* Add fixed Esperanto locale

* Update Esperanto locales

* Redo locale substitution

This reverts commit f2e1047fd8.

* Include locales in the repository

* Add newline character at the end
2020-07-24 18:24:55 +03:00
ErickSkrauch
930a272cd0 Fix crowdin's branch selection for non-tty environment, add support for CI-provided branch name [skip ci]
Show crowdin's error at any depth

Show branch name on i18n:push

Unpack git .pack objects to fix automatic branch detect (seems like a workaround for a workaround 🙃)

Detect git branch from CI if available.
Replace git-repo-info with git-rev-sync (maintained)

Fix accidentally removed git installation for Yarn job
2020-07-23 23:06:21 +03:00
ErickSkrauch
d84497ac28
Rework Button component to pass its label via children content 2020-07-22 14:20:10 +03:00
ErickSkrauch
993d0cdedb
Fix dev mode 2020-07-22 14:19:23 +03:00
ErickSkrauch
8d9d830a7e
Don't run E2E tests on CI 2020-07-22 13:06:59 +03:00
ErickSkrauch
5a9c54002d
Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions 2020-07-22 13:01:12 +03:00
ErickSkrauch
96e74cf9bb Cleanup user's reducer 2020-07-22 02:40:39 +03:00
ErickSkrauch
21949c780c Fixes ACCOUNTS-FRONTEND-JC 2020-07-22 02:25:45 +03:00
ErickSkrauch
d25653dd7c
Improve assets caching 2020-07-21 21:29:42 +03:00
ErickSkrauch
364b7f3c80
Fix duplication of the codejs 2020-07-21 21:29:41 +03:00
ErickSkrauch
bc88f56f43
Improve chunks for locales 2020-07-21 21:29:41 +03:00
ErickSkrauch
75a7de2af2
Fix TS errors 2020-07-21 16:23:32 +03:00
ErickSkrauch
9faf7cf404
Reduce source maps size 2020-07-21 16:12:21 +03:00
ErickSkrauch
54c6578c15
Reduce amount of chunks 2020-07-21 15:53:34 +03:00
ErickSkrauch
19a9f952ea
Introduce storybooks for all profile pages 2020-07-21 15:30:18 +03:00
ErickSkrauch
347fd59319
Cleanup localeFlags.ts [skip ci] 2020-07-20 15:19:15 +03:00
ErickSkrauch
c1a790f48b
Build app for the latest browsers in dev mode. Upgrade babel [skip ci] 2020-07-20 14:56:47 +03:00
ErickSkrauch
7a7d07203e Close language switcher popup not earlier than locale will be loaded and applied 2020-07-20 00:04:57 +03:00
ErickSkrauch
88c2eab802 Update storybook for the LanguageSwitcherPopup to show unknown locale 2020-07-20 00:00:39 +03:00
ErickSkrauch
9a9bd74763 Implemented loading of custom flags for languages, not associated with concrete country.
Implemented "unknown" language flag to prevent errors for new languages when flag can't be associated automatically
2020-07-19 23:52:02 +03:00
ErickSkrauch
49698e6bda Merge branch 'open_source_popup' 2020-07-13 01:45:57 +03:00
ErickSkrauch
af9bdcb20e Implemented source code popup markup 2020-07-12 01:57:40 +03:00
ErickSkrauch
1dfe85e736
Improve storybook's performance by not building all possible locales/countries flags 2020-07-09 21:59:17 +03:00
ErickSkrauch
70070ef516 Prepare footer for new item 2020-07-09 02:50:40 +03:00
ErickSkrauch
cfb0c8d9e3
Increase Cypress tests timeout 2020-07-07 16:06:23 +03:00
ErickSkrauch
e9977cc9a0
Merge branch 'popups_cleanup' 2020-07-07 14:04:30 +03:00
ErickSkrauch
fb65a3f852 Fix E2E tests configuration 2020-07-07 01:46:42 +03:00
ErickSkrauch
82abe0a746
Extract general popups markup to its own component
Split popups controllers into separate components
Implemented storybooks for all project's popups
2020-07-06 19:29:56 +03:00
ErickSkrauch
28ccab8a98 Fix Czech language 2020-06-15 01:04:41 +03:00
ErickSkrauch
6309985295 Remove git installing from the E2E Yarn install 2020-06-15 00:48:50 +03:00
ErickSkrauch
20be130d4b
Merge pull request #25 from elyby/crowdin_rework
Crowdin rework
2020-06-15 00:33:18 +03:00
ErickSkrauch
7bd45e7ada Improve file search algorithm 2020-06-15 00:22:19 +03:00
ErickSkrauch
b25e888781
Enable prettier for the i18n-crowdin script 2020-06-10 15:01:49 +03:00
SleepWalker
270f4c9c4d Remove typescript/eslint-recommeneded beacuse from v3 it is a part of typescript/recommended 2020-06-10 08:32:31 +03:00
ErickSkrauch
2a4be6f1b9 Move all operations with crowdin to its own step 2020-06-10 00:33:42 +03:00
ErickSkrauch
5f6c11dddb Pin inquirer to the version, when it throws an exception on unavailable TTY 2020-06-10 00:21:36 +03:00
ErickSkrauch
c3b778e3ca
Fix errors catching in i18n-crowdin script.
Detect non tty environment and apply defaults.
2020-06-09 22:02:55 +03:00
ErickSkrauch
8194f8d106
Answer "yes" for all i18n:push questions 2020-06-09 21:31:12 +03:00
ErickSkrauch
038c5704ed
Add push source strings CI step 2020-06-09 21:12:43 +03:00
ErickSkrauch
7b74d7820c
Cleanup dependencies 2020-06-09 21:07:21 +03:00
ErickSkrauch
cd6c5fce4c
Allow the application to work without en.json file in dev environment 2020-06-09 21:02:03 +03:00
ErickSkrauch
02e767b57c
Simplify locales preloading 2020-06-09 21:01:54 +03:00
ErickSkrauch
7c415a0d96
Crowdin's branches support 2020-06-09 21:01:38 +03:00
ErickSkrauch
0dc83a4ab1
Add git to install deps steps 2020-06-05 18:48:32 +03:00
ErickSkrauch
243510a671
Remove defaultMessages from the production build.
Don't run the application before active locale will be loaded
2020-06-05 18:34:59 +03:00