feat: add "View in detail" button for group monitors and update localization files

This commit is contained in:
Raj Nandan Sharma
2025-03-23 22:44:11 +05:30
parent ba61ed87ab
commit eb128ad431
15 changed files with 43 additions and 25 deletions

View File

@@ -235,16 +235,6 @@
>
<Share2 class="h-4 w-4 " />
</Button>
{#if monitor.monitor_type === "GROUP"}
<Button
class="bounce-right h-5 p-0 text-muted-foreground hover:text-primary"
variant="link"
href="{base}?group={monitor.tag}"
rel="external"
>
<ArrowRight class="arrow h-4 w-4" />
</Button>
{/if}
</div>
</div>
</div>
@@ -325,7 +315,6 @@
></div>
{#if !!incidents[ts]}
<div
style="transition-delay: {Math.floor(Math.random() * (1500 - 500 + 1)) + 500}ms;"
class="bg-api-{incidents[
ts
].monitor_impact.toLowerCase()} comein absolute -bottom-[3px] left-[1px] h-[4px] w-[4px] rounded-full"
@@ -343,6 +332,21 @@
{/if}
{/each}
</div>
{#if monitor.monitor_type === "GROUP" && !!!embed}
<div class="-mt-4 flex justify-end">
<Button
variant="secondary"
href="{base}?group={monitor.tag}"
rel="external"
class="bounce-right h-8 text-xs"
on:click={scrollToRight}
>
{l(lang, "View in detail")}
<ArrowRight class="arrow ml-1.5 h-4 w-4" />
</Button>
</div>
{/if}
{#if showDailyDataModal}
<div
transition:slide={{ direction: "bottom" }}

View File

@@ -60,5 +60,6 @@
"UP": "VERFÜGBAR",
"Upcoming Maintenance": "Bevorstehende Wartung",
"Updates": "Updates",
"Uptime": "Verfügbarkeit"
"Uptime": "Verfügbarkeit",
"View in detail": "Details anzeigen"
}

View File

@@ -60,5 +60,6 @@
"UP": "OPPE",
"Upcoming Maintenance": "Kommende vedligeholdelse",
"Updates": "Opdateringer",
"Uptime": "Oppetid"
"Uptime": "Oppetid",
"View in detail": "Vis i detaljer"
}

View File

@@ -60,5 +60,6 @@
"UP": "UP",
"Upcoming Maintenance": "Upcoming Maintenance",
"Updates": "Updates",
"Uptime": "Uptime"
"Uptime": "Uptime",
"View in detail": "View in detail"
}

View File

@@ -60,5 +60,6 @@
"UP": "En ligne",
"Upcoming Maintenance": "Maintenance à venir",
"Updates": "Mises à jour",
"Uptime": "Temps de fonctionnement"
"Uptime": "Temps de fonctionnement",
"View in detail": "Voir en détail"
}

View File

@@ -60,5 +60,6 @@
"UP": "अप",
"Upcoming Maintenance": "आगामी मेंटेनेंस",
"Updates": "अपडेट्स",
"Uptime": "अपटाइम"
"Uptime": "अपटाइम",
"View in detail": "विस्तार में देखें"
}

View File

@@ -60,5 +60,6 @@
"UP": "稼働中",
"Upcoming Maintenance": "今後のメンテナンス",
"Updates": "更新",
"Uptime": "稼働時間"
"Uptime": "稼働時間",
"View in detail": "詳細を表示"
}

View File

@@ -60,5 +60,6 @@
"UP": "작동 중",
"Upcoming Maintenance": "예정된 유지보수",
"Updates": "업데이트",
"Uptime": "업타임"
"Uptime": "업타임",
"View in detail": "자세히 보기"
}

View File

@@ -60,5 +60,6 @@
"UP": "OPPE",
"Upcoming Maintenance": "Kommende vedlikehold",
"Updates": "Oppdateringer",
"Uptime": "Oppetid"
"Uptime": "Oppetid",
"View in detail": "Vis detaljer"
}

View File

@@ -60,5 +60,6 @@
"UP": "BEREIKBAAR",
"Upcoming Maintenance": "Aankomend onderhoud",
"Updates": "Updates",
"Uptime": "Uptime"
"Uptime": "Uptime",
"View in detail": "Bekijk in detail"
}

View File

@@ -60,5 +60,6 @@
"UP": "OPERACIONAL",
"Upcoming Maintenance": "Manutenção Agendada",
"Updates": "Atualizações",
"Uptime": "Tempo de Atividade"
"Uptime": "Tempo de Atividade",
"View in detail": "Ver em detalhes"
}

View File

@@ -60,5 +60,6 @@
"UP": "РАБОТАЕТ",
"Upcoming Maintenance": "Предстоящее техническое обслуживание",
"Updates": "Обновления",
"Uptime": "Время работы"
"Uptime": "Время работы",
"View in detail": "Подробный просмотр"
}

View File

@@ -60,5 +60,6 @@
"UP": "ÇALIŞIYOR",
"Upcoming Maintenance": "Yaklaşan Bakım",
"Updates": "Güncellemeler",
"Uptime": "Çalışma Süresi"
"Uptime": "Çalışma Süresi",
"View in detail": "Detaylı Görüntüle"
}

View File

@@ -60,5 +60,6 @@
"UP": "Hoạt động",
"Upcoming Maintenance": "Bảo trì sắp tới",
"Updates": "Cập nhật",
"Uptime": "Thời gian hoạt động"
"Uptime": "Thời gian hoạt động",
"View in detail": "Xem chi tiết"
}

View File

@@ -60,5 +60,6 @@
"UP": "可用",
"Upcoming Maintenance": "即将进行的维护",
"Updates": "更新",
"Uptime": "正常运行时间"
"Uptime": "正常运行时间",
"View in detail": "详细查看"
}