Skip to content
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

823 admin frontend view users list with sorting functionality #852

Conversation

Andrewakiv
Copy link
Collaborator

Create a user management table with sorting, pagination, and status filtering functionality. The table should display user information (name, email, company, status, registration date), allow sorting by columns, filter by status

@Andrewakiv Andrewakiv self-assigned this Oct 29, 2024
Comment on lines 41 to 45
const newOrder = sortInfo.order === 'ascend'
? 'descend'
: sortInfo.order === 'descend'
? null
: 'ascend';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Tripple ternary is a bad code smell. Consider using if/else.

@Andrewakiv Andrewakiv merged commit 9413396 into develop Nov 4, 2024
4 checks passed
@Andrewakiv Andrewakiv deleted the 823-Admin-Frontend-View-Users-List-with-Sorting-Functionality branch November 4, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants