refactor: improve auth defaults, update UI, and docs

- Provide fallback values for auth environment variables
- Refine global CSS styles and typography
- Update application metadata descriptions
- Add toast error handling to clients page
- Formalize phase implementation guidelines in AGENTS.md
This commit is contained in:
Team Dark Devil committed 2026-11-16 21:58:18 +06:00
1 parent df14ee1a9a
commit fde2c86b1e
48 files changed
+1062 -1665

No files matched your search

+4 -4
View File
@@ -15,21 +15,21 @@ interface ClientListProps {
export const ClientList: React.FC<ClientListProps> = ({ clients, limit = 4 }) => (
<div className="divide-y divide-[var(--border)]">
{clients.slice(0, limit).map((client) => (
<div key={client.clientId} className="flex min-w-0 items-center justify-between gap-3 px-4 py-2">
<div key={client.clientId} className="flex min-w-0 items-center justify-between gap-2.5 px-3 py-1.5">
<div className="flex min-w-0 items-center gap-2">
<span className={client.status === 'active' ? 'h-1.5 w-1.5 shrink-0 bg-[var(--accent)]' : 'h-1.5 w-1.5 shrink-0 bg-[var(--text-faint)]'} />
<div className="min-w-0">
<p className="truncate text-[12px] font-medium text-[var(--text)]">{client.name}</p>
<p className="truncate text-[11.5px] font-medium text-[var(--text)]">{client.name}</p>
<p className="truncate font-mono text-[10px] text-[var(--text-faint)]">{client.clientId}</p>
</div>
</div>
<span className="shrink-0 font-mono text-[11px] text-[var(--text-muted)]">
<span className="shrink-0 font-mono text-[10.5px] tabular-nums text-[var(--text-muted)]">
{client.totalEvents.toLocaleString()}
</span>
</div>
))}
{clients.length === 0 && (
<p className="px-4 py-5 text-[12px] text-[var(--text-faint)]">No registered clients.</p>
<p className="px-3 py-4 text-[11px] text-[var(--text-faint)]">No clients</p>
)}
</div>
);