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

Refactor: Simplify statistics code #2827

Conversation

abraemer
Copy link
Contributor

@abraemer abraemer commented Feb 28, 2025

Summary of changes

  • use the power of lodash to simplify the statistics code
  • distribute the logic closer to the components it actually concerns
  • simplify type that are used to communicate the information

Context and reason for change

The statistics code was rather convoluted and also computed a bit strange metrics.

WIP:

  • I want to refactor the components and wait until they are stabilized higher in the stack

PhilippMa and others added 24 commits February 25, 2025 18:25

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
…by classification
* as there was only one remaining component it, move its functionality there
…lity

* group columns into license info and source count columns
* give alternating background color to table rows
@PhilippMa PhilippMa force-pushed the feat/add-classification-column branch from b83d24e to 57504de Compare February 28, 2025 17:47
Base automatically changed from feat/add-classification-column to feat/move-criticality-display March 4, 2025 09:52
@PhilippMa PhilippMa force-pushed the feat/move-criticality-display branch from a07a4e6 to 05ee92b Compare March 4, 2025 18:15
Base automatically changed from feat/move-criticality-display to feat/classification-pie-chart March 5, 2025 07:47
@PhilippMa PhilippMa force-pushed the feat/classification-pie-chart branch 2 times, most recently from 1d56540 to b8b2d3d Compare March 12, 2025 11:03
@PhilippMa PhilippMa force-pushed the feat/classification-pie-chart branch from b8b2d3d to 53c990f Compare March 12, 2025 11:08
Base automatically changed from feat/classification-pie-chart to feat/introduce_license_classification March 12, 2025 15:25
@abraemer abraemer closed this Mar 20, 2025
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.

2 participants