Closed publicqi closed 1 year ago
This PR extracts the frontend part of #86. It's a smaller PR now. The changes include :
See https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-4/prs/101/storybook/?path=/story/components-users-userstable--three-users
Hide/Unhide user page
Admin can hide/unhide users
A hidden user cannot do any operation (see backend checks). All endpoints with "ROLE_USER" are disabled.
npm test
npm run coverage
npx stryker run
npx eslint --fix src
Closes #48
Overview
This PR extracts the frontend part of #86. It's a smaller PR now. The changes include :
See https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-4/prs/101/storybook/?path=/story/components-users-userstable--three-users
Screenshots (Optional)
Hide/Unhide user page
Admin can hide/unhide users
A hidden user cannot do any operation (see backend checks). All endpoints with "ROLE_USER" are disabled.
Feedback Request (Optional)
Future Possibilities (Optional)
Validation (Optional)
Tests
npm test
) passnpm run coverage
) 100%npx stryker run
) 100%npx eslint --fix src
)Linked Issues
Closes #48