From 70537edbf5fd2ad68a0948d83697c24c3f3e36f6 Mon Sep 17 00:00:00 2001
From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com>
Date: Thu, 10 Apr 2025 02:13:57 +0000
Subject: [PATCH] Add webhook management features to the sidebar
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/0f0c0de8-0b88-4bd0-8d02-63ab615f5d3d.jpg
---
client/src/components/layouts/mobile-sidebar.tsx | 14 ++++++++++++++
client/src/components/layouts/sidebar.tsx | 14 ++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/client/src/components/layouts/mobile-sidebar.tsx b/client/src/components/layouts/mobile-sidebar.tsx
index 7a1b427..f970444 100644
--- a/client/src/components/layouts/mobile-sidebar.tsx
+++ b/client/src/components/layouts/mobile-sidebar.tsx
@@ -14,6 +14,8 @@ import {
CreditCard,
X,
LogOut,
+ Webhook,
+ ClipboardList,
} from "lucide-react";
import { Button } from "@/components/ui/button";
@@ -73,6 +75,18 @@ export function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) {
icon: ,
roles: ["admin"],
},
+ {
+ title: "Webhooks",
+ href: "/webhooks",
+ icon: ,
+ roles: ["admin", "manager"],
+ },
+ {
+ title: "Webhook Logs",
+ href: "/webhook-logs",
+ icon: ,
+ roles: ["admin", "manager"],
+ },
{
title: "Providers",
href: "/providers",
diff --git a/client/src/components/layouts/sidebar.tsx b/client/src/components/layouts/sidebar.tsx
index 7386232..154de30 100644
--- a/client/src/components/layouts/sidebar.tsx
+++ b/client/src/components/layouts/sidebar.tsx
@@ -14,6 +14,8 @@ import {
Settings,
CreditCard,
LogOut,
+ Webhook,
+ ClipboardList,
} from "lucide-react";
import { Button } from "@/components/ui/button";
@@ -68,6 +70,18 @@ export function Sidebar() {
icon: ,
roles: ["admin"],
},
+ {
+ title: "Webhooks",
+ href: "/webhooks",
+ icon: ,
+ roles: ["admin", "manager"],
+ },
+ {
+ title: "Webhook Logs",
+ href: "/webhook-logs",
+ icon: ,
+ roles: ["admin", "manager"],
+ },
{
title: "Providers",
href: "/providers",