Add users endpoint to frontend API class
What does this MR do?
Add method to access /api/v4/users
endpoint from frontend.
Why was this MR needed?
Frontend needs a way to access user display name and avatar for a given user name.
What are the relevant issue numbers?
Merge request reports
Activity
added 2 commits
@mikegreiling Could you take a look at this?
I need to access
/api/v4/users
for #30468 (closed) and thought I do some cleanup along the way.assigned to @mikegreiling
assigned to @winh
mentioned in commit 10696bfd
added 3 commits
- 202cc313 - Add tests for frontend API class
- f38e3719 - Clean up api.js
- 10696bfd - Add users endpoint to frontend API class (!11374 (merged))
mentioned in commit 199b7853
added 57 commits
-
10696bfd...84199f19 - 54 commits from branch
master
- 454867cc - Add tests for frontend API class
- 1251734e - Clean up api.js
- 199b7853 - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
10696bfd...84199f19 - 54 commits from branch
mentioned in commit 16a5bd01
added 17 commits
-
199b7853...8b66e42b - 14 commits from branch
master
- f81aa2fa - Add tests for frontend API class
- 2c646eb8 - Clean up api.js
- 16a5bd01 - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
199b7853...8b66e42b - 14 commits from branch
mentioned in commit 9dff6343
added 1 commit
- 9dff6343 - Add users endpoint to frontend API class (!11374 (merged))
mentioned in commit c449b21b
mentioned in commit 027946db
mentioned in merge request !11404 (merged)
mentioned in commit e4695468
added 28 commits
-
9dff6343...bcc5135b - 25 commits from branch
master
- ac4bc75c - Add tests for frontend API class
- 22b2dfa0 - Clean up api.js
- e4695468 - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
9dff6343...bcc5135b - 25 commits from branch
mentioned in commit a74bad29
added 61 commits
-
e4695468...6a2bcb4b - 58 commits from branch
master
- 48f31aa7 - Add tests for frontend API class
- afa03540 - Clean up api.js
- a74bad29 - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
e4695468...6a2bcb4b - 58 commits from branch
added 1 commit
- 147fdf04 - Fix call to Api.buildUrl in groups_select.js
added 1 commit
- 147fdf04 - Fix call to Api.buildUrl in groups_select.js
mentioned in commit 36b33a20
tests are finally passing agin
@mikegreiling Could you take a look at this?
Edited by Winnie Hellmannassigned to @mikegreiling
mentioned in commit 7f1797e8
added 6 commits
-
147fdf04...9fde881d - 3 commits from branch
master
- e0ab28de - Add tests for frontend API class
- ac95250e - Clean up api.js
- 7f1797e8 - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
147fdf04...9fde881d - 3 commits from branch
- Resolved by Winnie Hellmann
assigned to @winh
- Resolved by Winnie Hellmann
mentioned in issue #32435 (moved)
mentioned in commit 25c3aa5a
added 42 commits
-
7f1797e8...319cab41 - 39 commits from branch
master
- c7278e6b - Add tests for frontend API class
- 8e85534d - Clean up api.js
- 25c3aa5a - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
7f1797e8...319cab41 - 39 commits from branch
@mikegreiling looks goods to you now?
assigned to @mikegreiling
- Resolved by Winnie Hellmann
blocked by !11455 (merged)
added blocked label
mentioned in commit b137b8fe
removed blocked label
added 12 commits
-
25c3aa5a...fb31c6ce - 9 commits from branch
master
- 38898b82 - Add tests for frontend API class
- 1e262c71 - Clean up api.js
- b137b8fe - Add users endpoint to frontend API class (!11374 (merged))
Toggle commit list-
25c3aa5a...fb31c6ce - 9 commits from branch
- Resolved by Winnie Hellmann
This LGTM
@ClemMakesApps can you merge this?
assigned to @ClemMakesApps
mentioned in issue #32488 (moved)
- Resolved by Winnie Hellmann
- Resolved by username-removed-636429
Just a few comments @winh
assigned to @winh
mentioned in commit c45c74fd
added 3 commits
- 16e972a6 - Add tests for frontend API class
- 7fb99697 - Clean up api.js
- c45c74fd - Add users endpoint to frontend API class (!11374 (merged))
assigned to @ClemMakesApps
@mikegreiling can you review?
assigned to @mikegreiling
This looks good to me... @winh you can ignore the object spread comment, just an alternative syntax to consider in the future. no need to make yet another round of changes. when it's compiled, it gets turned into
Object.assign
by babel anyway.@ClemMakesApps can you merge this?
assigned to @ClemMakesApps
LGTM, Thanks @winh!
mentioned in commit 9d2d1042
mentioned in merge request !11402 (merged)
mentioned in issue gitlab#9926
mentioned in issue gitlab#9941