Skip to content

Event and Incident History improvements#166

Merged
nilmerg merged 12 commits intomainfrom
events-incident-history-improvements
May 8, 2024
Merged

Event and Incident History improvements#166
nilmerg merged 12 commits intomainfrom
events-incident-history-improvements

Conversation

@ncosta-ic
Copy link
Copy Markdown
Contributor

@ncosta-ic ncosta-ic commented Mar 25, 2024

targets #157

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Mar 25, 2024
@ncosta-ic ncosta-ic requested a review from nilmerg March 25, 2024 09:56
@ncosta-ic ncosta-ic linked an issue Mar 25, 2024 that may be closed by this pull request
@nilmerg nilmerg added enhancement New feature or improvement area/view Affects an entire view labels Apr 9, 2024
@nilmerg nilmerg added this to the Beta milestone Apr 9, 2024
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch 2 times, most recently from 9523ced to 2e39ca2 Compare April 16, 2024 16:44
@ncosta-ic ncosta-ic removed their assignment Apr 18, 2024
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from 2e39ca2 to a0f5800 Compare April 18, 2024 10:29
@ncosta-ic ncosta-ic self-assigned this Apr 18, 2024
@nilmerg nilmerg marked this pull request as ready for review April 18, 2024 12:16
Comment thread application/controllers/IncidentController.php Outdated
Comment thread application/controllers/IncidentController.php Outdated
Comment thread application/controllers/IncidentController.php Outdated
Comment thread application/controllers/IncidentController.php Outdated
Comment thread library/Notifications/Common/Links.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread public/css/common.less
Comment thread library/Notifications/Widget/IconBall.php Outdated
Comment thread library/Notifications/Widget/Detail/EventDetail.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php
@Icinga Icinga deleted a comment from nilmerg Apr 19, 2024
@Icinga Icinga deleted a comment from nilmerg Apr 19, 2024
Copy link
Copy Markdown
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.

Since Icinga/icinga-notifications#182 there's now the possibility to sort the incident history by time, type. Please apply this here.

image
The paperplane icon seems somewhat misplaced compared with others. It wouldn't be the first we add specific rules for to fix this. For me, this is fixed when still applying a margin-right: .2em on ::before. Which is the default anyway for icons, but is reset because it's inside a item list visual. But it's specific to the icon ball widget anyway, so I think overriding it again specifically for this is fine.

The incident opened event has an incorrect icon. It's the severity's icon.

The incident close event should, again according to @flourish86's mockup, not use circle-check but check.

Comment thread library/Notifications/Model/Objects.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Copy link
Copy Markdown
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.

The changes in IncidentDetail made by 49c3608#diff-2a8c9a2d6041980eea6f473d3b469c29603fd7ab4b932feebe94947ffbc20be4 are now obsolete. Please undo those.

Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread public/css/common.less Outdated
Comment thread library/Notifications/Widget/Detail/IncidentDetail.php
nilmerg
nilmerg previously approved these changes Apr 29, 2024
@nilmerg
Copy link
Copy Markdown
Member

nilmerg commented Apr 29, 2024

  • Please cleanup your commits by dropping those that represent now obsolete changes
  • Please merge commits if they target the same file, especially if it's a new one you introduced and there are only styling fixes in the other commit
  • Please change your commit messages, so that the branch name isn't part of them. Git and Github impose a length limit which we shouldn't exceed regularly
  • Also, remove any prefixes that don't provide any benefit as the message also provides the same information

image

@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from 349bb3a to 9a5f7d0 Compare April 29, 2024 11:59
Copy link
Copy Markdown
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.

plus what we discussed regarding the commit history ;)

Comment thread library/Notifications/Model/Incident.php Outdated
Comment thread library/Notifications/Model/Incident.php Outdated
Comment thread library/Notifications/Model/IncidentHistory.php Outdated
Comment thread library/Notifications/Model/Objects.php Outdated
Comment thread library/Notifications/Widget/ItemList/EventListItem.php Outdated
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from 9a5f7d0 to 7494010 Compare May 3, 2024 16:45
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from 7494010 to c1d762a Compare May 3, 2024 16:51
Copy link
Copy Markdown
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.

Comment thread library/Notifications/Widget/Detail/IncidentDetail.php Outdated
Comment thread library/Notifications/Widget/ItemList/EventListItem.php Outdated
Comment thread library/Notifications/Widget/ItemList/IncidentHistoryListItem.php Outdated
Comment thread public/css/common.less Outdated
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from c1d762a to b80de18 Compare May 6, 2024 09:00
Comment thread library/Notifications/Widget/Detail/IncidentDetail.php Outdated
@ncosta-ic ncosta-ic force-pushed the events-incident-history-improvements branch from b80de18 to 25f723d Compare May 8, 2024 08:47
@nilmerg nilmerg merged commit e044065 into main May 8, 2024
@nilmerg nilmerg deleted the events-incident-history-improvements branch May 8, 2024 08:59
nilmerg added a commit that referenced this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/view Affects an entire view 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.

Events and Incident History Improvements

2 participants