Add the ability to convert specific tags to columns on problems panel (#2113)

This closes #2112

Added the ability on problems panel to specify a comma separated list of
tag names to be converted to columns.
If a tag name is present multiple times, it will return the value of all
tags separated with comma.
For optimum readability, the tag names are Capitalized for the visible
column name.
Also, for optimum readability, the custom tags are always placed before
the "Tags" column.

In case a tag is not there for a problem, an empty string is returned.

---------

Co-authored-by: Jocelyn Collado-Kuri <jcolladokuri@icloud.com>
This commit is contained in:
Christos Diamantis
2026-01-15 22:36:36 +02:00
committed by GitHub
parent 95554b0b8c
commit 3ada0d15e6
6 changed files with 99 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ export interface ProblemsPanelOptions {
okEventColor: TriggerColor;
ackEventColor: TriggerColor;
markAckEvents?: boolean;
// Custom tag names to display as column
customTagColumns?: string;
}
export const DEFAULT_SEVERITY: TriggerSeverity[] = [