feat: add global sidebar links management and settings UI

This commit is contained in:
jhartworks committed 2026-11-25 09:38:54 +01:00
1 parent 3203577a9d
commit f6f3c402cc
10 files changed
+463 -40

No files matched your search

+2
View File
@@ -80,6 +80,8 @@ export const api = {
loadDashboardData: (token, body) => apiRequest("/dashboard/data", { method: "POST", token, body }),
getPreferences: (token) => apiRequest("/preferences", { token }),
savePreferences: (token, body) => apiRequest("/preferences", { method: "PUT", token, body }),
getGlobalSidebarLinks: () => apiRequest("/settings/sidebar-links"),
saveGlobalSidebarLinks: (token, links) => apiRequest("/settings/sidebar-links", { method: "PUT", token, body: { links } }),
getTrendDefaults: () => apiRequest("/settings/trend"),
saveTrendDefaults: (token, body) => apiRequest("/settings/trend", { method: "PUT", token, body }),
getIntegrations: (token) => apiRequest("/integrations", { token }),