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

Remove groups.js angular controller #6543

Merged
merged 7 commits into from
Mar 22, 2024

Conversation

lucianogorza
Copy link
Contributor

@lucianogorza lucianogorza commented Mar 20, 2024

Description

This pull request removes the AngularJS controller for manage groups.

Issues Resolved

#6540

Evidence

groups.webm

Test

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Create and delete groups
Check group detail page
Go to group detail -> Manage agents: Add and remove agents

Details

⚫ Create and delete groups

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Check group detail page

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Go to group detail -> Manage agents: Add and remove agents

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@lucianogorza lucianogorza self-assigned this Mar 20, 2024
@lucianogorza lucianogorza linked an issue Mar 20, 2024 that may be closed by this pull request
@lucianogorza lucianogorza marked this pull request as ready for review March 20, 2024 21:01
@Desvelao
Copy link
Member

Test

UI

Test Chrome Firefox Safari
Create and delete groups 🟢
Check group detail page 🟢
Go to group detail -> Manage agents: Add and remove agents 🟢

Details

🟢 Create and delete groups

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

🟢 Check group detail page

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

🟢 Go to group detail -> Manage agents: Add and remove agents

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

Copy link
Member

@Desvelao Desvelao left a comment

Choose a reason for hiding this comment

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

LGTM!

@JuanGarriuz JuanGarriuz self-requested a review March 22, 2024 09:43
Copy link
Member

@JuanGarriuz JuanGarriuz left a comment

Choose a reason for hiding this comment

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

LGTM!!

CR ✔️

Test ✔️

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Create and delete groups 🟢
Check group detail page 🟢
Go to group detail -> Manage agents: Add and remove agents 🟢

Details

🟢 Create and delete groups

Chrome - 🟢

image
image
image
image
image

Firefox - ⚫

Safari - ⚫

🟢 Check group detail page

Chrome - 🟢

image
image

Firefox - ⚫

Safari - ⚫

🟢 Go to group detail -> Manage agents: Add and remove agents

Chrome - 🟢

image
image
image
image

Firefox - ⚫

Safari - ⚫

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 28.94% ( 286 / 988 )
Branches 26.22% ( 107 / 408 )
Functions 26.87% ( 86 / 320 )
Lines 28.68% ( 278 / 969 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 12.1% ( 4204 / 34716 )
Branches 7.8% ( 1774 / 22742 )
Functions 10.76% ( 887 / 8238 )
Lines 12.3% ( 4093 / 33276 )

@asteriscos asteriscos merged commit ef51ca4 into 4.9.0 Mar 22, 2024
4 checks passed
@asteriscos asteriscos deleted the feat/6540-remove-angularjs-controller-groups branch March 22, 2024 16:34
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.

[Remove discover] Refactor angularJS groups.js
4 participants