Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Modify user group report results logic #96

Merged
merged 4 commits into from
May 22, 2022

Conversation

d-rita
Copy link
Contributor

@d-rita d-rita commented May 17, 2022

Due to the API endpoint upgrade here -> hotosm/galaxy-api#213, the results returned are already filtered to reflect the keys used on the User Group Report.

Hence this PR removes the redundant filter logic and maps the keys directly to the aggregated array used in displaying the User Group Report Results.

d-rita added 4 commits May 17, 2022 09:38
- Due to the API endpoint upgrade, user stats can be retrieved directly
- Remove redundant userGroup feature-count-and-filter util function
- Map relevant stats directly to keys in data aggregation function
@kshitijrajsharma
Copy link
Member

I will wait until - hotosm/insights#23 this fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] UI is throwing error when user has no stats for given timeframe Update user group report logic
2 participants