graylog-plugin-alert-wizard icon indicating copy to clipboard operation
graylog-plugin-alert-wizard copied to clipboard

Incorrect color when switching theme in a THEN rule

Open frantz45 opened this issue 2 years ago • 1 comments

  1. Create a THEN rule
  2. Switch theme dark/light

Some fields's color will not be updated.

frantz45 avatar Jun 05 '23 15:06 frantz45

I am setting a medium size on this issue, because, this is not necessarily easy to fix since the bug may be in graylog code. So there needs to be an investigation.

c8y3 avatar Jan 03 '24 07:01 c8y3

The bug seems to be in the Graylog TypeAheadFieldInput component. This component relies on the external js component typeahead. This component seems to duplicate the input (to show the completion) and copy its style. But, when the theme is changed, the style of the copy of the input is not updated. I rewrote the component in our code base. It seems to be working. However, it would probably be better to open an issue for Graylog to solve, because as it stands we won't benefit from the improvements whenever this component changes (and we now have a slightly larger codebase to maintain)

c8y3 avatar Jun 14 '24 13:06 c8y3

I confirm it's fixed in Wizard v5.2.0

frantz45 avatar Jun 20 '24 14:06 frantz45