diff --git a/AppImage/components/onboarding-carousel.tsx b/AppImage/components/onboarding-carousel.tsx index 87e4923..a290977 100644 --- a/AppImage/components/onboarding-carousel.tsx +++ b/AppImage/components/onboarding-carousel.tsx @@ -17,10 +17,6 @@ import { Cpu, FileText, Rocket, - Zap, - Shield, - Link2, - Gauge, } from "lucide-react" import Image from "next/image" import { Checkbox } from "./ui/checkbox" @@ -32,7 +28,6 @@ interface OnboardingSlide { image?: string icon: React.ReactNode gradient: string - features?: { icon: React.ReactNode; text: string }[] } const slides: OnboardingSlide[] = [ @@ -46,35 +41,6 @@ const slides: OnboardingSlide[] = [ }, { id: 1, - title: "What's New in This Version", - description: "We've added exciting new features and improvements to make ProxMenux Monitor even better!", - icon: , - gradient: "from-amber-500 via-orange-500 to-red-500", - features: [ - { - icon: , - text: "Proxy Support - Access ProxMenux through reverse proxies with full functionality", - }, - { - icon: , - text: "Authentication System - Secure your dashboard with password protection", - }, - { - icon: , - text: "PCIe Link Speed Detection - View NVMe drive connection speeds and detect performance issues", - }, - { - icon: , - text: "Enhanced Storage Display - Better formatting for disk sizes (auto-converts GB to TB when needed)", - }, - { - icon: , - text: "SATA/SAS Information - View detailed interface information for all storage devices", - }, - ], - }, - { - id: 2, title: "System Overview", description: "Monitor your server's status in real-time: CPU, memory, temperature, system load and more. Everything in an intuitive and easy-to-understand dashboard.", @@ -83,7 +49,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-blue-500 to-cyan-500", }, { - id: 3, + id: 2, title: "Storage Management", description: "Visualize the status of all your disks and volumes. Detailed information on capacity, usage, SMART health, temperature and performance of each storage device.", @@ -92,7 +58,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-cyan-500 to-teal-500", }, { - id: 4, + id: 3, title: "Network Metrics", description: "Monitor network traffic in real-time. Bandwidth statistics, active interfaces, transfer speeds and historical usage graphs.", @@ -101,7 +67,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-teal-500 to-green-500", }, { - id: 5, + id: 4, title: "Virtual Machines & Containers", description: "Manage all your VMs and LXC containers from one place. Status, allocated resources, current usage and quick controls for each virtual machine.", @@ -110,7 +76,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-green-500 to-emerald-500", }, { - id: 6, + id: 5, title: "Hardware Information", description: "Complete details of your server hardware: CPU, RAM, GPU, disks, network, UPS and more. Technical specifications, models, serial numbers and status of each component.", @@ -119,7 +85,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-emerald-500 to-blue-500", }, { - id: 7, + id: 6, title: "System Logs", description: "Access system logs in real-time. Filter by event type, search for specific errors and keep complete track of your server activity. Download the displayed logs for further analysis.", @@ -128,7 +94,7 @@ const slides: OnboardingSlide[] = [ gradient: "from-blue-500 to-indigo-500", }, { - id: 8, + id: 7, title: "Ready for the Future!", description: "ProxMenux Monitor is prepared to receive updates and improvements that will be added gradually, improving the user experience and being able to execute ProxMenux functions from the web panel.", @@ -194,7 +160,6 @@ export function OnboardingCarousel() {
- {/* Close button */} - + +
+
+
+ +
+ +
+ +
+
+
+ +
+
+

+ What's New in Version {APP_VERSION} +

+

+ We've added exciting new features and improvements to make ProxMenux Monitor even better! +

+
+ +
+ {CURRENT_VERSION_FEATURES.map((feature, index) => ( +
+
{feature.icon}
+

{feature.text}

+
+ ))} +
+ +
+ + +
+ setDontShowAgain(checked as boolean)} + /> + +
+
+
) } -// Hook to detect version changes export function useVersionCheck() { const [showReleaseNotes, setShowReleaseNotes] = useState(false) useEffect(() => { const lastSeenVersion = localStorage.getItem("proxmenux-last-seen-version") - // Show release notes if: - // 1. User has never seen any version - // 2. Current version is different from last seen - if (!lastSeenVersion || lastSeenVersion !== APP_VERSION) { + if (lastSeenVersion !== APP_VERSION) { setShowReleaseNotes(true) } }, []) @@ -145,5 +190,4 @@ export function useVersionCheck() { return { showReleaseNotes, setShowReleaseNotes } } -// Export version and changelog for Settings page -export { APP_VERSION, CHANGELOG } +export { APP_VERSION }