-
Notifications
You must be signed in to change notification settings - Fork 406
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
Paginated, searchable people page with other enhancements #1345
Paginated, searchable people page with other enhancements #1345
Conversation
3cfae22
to
33b28a8
Compare
@lperson is this one out of WIP state now Larry? Should I assign a reviewer? |
No. I'm still writing tests. 😷 🤧 🎉 |
Deployment is throwing an error ReferenceError: INITIAL_ROW_SIZE is not defined on https://spoke-review-lp-1326-pa-zsgokr.herokuapp.com/admin/1/campaigns |
}); | ||
|
||
it("updates the user if it is called with a userId and userData", async () => { | ||
const userData = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amusing test user :)
|
||
testAdminUsers = []; | ||
testAdminUsers.push( | ||
await createUser({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would there be any value in moving reused test data to a common place to reduce duplication?
"%" | ||
).toLocaleLowerCase(); | ||
|
||
if (filterBy === "FIRST_NAME") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion to introduce constants for the filter strings
@bdatkins wrote:
Bad merge. I got rid of the variable in this branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, @lperson ! Looks good.
I verified the functionality in the Heroku environment listed above. |
Fixes #1326
This PR brings people page enhancements over from the WFP fork.
Description
This is bigger than 300 lines because of tests and also because it's a big chunk of work.
Checklist:
My change is 300 lines of code or less, or has a documented reason in the description why it’s longerMy PR is labeled [WIP] if it is in progress