- Updated markAccountUnavailable function to accept resetsAtMs for precise cooldown management.

- Added email backfill functionality for Codex OAuth connections to improve account information accuracy.
This commit is contained in:
decolua committed 2026-04-24 11:36:16 +07:00
1 parent fd8163e26e
commit 030fb34f88
15 files changed
+628 -132

No files matched your search

@@ -490,11 +490,13 @@ export default function ProviderLimits() {
<h3 className="text-sm font-semibold text-text-primary capitalize truncate">
{conn.provider}
</h3>
{conn.name && (
<p className="text-xs text-text-muted truncate">
{conn.name}
</p>
)}
{(() => {
const isEmail = (v) => typeof v === "string" && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v);
const label = isEmail(conn.email) ? conn.email : (isEmail(conn.name) ? conn.name : conn.name);
return label ? (
<p className="text-xs text-text-muted truncate">{label}</p>
) : null;
})()}
</div>
</div>