goat-community / goat

This is the home of Geo Open Accessibility Tool (GOAT)
GNU General Public License v3.0
89 stars 47 forks source link

Admin Dashboard - CRUD Users #1379

Closed majkshkurti closed 1 year ago

majkshkurti commented 1 year ago

Goal of this issue

Ability to see users list and apply CRUD on them in the dashboard users tab.

Resources

Deliverables

cinaaaa commented 1 year ago

@majkshkurti @metemaddar Requirements need to unblock reaching this goal.

metemaddar commented 1 year ago

@cinaaaa From witch branch are you getting the API?

cinaaaa commented 1 year ago

@metemaddar I'm using https://goat-dev.plan4better.de/api/v1/

majkshkurti commented 1 year ago

@cinaaaa The skip and limit parameters are already there but the sort and filter we haven't implemented yet. Maybe, for now, you can try to do it on the client as we don't have a lot of users anyways. The user list response will be rather small.

cinaaaa commented 1 year ago

@majkshkurti To handle pagination I need to have a total users count, besides the filters. {data: [...], count: all of the users' count in our database}

cinaaaa commented 1 year ago

The search and paginations handled in the client side