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

WebApp: Reflect excluded affected paths of issues in the UI #8562

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

fviernau
Copy link
Member

@fviernau fviernau commented Apr 24, 2024

The effect on the UI is visible only under the issues summary view and is as follows:

  1. The excluded state icon of issues now reflects excluded affected paths
  2. The filtering of excluded issues now filters out issues with excluded affected paths

Note: This PR can be easily verified by creating a WebApp report from ./plugins/reporters/evaluated-model/src/funTest/assets/reporter-test-input.yml.

Part of: #7921.

UI Changes

  1. Excluded scan timeout issue for non-excluded package Gradle:org.ossreviewtoolkit.gradle.example:lib:1.0.0 now grayed out:
    Screenshot from 2024-04-25 13-11-58
  2. After adjusting the filter for excluded issues, the issue is properly hidden:
    Screenshot from 2024-04-25 13-12-20

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.70%. Comparing base (95b82fa) to head (dc03962).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8562   +/-   ##
=========================================
  Coverage     67.70%   67.70%           
  Complexity     1007     1007           
=========================================
  Files           246      246           
  Lines          7924     7924           
  Branches        883      883           
=========================================
  Hits           5365     5365           
  Misses         2176     2176           
  Partials        383      383           
Flag Coverage Δ
funTest-docker 66.49% <ø> (ø)
funTest-non-docker 34.71% <ø> (ø)
test 37.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fviernau fviernau force-pushed the webapp-combined branch 4 times, most recently from f3bd08d to 135225d Compare April 25, 2024 11:10
@fviernau fviernau marked this pull request as ready for review April 25, 2024 11:10
@fviernau fviernau requested review from tsteenbe and a team as code owners April 25, 2024 11:10
heliocastro
heliocastro previously approved these changes Apr 26, 2024
Copy link
Contributor

@heliocastro heliocastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

mnonnenmacher
mnonnenmacher previously approved these changes Apr 26, 2024
This can be useful for filtering issues, for example in reporters.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
The property is supposed to be used to filter out excluded issues in
the WebApp.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
Align with the recently added corresponding property in
`EvaluatedIssue`.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
This recently added property is `true` if and only if the related
corresponding package is excluded or if the corresponding non-null
affected path is excluded.

So, the exclusion filter in the issues tab as of this change handles
excluded affected paths of issues.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
@fviernau fviernau merged commit 7c74524 into main Apr 26, 2024
22 checks passed
@fviernau fviernau deleted the webapp-combined branch April 26, 2024 12:23
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.

4 participants