From 136f126296af65f50da598d084d1485c0e40437a Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 27 Apr 2025 00:02:20 +0100
Subject: feat: Implement generic rule engine (#1318)

* Add schema for the new rule engine

* Add rule engine backend logic

* Implement the worker logic and event firing

* Implement the UI changesfor the rule engine

* Ensure that when a referenced list or tag are deleted, the corresponding event/action is

* Dont show smart lists in rule engine events

* Add privacy validations for attached tag and list ids

* Move the rules logic into a models
---
 apps/web/app/settings/layout.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'apps/web/app/settings/layout.tsx')

diff --git a/apps/web/app/settings/layout.tsx b/apps/web/app/settings/layout.tsx
index 62ac041c..9bac783c 100644
--- a/apps/web/app/settings/layout.tsx
+++ b/apps/web/app/settings/layout.tsx
@@ -5,6 +5,7 @@ import { TFunction } from "i18next";
 import {
   ArrowLeft,
   Download,
+  GitBranch,
   Image,
   KeyRound,
   Link,
@@ -61,6 +62,11 @@ const settingsSidebarItems = (
     icon: <Webhook size={18} />,
     path: "/settings/webhooks",
   },
+  {
+    name: t("settings.rules.rules"),
+    icon: <GitBranch size={18} />,
+    path: "/settings/rules",
+  },
   {
     name: t("settings.manage_assets.manage_assets"),
     icon: <Image size={18} />,
-- 
cgit v1.2.3-70-g09d2

