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
4465805585
added pre-commit section to readme
2018-07-25 08:57:38 +02:00
Sebastian Sdorra
743bd61ddd
add pre-commit script with eslint and flow
2018-07-25 08:53:37 +02:00
Sebastian Sdorra
06980da1c2
fixed some flow issues
2018-07-25 08:25:07 +02:00
Philipp Czora
b5f64429d4
Use Me-type
2018-07-24 17:05:38 +02:00
Philipp Czora
181a9e9786
Cleanup in users.js
2018-07-24 16:45:09 +02:00
Sebastian Sdorra
1237f49d9f
branch heads
2018-07-24 16:41:01 +02:00
Sebastian Sdorra
65b69d7c6f
fixed some flow warnings
2018-07-24 16:39:28 +02:00
Christoph Wolfes
168d5c601c
Merge
2018-07-24 16:38:44 +02:00
Christoph Wolfes
0a3b69e844
updates flow version 0.77.0
2018-07-24 16:34:20 +02:00
Sebastian Sdorra
7bd7b70031
merge branch heads
2018-07-24 16:29:28 +02:00
Sebastian Sdorra
13c6b6f15c
added i18n for repository module
2018-07-24 16:25:01 +02:00
Sebastian Sdorra
72433cfe4c
removed unused const USER_URL
2018-07-24 16:19:02 +02:00
Sebastian Sdorra
980bd5b98c
fixed failing tests and added helper for tests with i18n
2018-07-24 16:13:48 +02:00
Sebastian Sdorra
fd01cb0573
translate users module
2018-07-24 16:04:55 +02:00
Christoph Wolfes
7f088f54e7
Merge
2018-07-24 15:56:23 +02:00