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 Related Rules Grouping #604

Merged
merged 6 commits into from
Aug 25, 2023
Merged

Fix Related Rules Grouping #604

merged 6 commits into from
Aug 25, 2023

Conversation

vanessuniq
Copy link
Contributor

Issue

Some Vulcan components are added to multiple projects as overlaid causing some related rules results to appear as duplicate when grouping by rules by component name only.

Changes

  • Made the Project info available on the RelatedRulesComponent
  • Combined Component's name and project name to fix related rules grouping

@vanessuniq vanessuniq added the bug Something isn't working label Aug 24, 2023
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 24, 2023 20:22 Inactive
@vanessuniq vanessuniq enabled auto-merge (squash) August 24, 2023 20:22
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 24, 2023 22:43 Inactive
Copy link
Contributor

@freddyfeelgood freddyfeelgood left a comment

Choose a reason for hiding this comment

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

@vanessuniq I was getting errors when pressing "Enter" on the search block for the toLowerCase() conversion when the text was null. I added a "convertLower" function that returns empty string if the text is null. If you want to change it (to return null, or just return 'text', etc.), please do.

Everything else looks great! I tested with admin rights and with just plain user rights and everything looks good.

@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 24, 2023 22:59 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 24, 2023 23:11 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 25, 2023 14:47 Inactive
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-604 August 25, 2023 15:00 Inactive
Copy link
Contributor

@freddyfeelgood freddyfeelgood 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!

@vanessuniq vanessuniq merged commit 44e2379 into master Aug 25, 2023
1 check passed
@vanessuniq vanessuniq deleted the fix_related_rules_grouping branch August 25, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants