Compare commits

...

2 Commits

Author SHA1 Message Date
Maycon Santos
1555b94043 Fix service cluster status (#556)
Some checks failed
build and push / build_n_push (push) Has been cancelled
2026-02-16 09:23:22 +01:00
Eduard Gert
6c62127d42 Update announcement (#553) 2026-02-13 20:56:40 +01:00
3 changed files with 9 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
[
{
"tag": "New",
"text": "Custom DNS Zones for Private Network Resolution",
"link": "https://netbird.io/knowledge-hub/custom-dns-zones",
"linkText": "Read Release Article",
"text": "NetBird Reverse Proxy - Expose internal services to the public with automatic TLS and optional authentication.",
"link": "https://docs.netbird.io/manage/reverse-proxy",
"linkText": "Learn more",
"variant": "important",
"isExternal": true,
"closeable": true,

View File

@@ -8,7 +8,8 @@ import React, {
useState,
} from "react";
import { usePermissions } from "@/contexts/PermissionsProvider";
import { isNetBirdHosted } from "@utils/netbird";
import { isLocalDev, isNetBirdHosted } from "@utils/netbird";
import announcementFile from "../../announcements.json";
const ANNOUNCEMENTS_URL =
"https://raw.githubusercontent.com/netbirdio/dashboard/main/announcements.json";
@@ -64,7 +65,9 @@ const getAnnouncements = async (): Promise<AnnouncementInfo[]> => {
let raw: Announcement[];
if (stored && now - stored.timestamp < CACHE_DURATION_MS) {
if (isLocalDev()) {
raw = announcementFile as Announcement[];
} else if (stored && now - stored.timestamp < CACHE_DURATION_MS) {
raw = stored.announcements;
} else {
const response = await fetch(ANNOUNCEMENTS_URL);

View File

@@ -405,7 +405,7 @@ export default function ReverseProxyModal({
</div>
</div>
{reverseProxy?.proxy_cluster && (
{reverseProxy?.proxy_cluster && !isClusterConnected && (
<Callout variant={"error"}>
Cluster {reverseProxy.proxy_cluster} is offline. Make sure the
proxy server is running and connected to the right management