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

fix(RHINENG-13688): Convert publish date filter to select #2181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnsonm325
Copy link
Contributor

This PR removes the radios from the publish date filter dropdown on the CVEs table toolbar. It implements the custom Select filter that was created for the Create Report modal.

The publish date filter on the CVEs table does not include the "All" option. In order to get all publish dates, a user must remove any applied publish date filter.

The Create Report modal, on the other hand, does include the "All" option because there is no way for a user to remove a publish date filter if one is applied.

@johnsonm325 johnsonm325 requested a review from a team as a code owner December 20, 2024 14:14
Copy link

jira-linking bot commented Dec 20, 2024

Referenced Jiras:
https://issues.redhat.com/browse/RHINENG-13688

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.07%. Comparing base (ea0ee8f) to head (d489d8d).

Files with missing lines Patch % Lines
...onents/Filters/CustomFilters/SelectCustomFilter.js 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2181      +/-   ##
==========================================
- Coverage   67.11%   67.07%   -0.05%     
==========================================
  Files         129      129              
  Lines        3473     3468       -5     
  Branches     1104     1104              
==========================================
- Hits         2331     2326       -5     
  Misses       1142     1142              

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

Copy link
Contributor

@LightOfHeaven1994 LightOfHeaven1994 left a comment

Choose a reason for hiding this comment

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

@johnsonm325 generally looks good, but I think we need to fix
We don't need to show Publish date: filter name here

image

but I know there is another place where we need to show it (this is correct)

image

This PR removes the radios from the publish date filter dropdown on the CVEs table toolbar. It implements the custom Select filter that was created for the Create Report modal.

The publish date filter on the CVEs table does not include the "All" option. In order to get all publish dates, a user must remove any applied publish date filter.

The Create Report modal, on the other hand, does include the "All" option because there is no way for a user to remove a publish date filter if one is applied.
@johnsonm325
Copy link
Contributor Author

@LightOfHeaven1994 good find. Should be fixed now.

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