World-Cleanup-Day icon indicating copy to clipboard operation
World-Cleanup-Day copied to clipboard

(Web) (Admin) Admin cannot see summary of trashpoints for the country since new release

Open kadry55 opened this issue 6 years ago • 4 comments

When clicking on a country, it should be possible to see how many trashpoints is created, how many are cleaned, etc.

kadry55 avatar Jul 20 '18 11:07 kadry55

country statistics

Icon and number or something else?

KristiinaKerge avatar Aug 07 '18 08:08 KristiinaKerge

Icon and number is enough. This should be also on superadmin level for global results. And for users: country level and global level.

kadry55 avatar Aug 07 '18 08:08 kadry55

The component is already there from before (displayed only for one use-case — teams) and it needs to stay on top as before, otherwise we'd need horizontal scrollbars, which is a UI nightmare.

The original code is still there, just unused, as events received their own TrashpointList and there's no general list of trashpoints any more. A renderStatusCounts function is used in both implementations.

lynxlynxlynx avatar Aug 12 '18 15:08 lynxlynxlynx

Interestingly, superadmins can still see country stats by visiting https://app.worldcleanupday.com/user-areas and picking one. Leaders get the user list though, so it doesn't solve much. Not hard to make togglable and expose it as another menu entry, just harder to test.

lynxlynxlynx avatar Aug 20 '18 15:08 lynxlynxlynx