Skip to content

Make incident age field intuitive#169

Closed
raviks789 wants to merge 7 commits into
event-rule-config-enhancementfrom
make-incident-age-field-intuitive
Closed

Make incident age field intuitive#169
raviks789 wants to merge 7 commits into
event-rule-config-enhancementfrom
make-incident-age-field-intuitive

Conversation

@raviks789
Copy link
Copy Markdown
Contributor

No description provided.

@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Apr 3, 2024
@raviks789 raviks789 changed the base branch from main to event-rule-config-enhancement April 3, 2024 13:39
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch from 3ce797e to 374a0c7 Compare April 3, 2024 13:43
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch from 1d26d1c to d4e94a1 Compare April 3, 2024 13:44
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch 7 times, most recently from 473161f to d35dd96 Compare April 11, 2024 15:28
@raviks789 raviks789 self-assigned this Apr 23, 2024
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch from d4e94a1 to aab2015 Compare April 23, 2024 10:15
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch 3 times, most recently from 23933ea to 5e55ce6 Compare April 23, 2024 15:10
Copy link
Copy Markdown
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.

Cannot save the incident age to db.

@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch 3 times, most recently from 04e9fb6 to 18bbc0a Compare April 24, 2024 11:29
@raviks789
Copy link
Copy Markdown
Contributor Author

raviks789 commented Apr 24, 2024

Cannot save the incident age to db.

As discussed offline, this is a known issue in this PR that does not need to be fixed. As the PR #170 makes it obsolete.

@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch from 18bbc0a to 5a0ac30 Compare April 24, 2024 12:32
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch 2 times, most recently from 6c487ee to 283d33d Compare April 24, 2024 12:39
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch 4 times, most recently from b72e697 to 37782fa Compare April 24, 2024 15:03
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch from 283d33d to 645ab3e Compare April 24, 2024 15:43
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch 2 times, most recently from 513d3a4 to 6243671 Compare May 10, 2024 14:18
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch from 9160ed0 to faa3825 Compare May 10, 2024 14:46
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch from 6243671 to c2dc61d Compare May 10, 2024 15:06
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch 5 times, most recently from 2a73b7d to 2074e7f Compare May 13, 2024 08:14
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch from c2dc61d to 71fcd7f Compare May 13, 2024 12:52
@raviks789 raviks789 force-pushed the make-incident-age-field-intuitive branch 7 times, most recently from 81167fb to 72942bf Compare May 13, 2024 13:09
@raviks789 raviks789 force-pushed the event-rule-config-enhancement branch from 71fcd7f to 2b31a5a Compare May 13, 2024 13:10
Copy link
Copy Markdown
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.

  • It is still possible to set 0.5m, yes we cannot save it, or when reloading it becomes 1, but it is a bug. You can simply add a default attribute value to the $valUnit element to prevent this behaviour.
  • There is extra margin.
Screenshot 2024-05-15 at 12 57 05

Comment thread application/forms/EventRuleConfigForm.php Outdated
Comment thread application/forms/EventRuleConfigForm.php Outdated
Copy link
Copy Markdown
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.

Each autosubmit of the form resets the incident_age value.

@raviks789
Copy link
Copy Markdown
Contributor Author

Each autosubmit of the form resets the incident_age value.

This should be fixed now.

Copy link
Copy Markdown
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.

LGTM

@nilmerg
Copy link
Copy Markdown
Member

nilmerg commented Aug 13, 2025

Obsoleted by #159

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants