From 95febaae7724508b5ece79019a0c56dd61d64031 Mon Sep 17 00:00:00 2001 From: Adhish-Krishna Date: Thu, 26 Feb 2026 07:10:01 +0530 Subject: [PATCH 1/3] update sidebar scroll bar to use scroll area and add seperation line between bottom and sidebar content --- dashboard/app/settings/page.tsx | 3 ++- dashboard/components/ui/sidebar.tsx | 12 +++++++----- dashboard/package.json | 2 +- package.json | 8 +++----- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/dashboard/app/settings/page.tsx b/dashboard/app/settings/page.tsx index 76cc82c..23d999b 100644 --- a/dashboard/app/settings/page.tsx +++ b/dashboard/app/settings/page.tsx @@ -9,6 +9,7 @@ import { Button } from "@/components/ui/button"; import { useGlassmorphism } from "@/components/glassmorphism-provider"; import { useTour } from "@/components/tour/tour-provider"; import { RotateCcw } from "lucide-react"; +import packageJson from "@/../package.json"; export default function SettingsPage() { const { enabled, setEnabled } = useGlassmorphism(); @@ -72,7 +73,7 @@ export default function SettingsPage() {
Dashboard Version - 1.0.0 + {packageJson.version}
diff --git a/dashboard/components/ui/sidebar.tsx b/dashboard/components/ui/sidebar.tsx index edf564e..6e13711 100644 --- a/dashboard/components/ui/sidebar.tsx +++ b/dashboard/components/ui/sidebar.tsx @@ -10,6 +10,7 @@ import { cn } from "@/lib/utils"; import { useSidebarPin } from "@/components/sidebar-pin-provider"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; +import { ScrollArea } from "@/components/ui/scroll-area"; import { Separator } from "@/components/ui/separator"; import { Sheet, @@ -401,7 +402,7 @@ function SidebarFooter({ className, ...props }: React.ComponentProps<"div">) {
); @@ -423,15 +424,16 @@ function SidebarSeparator({ function SidebarContent({ className, ...props }: React.ComponentProps<"div">) { return ( -
+ > +
+ ); } diff --git a/dashboard/package.json b/dashboard/package.json index dca90fe..e27c3ba 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "dashboard", - "version": "0.1.0", + "version": "1.2.0", "private": true, "scripts": { "dev": "next dev -p 3002", diff --git a/package.json b/package.json index 36e8d96..5dc830f 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,10 @@ { "name": "simplens-core", - "version": "1.0.0", - "description": "Lightweight, backend notification service for sending EMAIL and WHATSAPP messages. It supports single and batch notifications, scheduled deliveries and webhook callbacks for final delivery status.", + "version": "1.2.0", + "private": true, + "description": "Open-source plugin-based notification orchestration engine for developers who value control ", "main": "dist/api/server.js", "type": "module", - "directories": { - "doc": "docs" - }, "scripts": { "test": "vitest run", "test:watch": "vitest", From 61a27835fa16c5ce6faaaec11920d11e23aeedcf Mon Sep 17 00:00:00 2001 From: Adhish-Krishna Date: Thu, 26 Feb 2026 07:10:48 +0530 Subject: [PATCH 2/3] add HTTPS_COOKIE variable to control storage of cookies over http or https connection --- .env.example | 4 +++- dashboard/.env.example | 3 ++- dashboard/lib/session.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index e402293..85f85e4 100644 --- a/.env.example +++ b/.env.example @@ -105,7 +105,9 @@ API_BASE_URL= # Notification service API URL WEBHOOK_HOST= # Webhook host for callbacks WEBHOOK_PORT=3002 # Dashboard webhook port DASHBOARD_PORT=3002 # Dashboard port -BASE_PATH= # Configurable BASE_PATH to render the admin dashboard +BASE_PATH= # Configurable BASE_PATH to render the admin dashboard +HTTPS_COOKIE= # Controls the storage of session cookies in http and https mode. (If set false, then the cookies can be stored in http connection) + # ============================================ # PLUGIN SPECIFIC ENV VARIABLES (Partition variables + Plugin credentials) diff --git a/dashboard/.env.example b/dashboard/.env.example index 77adfbc..591ccd6 100644 --- a/dashboard/.env.example +++ b/dashboard/.env.example @@ -7,4 +7,5 @@ NS_API_KEY= # notification service api key API_BASE_URL= # notification service base url WEBHOOK_HOST= # webhook host WEBHOOK_PORT= # webhook port -BASE_PATH= # Base path for Next.js app (e.g., /dashboard). Leave empty for root path. \ No newline at end of file +BASE_PATH= # Base path for Next.js app (e.g., /dashboard). Leave empty for root path. +HTTPS_COOKIE= # Controls the storage of session cookies in http and https mode. (If set false, then the cookies can be stored in http connection) diff --git a/dashboard/lib/session.ts b/dashboard/lib/session.ts index ca27106..d7f95b4 100644 --- a/dashboard/lib/session.ts +++ b/dashboard/lib/session.ts @@ -89,7 +89,7 @@ export async function createSession(userId: string, username: string): Promise Date: Thu, 26 Feb 2026 07:26:24 +0530 Subject: [PATCH 3/3] update secure to default to true even when the env var is not present. Fix build error in dashboard --- dashboard/app/settings/page.tsx | 2 +- dashboard/lib/session.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/app/settings/page.tsx b/dashboard/app/settings/page.tsx index 23d999b..293d94f 100644 --- a/dashboard/app/settings/page.tsx +++ b/dashboard/app/settings/page.tsx @@ -9,7 +9,7 @@ import { Button } from "@/components/ui/button"; import { useGlassmorphism } from "@/components/glassmorphism-provider"; import { useTour } from "@/components/tour/tour-provider"; import { RotateCcw } from "lucide-react"; -import packageJson from "@/../package.json"; +import packageJson from "../../package.json"; export default function SettingsPage() { const { enabled, setEnabled } = useGlassmorphism(); diff --git a/dashboard/lib/session.ts b/dashboard/lib/session.ts index d7f95b4..6f6fd3e 100644 --- a/dashboard/lib/session.ts +++ b/dashboard/lib/session.ts @@ -89,7 +89,7 @@ export async function createSession(userId: string, username: string): Promise