WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit cf72e3f

Browse files
Fix/update validation issues status label (#4478)
* fix: update API key status label from 'Potential issues' to 'High Error Rate' Changed the validation-issues status label to more clearly communicate that the key is receiving invalid requests, rather than implying the API or key itself is broken. Changes: - Label: 'Potential issues' → 'High Error Rate' - Tooltip: Updated to clarify that requests are invalid (rate limited, unauthorized, etc.) rather than suggesting system issues Fixes #4474 * chore: apply biome formatting * fix: update status label to 'Elevated Rejections' per review --------- Co-authored-by: CodeReaper <[email protected]>
1 parent 0740117 commit cf72e3f

File tree

1 file changed

+3
-2
lines changed
  • apps/dashboard/app/(app)/[workspaceSlug]/apis/[apiId]/keys/[keyAuthId]/_components/components/table/components/status-cell

1 file changed

+3
-2
lines changed

apps/dashboard/app/(app)/[workspaceSlug]/apis/[apiId]/keys/[keyAuthId]/_components/components/table/components/status-cell/constants.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ export const STATUS_DEFINITIONS: Record<StatusType, StatusInfo> = {
5353
},
5454
"validation-issues": {
5555
type: "validation-issues",
56-
label: "Potential issues",
56+
label: "Elevated Rejections",
5757
color: "bg-warningA-3 text-warningA-11",
5858
icon: <ShieldKey iconSize="sm-regular" className="text-warning-11" />,
59-
tooltip: "This key has a high error rate. Please check its logs to debug potential issues.",
59+
tooltip:
60+
"This key is receiving many rejected requests (rate limited, missing permissions, etc.). Please check your logs for usage details.",
6061
priority: 3,
6162
},
6263
//TODO: Add a way to enable this through tooltip

0 commit comments

Comments
 (0)