Commit Graph

98 Commits

Author SHA1 Message Date
ErickSkrauch
73caa34acc Merge branch 'account_deletion' into master 2020-11-19 15:40:08 +01:00
ErickSkrauch
86122c506a Fix footer's delimiter dots and profile's padding bottom [deploy dev] 2020-11-07 19:59:02 +03:00
ErickSkrauch
18a8037a0d Implemented visual indication for deleted accounts [deploy dev] 2020-10-27 01:46:57 +03:00
ErickSkrauch
8075192472 Split the AccountSwitcher component on 2 independent implementations
Improve auth's ChooseAccount visual behavior
Rework the ComponentLoader component. Make it more stylable
2020-10-26 22:09:01 +03:00
SleepWalker
cd8a5a8a8b chore: fix linting errors 2020-10-11 21:30:50 +03:00
SleepWalker
831ab42155 fix: correct logic for handling deleted users during oauth (#27) 2020-10-11 21:30:50 +03:00
SleepWalker
79ff3b9410 chore(build): enable support for ts declare fields 2020-10-11 21:30:50 +03:00
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
3b2fbb2cc4 Fixes by review 2020-08-04 13:48:16 +03:00
ErickSkrauch
00e74b1faf Add additional E2E tests cases for user agreement auth state and ensure, that oauth flow works correctly with deleted accounts 2020-08-01 22:19:00 +03:00
ErickSkrauch
60e892d993 Allow account deletion from the user agreement page 2020-08-01 01:49:30 +03:00
ErickSkrauch
7eeeb7cc61 Some auth storybooks progress [skip ci] 2020-08-01 01:49:30 +03:00
ErickSkrauch
3cff6ad26c Cover delete/restore account forms with E2E tests 2020-08-01 01:49:30 +03:00
ErickSkrauch
8ee2323bfa Prevent using any profile url when account is deleted 2020-08-01 01:49:30 +03:00
ErickSkrauch
dd506b894c Implemented loading state, when user clicked on the restore button 2020-08-01 01:49:30 +03:00
ErickSkrauch
55d767b65c Fix defaultMessages for the AccountDeleted component 2020-08-01 01:49:29 +03:00
ErickSkrauch
c0b3e328b6 Implemented handlers to delete/restore account. Implemented "account deleted" page 2020-08-01 01:49:29 +03:00
ErickSkrauch
9247ad7178 Implemented UI for the account deletion 2020-08-01 01:49:29 +03:00
ErickSkrauch
a790c2b24f Rework layout of the profile 2020-08-01 01:49:29 +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
d84497ac28 Rework Button component to pass its label via children content 2020-07-22 14:20:10 +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
75a7de2af2 Fix TS errors 2020-07-21 16:23:32 +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
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
af9bdcb20e Implemented source code popup markup 2020-07-12 01:57:40 +03:00
ErickSkrauch
70070ef516 Prepare footer for new item 2020-07-09 02:50:40 +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
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
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
ErickSkrauch
e962a01a4a Fix tests 2020-06-04 21:03:24 +03:00
ErickSkrauch
f2b4ee1b4d Remove all locales from the repository 2020-06-04 20:10:39 +03:00
ErickSkrauch
747e21f0ae Fix linting errors 2020-06-04 19:54:33 +03:00
ErickSkrauch
bf6a76d006 Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
ErickSkrauch
e47eaf720f Reimplement the pull command of the crowdin script 2020-05-26 19:22:21 +03:00
ErickSkrauch
f85b9d8d35 Change prettier rules 2020-05-24 02:08:24 +03:00
SleepWalker
0192f53932 Fix linting errors 2020-05-21 21:52:58 +03:00
SleepWalker
a5404002fd Bump deps 2020-05-21 21:52:58 +03:00