Codelabz
Codelabz copied to clipboard
[Fix]: 'View More' Functionality and Initial User Display in Orgusers Component #1176
Description
This PR addresses a issue in the Orgusers component where the functionality of the "View More" button is impaired, and all users are displayed initially, contrary to the intended behavior. The proposed changes aim to rectify these issues by implementing logic to properly toggle the visibility of additional users when the "View More" button is clicked. Additionally, adjustments are made to ensure that only a limited number of users are displayed initially, enhancing interface clarity and usability.
Related Issue
fixes #1176
Motivation and Context
How Has This Been Tested?
tested locally on my machine.
Screenshots or GIF (In case of UI changes):
https://github.com/scorelab/Codelabz/assets/135845175/2bd7387e-6f25-42bd-ad7e-2d9e6f46e3de
Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [X] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [X] All new and existing tests passed.