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

Data reports #719

Merged
merged 86 commits into from
May 12, 2021
Merged

Data reports #719

merged 86 commits into from
May 12, 2021

Conversation

TheSlimvReal
Copy link
Collaborator

@TheSlimvReal TheSlimvReal commented Mar 17, 2021

Visible/Frontend Changes

  • Add a component for admins to download reports for a specified time

Architectural/Backend Changes

  • Create new reporting module and aggregation service
  • Count children based on their attributes
  • Count events in a timespan based on attributes of linked activities and schools
  • Count participants of events in a timespan based on attributes of linked activities and schools
  • Create config structure for report queries
  • Combine query results in a excel
  • Add groupBy option which disaggregates objects by the passed attribute

@github-actions
Copy link
Contributor

@TheSlimvReal TheSlimvReal marked this pull request as ready for review May 11, 2021 07:32
@TheSlimvReal
Copy link
Collaborator Author

TheSlimvReal commented May 11, 2021

The new big changes:

  • Loading data only from the given from date till today
  • Directly passing the values of the groupBy`s down, so each row has a full list of values of the group it is in
  • Moved module to the features folder
  • isActive is now also a getter on the ChildSchoolRelation entity (I did not yet see a good reason to make the isActive a inherited property of Entity class).

@ghost
Copy link

ghost commented May 12, 2021

DeepCode's analysis on #14eaee found:

  • ℹ️ 1 minor issue. 👇

Top issues

Description Example fixes
Use an array literal instead of the Array constructor. Occurrences: 🔧 Example fixes

👉 View analysis in DeepCode’s Dashboard | Configure the bot

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
2.3% 2.3% Duplication

@TheSlimvReal TheSlimvReal merged commit 423a58e into master May 12, 2021
@TheSlimvReal TheSlimvReal deleted the data_reports branch May 12, 2021 12:26
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 2.49.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants