Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

refactor(ui): remove user-facing 'enterprise' terminology

rcourtman4e1102242555
diff --git a/frontend-modern/src/components/Settings/ReportingPanel.tsx b/frontend-modern/src/components/Settings/ReportingPanel.tsx
index b486e98dec..ae22c48cfe 100644
--- a/frontend-modern/src/components/Settings/ReportingPanel.tsx
+++ b/frontend-modern/src/components/Settings/ReportingPanel.tsx
@@ -216,7 +216,7 @@ export function ReportingPanel() {
<BarChart size={24} />
</div>
<div>
- <h3 class="text-lg font-bold text-white mb-2">Enterprise Insights</h3>
+ <h3 class="text-lg font-bold text-white mb-2">Advanced Insights</h3>
<p class="text-slate-400 leading-relaxed">
Reports are generated directly from the historical metrics store. PDF reports provide a summarized view with average, minimum, and maximum values, while CSV exports provide raw granular data for external analysis in tools like Excel or BI suites.
</p>
diff --git a/frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx b/frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx
index cd59bc8787..f89088cbc6 100644
--- a/frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx
+++ b/frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx
@@ -145,7 +145,7 @@ export const SecurityOverviewPanel: Component<SecurityOverviewPanelProps> = (pro
<ul class="space-y-0.5 list-disc list-inside">
<li>Enable HTTPS via a reverse proxy for encrypted connections</li>
<li>Use strong, unique passwords and rotate credentials regularly</li>
- <li>Consider SSO/OIDC for enterprise authentication needs</li>
+ <li>Consider SSO/OIDC for centralized team authentication</li>
<li>Review API token scopes and remove unused tokens</li>
</ul>
</div>
diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx
index b23e8ec5b5..aa1f994581 100644
--- a/frontend-modern/src/components/Settings/Settings.tsx
+++ b/frontend-modern/src/components/Settings/Settings.tsx
@@ -81,7 +81,7 @@ import type { SecurityStatus as SecurityStatusInfo } from '@/types/config';
import { eventBus } from '@/stores/events';
import { updateStore } from '@/stores/updates';
-import { isEnterprise, loadLicenseStatus } from '@/stores/license';
+import { isPro, loadLicenseStatus } from '@/stores/license';
// Type definitions
interface DiscoveredServer {
@@ -377,7 +377,7 @@ const SETTINGS_HEADER_META: Record<SettingsTab, { title: string; description: st
},
'security-sso': {
title: 'Single Sign-On',
- description: 'Configure OIDC providers for enterprise authentication.',
+ description: 'Configure OIDC providers for team authentication.',
},
'security-roles': {
title: 'Roles',
@@ -2517,7 +2517,7 @@ const Settings: Component<SettingsProps> = (props) => {
<item.icon class="w-4 h-4" {...(item.iconProps || {})} />
<Show when={!sidebarCollapsed()}>
<span class="truncate">{item.label}</span>
- <Show when={item.badge && !isEnterprise()}>
+ <Show when={item.badge && !isPro()}>
<span class="ml-auto px-1.5 py-0.5 text-[10px] font-bold uppercase tracking-wider bg-gradient-to-r from-indigo-500 to-purple-500 text-white rounded-md shadow-sm">
{item.badge}
</span>
diff --git a/frontend-modern/src/stores/license.ts b/frontend-modern/src/stores/license.ts
index 9f2444421d..21b3d39e72 100644
--- a/frontend-modern/src/stores/license.ts
+++ b/frontend-modern/src/stores/license.ts
@@ -36,7 +36,7 @@ export async function loadLicenseStatus(force = false): Promise<void> {
}
/**
- * Helper to check if the current license is Pulse Pro or Enterprise.
+ * Helper to check if the current license is Pulse Pro (any paid tier).
*/
export const isPro = createMemo(() => {
const current = licenseStatus();
@@ -44,12 +44,9 @@ export const isPro = createMemo(() => {
});
/**
- * Helper to check if the current license is Enterprise.
+ * @deprecated Use isPro() or hasFeature() instead. Kept for backwards compatibility.
*/
-export const isEnterprise = createMemo(() => {
- const current = licenseStatus();
- return Boolean(current?.valid && (current.tier === 'enterprise' || current.tier === 'msp'));
-});
+export const isEnterprise = isPro;
/**
* Check if a specific feature is enabled by the current license.