From de8c9243c40e2b126455ebb09e71eae92afa2826 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Mon, 25 Aug 2025 21:41:54 +0200
Subject: [PATCH] Move support to customize X-ray rules from experimental to
general availability
---
.../access-table/access-table.component.html | 10 ++++--
.../access-table/access-table.component.ts | 8 +++--
.../app/components/rule/rule.component.html | 16 +++++++--
.../src/app/components/rule/rule.component.ts | 4 +++
.../portfolio/x-ray/x-ray-page.component.html | 36 +++++--------------
5 files changed, 40 insertions(+), 34 deletions(-)
diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html
index 44aee1644..be374db9c 100644
--- a/apps/client/src/app/components/access-table/access-table.component.html
+++ b/apps/client/src/app/components/access-table/access-table.component.html
@@ -67,12 +67,18 @@
@if (element.type === 'PUBLIC') {
}
diff --git a/apps/client/src/app/components/access-table/access-table.component.ts b/apps/client/src/app/components/access-table/access-table.component.ts
index c94f86df1..9f32be650 100644
--- a/apps/client/src/app/components/access-table/access-table.component.ts
+++ b/apps/client/src/app/components/access-table/access-table.component.ts
@@ -22,10 +22,12 @@ import { RouterModule } from '@angular/router';
import { IonIcon } from '@ionic/angular/standalone';
import { addIcons } from 'ionicons';
import {
+ copyOutline,
ellipsisHorizontal,
linkOutline,
lockClosedOutline,
- lockOpenOutline
+ lockOpenOutline,
+ removeCircleOutline
} from 'ionicons/icons';
import ms from 'ms';
@@ -62,10 +64,12 @@ export class GfAccessTableComponent implements OnChanges {
private snackBar: MatSnackBar
) {
addIcons({
+ copyOutline,
ellipsisHorizontal,
linkOutline,
lockClosedOutline,
- lockOpenOutline
+ lockOpenOutline,
+ removeCircleOutline
});
}
diff --git a/apps/client/src/app/components/rule/rule.component.html b/apps/client/src/app/components/rule/rule.component.html
index 7cea512e3..239beb733 100644
--- a/apps/client/src/app/components/rule/rule.component.html
+++ b/apps/client/src/app/components/rule/rule.component.html
@@ -64,14 +64,24 @@
@if (rule?.isActive && rule?.configuration) {
+
}
diff --git a/apps/client/src/app/components/rule/rule.component.ts b/apps/client/src/app/components/rule/rule.component.ts
index 4ea7d0ec6..624338915 100644
--- a/apps/client/src/app/components/rule/rule.component.ts
+++ b/apps/client/src/app/components/rule/rule.component.ts
@@ -16,8 +16,10 @@ import {
import { MatDialog } from '@angular/material/dialog';
import { addIcons } from 'ionicons';
import {
+ addCircleOutline,
checkmarkCircleOutline,
ellipsisHorizontal,
+ optionsOutline,
removeCircleOutline,
warningOutline
} from 'ionicons/icons';
@@ -50,8 +52,10 @@ export class RuleComponent implements OnInit {
private dialog: MatDialog
) {
addIcons({
+ addCircleOutline,
checkmarkCircleOutline,
ellipsisHorizontal,
+ optionsOutline,
removeCircleOutline,
warningOutline
});
diff --git a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
index e309fbaea..ce55c4fff 100644
--- a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
+++ b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
@@ -73,9 +73,7 @@
Inactive