Add API Status Indicator to AppSidebar and enhance ApiMonitor with localStorage support for auto-refresh and refresh interval settings

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-15 14:18:08 +00:00
parent 6109369df4
commit 5a08a558ef
3 changed files with 412 additions and 17 deletions

View File

@@ -20,6 +20,7 @@ import { useSidebar } from "../context/SidebarContext";
import SidebarWidget from "./SidebarWidget";
import { APP_VERSION } from "../config/version";
import { useAuthStore } from "../store/authStore";
import ApiStatusIndicator from "../components/sidebar/ApiStatusIndicator";
type NavItem = {
name: string;
@@ -495,6 +496,8 @@ const AppSidebar: React.FC = () => {
)}
</div>
<div className="flex flex-col overflow-y-auto duration-300 ease-linear no-scrollbar">
{/* API Status Indicator - above OVERVIEW section */}
<ApiStatusIndicator />
<nav className="mb-6">
<div className="flex flex-col gap-2">
{allSections.map((section, sectionIndex) => (