From 824f4f450a3d7e4fc3b2104251912161f047ff9e Mon Sep 17 00:00:00 2001 From: Philipp Trulson Date: Tue, 2 Apr 2024 18:43:16 +0200 Subject: [PATCH 1/2] Fix color generation for pod name in logs viewer Signed-off-by: Philipp Trulson --- .../applications/components/pod-logs-viewer/pod-logs-viewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx b/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx index 309287fab2f37..18778e2b848b2 100644 --- a/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx +++ b/ui/src/app/applications/components/pod-logs-viewer/pod-logs-viewer.tsx @@ -64,7 +64,7 @@ function stringHashCode(str: string) { // ansi color for pod name function podColor(podName: string) { - return colors[stringHashCode(podName) % colors.length]; + return colors[Math.abs(stringHashCode(podName) % colors.length)]; } // https://2ality.com/2012/09/empty-regexp.html From 7337edbf0c2a666e5740c0c07164c547e6420000 Mon Sep 17 00:00:00 2001 From: Philipp Trulson Date: Tue, 2 Apr 2024 18:48:17 +0200 Subject: [PATCH 2/2] Add rebuy to users.md Signed-off-by: Philipp Trulson --- USERS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USERS.md b/USERS.md index 6f35c32acb661..9d409af2e8114 100644 --- a/USERS.md +++ b/USERS.md @@ -243,6 +243,7 @@ Currently, the following organizations are **officially** using Argo CD: 1. [QuintoAndar](https://quintoandar.com.br) 1. [Quipper](https://www.quipper.com/) 1. [RapidAPI](https://www.rapidapi.com/) +1. [rebuy](https://www.rebuy.de/) 1. [Recreation.gov](https://www.recreation.gov/) 1. [Red Hat](https://www.redhat.com/) 1. [Redpill Linpro](https://www.redpill-linpro.com/)