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

Ws 119/admin listing page #6179

Merged
merged 44 commits into from
Apr 1, 2021
Merged

Ws 119/admin listing page #6179

merged 44 commits into from
Apr 1, 2021

Conversation

robmarch2
Copy link
Contributor

No description provided.

@robmarch2 robmarch2 requested a review from ajrussellaudio March 4, 2021 10:08
Copy link
Contributor

@ajrussellaudio ajrussellaudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of comments but it looks great overall.

A couple of general concerns that won't block anything here:

  • The lack of tests here gives me The Fear
  • I've used styled-components in my half of this task, you've gone for regular CSS here. It makes no difference to me which way we go, but we should pick one and migrate the other over.

identity-admin/webapp/interfaces/index.ts Show resolved Hide resolved
identity-admin/webapp/interfaces/index.ts Outdated Show resolved Hide resolved
identity-admin/webapp/interfaces/index.ts Show resolved Hide resolved
identity-admin/webapp/pages/api/users.ts Outdated Show resolved Hide resolved
identity-admin/webapp/pages/api/users.ts Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/SearchInput.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/StatusDropdown.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/UserList.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/Pagination.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/pages/api/users.ts Outdated Show resolved Hide resolved
…thub.com/wellcomecollection/wellcomecollection.org into WS-119/admin-listing-page

� Conflicts:
�	identity-admin/webapp/package.json
�	identity-admin/webapp/pages/_app.tsx
�	identity-admin/webapp/pages/index.tsx
�	identity-admin/webapp/yarn.lock
@robmarch2 robmarch2 marked this pull request as ready for review March 24, 2021 17:37
Copy link
Contributor

@ajrussellaudio ajrussellaudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly changes to the tests

identity-admin/webapp/components/search/UserListItem.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/StatusDropdown.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/Pagination.tsx Outdated Show resolved Hide resolved
identity-admin/webapp/components/search/StatusDropdown.tsx Outdated Show resolved Hide resolved
Comment on lines 162 to 163
background-color: rgb(233, 236, 239);
color: grey;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is equivalent to:

  background-color: #E9ECEF;
  color: #808080;

This doesn't meet contrast guidelines. The text should be #696969 or darker, which I think still makes it obvious that the link is disabled:

image

Copy link
Contributor

@ajrussellaudio ajrussellaudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job. Works well and looks great 👍

@robmarch2 robmarch2 merged commit 4562cdd into master Apr 1, 2021
@robmarch2 robmarch2 deleted the WS-119/admin-listing-page branch April 1, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants