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/app/settings/page.tsx b/dashboard/app/settings/page.tsx index 76cc82c..293d94f 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/lib/session.ts b/dashboard/lib/session.ts index ca27106..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