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

Show root problem list for objects with problem and are part of dependency #1057

Merged
merged 8 commits into from
Oct 31, 2024

Conversation

raviks789
Copy link
Contributor

@raviks789 raviks789 commented Sep 17, 2024

ref #1050

blocked by: #1055
blocked by: Icinga/ipl-web#231, Icinga/ipl-web#234

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Sep 17, 2024
@raviks789 raviks789 force-pushed the root-problem-list branch 10 times, most recently from bc06e1c to 3375e51 Compare September 19, 2024 13:14
@raviks789 raviks789 changed the title WIP Show root problem list for objects that have problem and are part of dependency Sep 19, 2024
@raviks789 raviks789 changed the title Show root problem list for objects that have problem and are part of dependency Show root problem list for objects with problem and are part of dependency Sep 19, 2024
@raviks789 raviks789 force-pushed the root-problem-list branch 5 times, most recently from 4351639 to e77c687 Compare September 23, 2024 07:52
@raviks789 raviks789 marked this pull request as ready for review September 23, 2024 12:19
@nilmerg nilmerg added the enhancement New feature or improvement label Sep 24, 2024
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

please rebase, #1055 is merged.

library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Widget/RedundancyGroupStatistics.php Outdated Show resolved Hide resolved
library/Icingadb/Widget/RedundancyGroupStatistics.php Outdated Show resolved Hide resolved
@raviks789 raviks789 force-pushed the root-problem-list branch 2 times, most recently from b41bdb3 to 18db2a7 Compare September 26, 2024 13:11
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 left a comment

Choose a reason for hiding this comment

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

Please add PhpDoc and method return type to newly introduced classes/methods.

application/controllers/ServiceController.php Show resolved Hide resolved
public/css/list/redundancy-group-list-item.less Outdated Show resolved Hide resolved
library/Icingadb/Widget/ObjectsStateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Widget/ObjectsStateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Model/Behavior/HasRootProblem.php Outdated Show resolved Hide resolved
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
@raviks789 raviks789 force-pushed the root-problem-list branch 2 times, most recently from e059950 to 0320436 Compare October 28, 2024 16:11
library/Icingadb/Common/StateBadges.php Outdated Show resolved Hide resolved
library/Icingadb/Model/Behavior/HasProblematicParent.php Outdated Show resolved Hide resolved
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

In case of StateBadges::getUrl(), phpstan is right, it's a public interface where we cannot guarantee noone will use it unless a url has been set.

public/css/list/redundancy-group-list-item.less Outdated Show resolved Hide resolved
@raviks789 raviks789 force-pushed the root-problem-list branch 4 times, most recently from fbf2475 to baa46d7 Compare October 30, 2024 11:22
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

Still need to test restrictions, however

library/Icingadb/Model/Behavior/HasProblematicParent.php Outdated Show resolved Hide resolved
Copy link
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

LGTM!

@raviks789 raviks789 force-pushed the root-problem-list branch 2 times, most recently from d630538 to f2ffe25 Compare October 30, 2024 15:58
@nilmerg nilmerg merged commit a7fb07b into dependencies Oct 31, 2024
22 checks passed
@nilmerg nilmerg deleted the root-problem-list branch October 31, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show a list of root problems in the host/service detail if it has a problem and is part of a dependency
3 participants