scorelab / Codelabz

Codelabz
Apache License 2.0
144 stars 410 forks source link

[Fix]: 'View More' Functionality and Initial User Display in Orgusers Component #1176 #1179

Open shikhar-4739 opened 7 months ago

shikhar-4739 commented 7 months ago

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

Checklist: