Commit Graph

135 Commits

Author SHA1 Message Date
Maren Süwer
83c5e6746b added first routing and mock for groups page 2018-07-31 10:16:18 +02:00
Sebastian Sdorra
cba3fc38e6 fixed code smells and added some more tests 2018-07-30 15:51:45 +02:00
Sebastian Sdorra
b825de3058 use pending and error module for auth, me and logout 2018-07-30 15:29:23 +02:00
Philipp Czora
e122a254c3 Added unit tests for users selectors 2018-07-30 15:04:44 +02:00
Sebastian Sdorra
a9ca309b39 fixed failing selector test 2018-07-30 13:41:42 +02:00
Sebastian Sdorra
7be1366c1a update users module to use new pending and error state 2018-07-30 13:38:15 +02:00
Sebastian Sdorra
9e029c0c5c created pending and failure module 2018-07-30 11:18:20 +02:00
Sebastian Sdorra
2511e99409 small fixes in users module 2018-07-30 11:17:47 +02:00
Sebastian Sdorra
f9f93b338e match user and users path in primary navigation 2018-07-30 09:36:44 +02:00
Philipp Czora
768e1afd1a Minor changes due to review 2018-07-30 09:32:13 +02:00
Philipp Czora
08ac5af812 Merged in feature/ui_users_paging (pull request #53)
Feature/ui users paging
2018-07-30 07:19:59 +00:00
Philipp Czora
82f50c3404 Fixed test structure for users 2018-07-30 09:12:33 +02:00
Philipp Czora
b247820fc9 Merged branches 2018-07-27 13:24:28 +02:00
Philipp Czora
e5f7621bad Fixed minor issues 2018-07-27 11:52:08 +02:00
Sebastian Sdorra
e34904afce move loading state for add user back to the submit button
This change is necessary, because the old loading behaviour forces the form to rerender, which in turn causes a lost of the input. Now the loading state is back to the submit button.
2018-07-27 10:54:49 +02:00
Sebastian Sdorra
c7171dd540 treat empty user creation form as invalid 2018-07-27 10:43:06 +02:00
Sebastian Sdorra
26e3525d4c reset create form on load 2018-07-27 10:38:35 +02:00
Sebastian Sdorra
387aa23cd4 fixed switch between controlled and uncontrolled input fields 2018-07-27 10:29:22 +02:00
Sebastian Sdorra
70df3e043d prevent for submit with invalid values 2018-07-27 10:24:03 +02:00
Sebastian Sdorra
466d8255eb removed unnecessary escaping 2018-07-27 10:17:48 +02:00
Sebastian Sdorra
92d0fc6e69 separate validation logic to simplify testing and use same logic as backend 2018-07-27 10:14:55 +02:00
Sebastian Sdorra
7bd03ed8b5 remove unused import 2018-07-27 08:05:51 +02:00
Sebastian Sdorra
968d4efd0d simplify users by using selectors 2018-07-27 08:04:48 +02:00
Sebastian Sdorra
9421359f87 added test for button click 2018-07-27 07:30:40 +02:00
Sebastian Sdorra
ac32b88256 start implementation of pagination for users 2018-07-26 15:30:28 +02:00
Maren Süwer
52b98c196d add validation 2018-07-26 15:29:21 +02:00
Maren Süwer
a7ac146161 add remark to possible translation of error messages 2018-07-26 10:26:37 +02:00
Maren Süwer
0ab0950bb3 remove unused import 2018-07-26 10:20:09 +02:00
Maren Süwer
82760ffb89 update translation 2018-07-26 10:19:26 +02:00
Philipp Czora
c4249f97d1 Prettified users.js 2018-07-26 10:00:48 +02:00
Philipp Czora
38f57883f6 Merged heads 2018-07-26 09:54:34 +02:00
Philipp Czora
a5e33072d3 Merged heads 2018-07-26 09:52:21 +02:00
Maren Süwer
1158802492 refactoring of buttons to navLinks 2018-07-26 09:49:44 +02:00
Philipp Czora
3ac532e605 Split user reducer 2018-07-26 09:25:42 +02:00
Sebastian Sdorra
0d551de147 go back to detail page after successfully modify 2018-07-26 08:51:05 +02:00
Sebastian Sdorra
88dda4f98d navigate back to users page after delete 2018-07-26 08:33:22 +02:00
Sebastian Sdorra
b0f801be78 removed unused import 2018-07-26 08:33:00 +02:00
Sebastian Sdorra
3267f05fdf removed fetchUsers on modify and introduced callbacks for modify and delete 2018-07-26 08:32:46 +02:00
Philipp Czora
4c788f18fb Merge heads 2018-07-25 16:43:40 +02:00
Philipp Czora
d0c8b66459 Added unit tests 2018-07-25 16:42:52 +02:00
Christoph Wolfes
84a4e519df fixes merge conflict with commit 9a44d02
(do not allow change username field on edit)
2018-07-25 15:37:00 +02:00
Christoph Wolfes
d1bbb6a14f updates users structure 2018-07-25 15:04:19 +02:00
Sebastian Sdorra
fdce7be66e do not allow change user name field on edit 2018-07-25 14:47:42 +02:00
Christoph Wolfes
08cfe35e1e Merge 2018-07-25 14:35:37 +02:00
Sebastian Sdorra
9c6882ee6e fixed users reducer and seperate create state 2018-07-25 14:34:00 +02:00
Christoph Wolfes
7b37e4e9b6 updates root components structure 2018-07-25 14:29:43 +02:00
Philipp Czora
7b921da174 use list/byNames in user state, merged heads 2018-07-25 13:57:24 +02:00
Sebastian Sdorra
fe0b7ea986 restructure ui for users 2018-07-25 13:21:49 +02:00
Sebastian Sdorra
978565609a fixed reducer for FETCH_USER_SUCCESS 2018-07-25 09:44:48 +02:00
Sebastian Sdorra
743bd61ddd add pre-commit script with eslint and flow 2018-07-25 08:53:37 +02:00