Task/WP-32--onboarding page filter show incomplete #891
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The onboarding Admin page has checkbox to filter users whose onboarding steps aren't complete. This makes it easier to view users who have Allocations and System Access steps not completed.
Related
Changes
Testing
users.jsx
and add dummy users (https://gist.github.com/asimregmi/891566eab2ecf34b71d26f6d226be10c)OnboardingAdmin.jsx
Import :
import dummyusers from './users'
In line 243, remove { users }
In line 246:
const users = useSelector((state) => dummyusers)
Another testing method: Add new entry to the props from the React dev tools, but might be inefficient
UI
Notes
Dummy Users file for testing
users.jsx