Skip to content

Showing neutral trend when delta is zero. (7.0)#25147

Draft
graylog-internal-actions-access[bot] wants to merge 1 commit into7.0from
backport-7.0/fix/better-neutral-trend
Draft

Showing neutral trend when delta is zero. (7.0)#25147
graylog-internal-actions-access[bot] wants to merge 1 commit into7.0from
backport-7.0/fix/better-neutral-trend

Conversation

@graylog-internal-actions-access

Note: This is a backport of #25138 to 7.0.

Note: This PR needs a backport to previous version.

Description

Motivation and Context

Prior to this PR, when the delta in the number widget was 0, the trend would be shown as good or bad (depending on trend preference) instead of neutral. This PR is fixing this.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

* Showing neutral trend when delta is zero.

* Adding changelog snippet.

* Unnecessary data attribute.

(cherry picked from commit 891f1ec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant