Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View user details #679

Merged
merged 29 commits into from
Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
14f03e1
View user details (#673)
KjartanE Dec 10, 2021
017da4b
added delete functionality and error handling.
KjartanE Dec 10, 2021
ecad61c
Delete user button added and errors handled.
KjartanE Dec 13, 2021
af1f603
Handled selected User reload.
KjartanE Dec 13, 2021
38a0ff7
merge dev
KjartanE Dec 16, 2021
b353d46
code cleaned up and api end point moved.
KjartanE Dec 16, 2021
d3e984d
fixed code smeels and formatting
KjartanE Dec 16, 2021
cb8c66b
reduce duplication, and remove local storage
KjartanE Dec 17, 2021
ab0deec
integrate re-fetch user from api and loading icon
KjartanE Dec 17, 2021
6c00230
Update app/src/hooks/api/useUserApi.ts
KjartanE Dec 17, 2021
d5c6fe7
Merge branch 'dev' of https://github.com/bcgov/biohubbc into view_use…
KjartanE Dec 20, 2021
38ee4b1
Detail edits and refactor
KjartanE Dec 20, 2021
9494b55
Merge branch 'view_user_details' of https://github.com/bcgov/biohubbc…
KjartanE Dec 20, 2021
ee49021
Added api tests and fixed frontend tests
KjartanE Dec 20, 2021
2692037
removed .only
KjartanE Dec 20, 2021
2d55d4f
fixed bad actual return.
KjartanE Dec 20, 2021
fccf29b
Added no projects handler.
KjartanE Dec 20, 2021
8642856
small UI changes
KjartanE Dec 20, 2021
00a9c5f
Large refactor
KjartanE Dec 21, 2021
b9bc083
Working verison of checkProjectLead refactor
KjartanE Dec 21, 2021
1220949
Final fixes to error messages and delete user.
KjartanE Dec 22, 2021
39820fb
front end testing
KjartanE Dec 22, 2021
8dce481
- Update tests
NickPhura Dec 22, 2021
2e75244
Merge branch 'view_user_details' of https://github.com/bcgov/biohubbc…
NickPhura Dec 22, 2021
86298d0
Merge branch 'dev' of https://github.com/bcgov/biohubbc into view_use…
KjartanE Dec 22, 2021
4b6513a
Merge branch 'dev' into view_user_details
NickPhura Dec 22, 2021
69e95b6
Merge branch 'view_user_details' of https://github.com/bcgov/biohubbc…
KjartanE Dec 22, 2021
ab4f045
format-fix
KjartanE Dec 22, 2021
7d4cf20
Tweaks
NickPhura Dec 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/src/__mocks__/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ export const getMockDBConnection = (config?: Partial<IDBConnection>): IDBConnect
};
};

export type ExtendedMockReq = MockReq & Request & { [key: string]: any };
export type ExtendedMockReq = MockReq & Request;
export class MockReq {
query = {};
params = {};
body = {};
files = [];
files: any[] = [];
}

export type ExtendedMockRes = MockRes & Response;
Expand Down
Loading