Skip to content

There is no way to sort for users in the list of users #3265

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

Closed
rowasc opened this issue Aug 31, 2018 · 16 comments · Fixed by ushahidi/platform-client#1512
Closed

There is no way to sort for users in the list of users #3265

rowasc opened this issue Aug 31, 2018 · 16 comments · Fixed by ushahidi/platform-client#1512
Assignees
Labels
Codebase: Client Indicates issue work will be in client Community Task Issues that the Ushahidi OSS community is encouraged to contribute to good-first-issue Issues that are ideal for first time contributors to OSS or first time contributing to the platform Theme: Users and roles
Milestone

Comments

@rowasc
Copy link
Contributor

rowasc commented Aug 31, 2018

Want to work on this issue?🙋

Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

Describe the bug

There is no way to sort users in the user list

To Reproduce

Steps to reproduce the behavior:

  1. Go to Settings->User as an admin
  2. You won't have a way to sort users

Expected behavior

Users should be sortable.

Context
I think this may not be a bug, but i'm reporting it because it was part of the original regressions

@rowasc rowasc changed the title There is no way to sort for users in the list of uswers There is no way to sort for users in the list of users Aug 31, 2018
@Angamanga Angamanga added Codebase: Client Indicates issue work will be in client Community Task Issues that the Ushahidi OSS community is encouraged to contribute to good-first-issue Issues that are ideal for first time contributors to OSS or first time contributing to the platform and removed Enhancement labels Apr 29, 2019
@rowasc rowasc added the Hacktoberfest Issues open to folks participating in hacktoberfest label Sep 28, 2019
@c3ho
Copy link

c3ho commented Oct 4, 2019

Hi, first-time contributor. Can I try to work on this issue?

@rowasc
Copy link
Contributor Author

rowasc commented Oct 6, 2019

Thank you for getting in touch.
Yes you can 🎉 . Tag @Angamanga or @rowasc if you get stuck :) Sorry for the delay!

@c3ho
Copy link

c3ho commented Oct 23, 2019

@rowasc any particular sort methods for the users you wanted? The only ones I can see at the moment would be alphabetical and roles.

I was thinking of adding a button, but reading the contributor thing I found the platform-pattern-library you guys have and will try to use the search and filter one that is listed

@Angamanga
Copy link
Contributor

@c3ho Yes, alphabetical and roles would be a great start! Try with the search and filter-ui (its used it the map and data-view, you can peak at the code for that here: https://github.com/ushahidi/platform-client/tree/develop/app/main/posts/views/filters and more specifically here: https://github.com/ushahidi/platform-client/blob/develop/app/main/posts/views/filters/filters-dropdown.html). Thanks for looking into this 🎉 🎉

@sparshkrjha
Copy link

@rowasc @Angamanga Can I also work on this issue?

@Angamanga
Copy link
Contributor

@sparshkrjha Yes please go ahead :) Thank you for your interest in contributing!

@Angamanga Angamanga added GSoC and removed Hacktoberfest Issues open to folks participating in hacktoberfest labels Mar 4, 2020
@Angamanga
Copy link
Contributor

@sparshkrjha How is it going? Please let me know if you need any guidance with this!

@himil-vasava
Copy link

@Angamanga @rowasc Can I work on this issue?

@Angamanga
Copy link
Contributor

@himil-vasava Yes, please go ahead :) Thank you!

@himil-vasava
Copy link

@Angamanga should i create a dropdown for sorting and have two options in it - alphabetical and roles ?

@Angamanga
Copy link
Contributor

@himil-vasava Yes that sounds good 👍

@himil-vasava
Copy link

@Angamanga could you please elaborate on sorting according to roles.

@Angamanga
Copy link
Contributor

@himil-vasava Roles is hard to sort, but we can filter them with checkboxes, i.e. if you select a specific role, only those users should be visible. Something like this:
Screenshot 2020-04-22 at 09 18 29

@himil-vasava
Copy link

himil-vasava commented Apr 22, 2020

@Angamanga I think that feature is already there
Screenshot from 2020-04-22 12-57-22

@Angamanga
Copy link
Contributor

@himil-vasava Ah, just add alphabetical sort then :)

@himil-vasava
Copy link

@Angamanga could you please help me by telling what i am doing wrong here in the pull request

@tuxpiper tuxpiper added this to the 4.6.1 milestone Aug 25, 2020
@tuxpiper tuxpiper mentioned this issue Aug 26, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codebase: Client Indicates issue work will be in client Community Task Issues that the Ushahidi OSS community is encouraged to contribute to good-first-issue Issues that are ideal for first time contributors to OSS or first time contributing to the platform Theme: Users and roles
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants