Skip to content

feat: expand LobeHub/models.dev logo coverage & polish directory UI - #49

Merged
nexmoe merged 3 commits into
mainfrom
feat/v2-logo-coverage-and-ui
Dec 5, 2026
Merged

nexmoe merged 3 commits into
mainfrom
feat/v2-logo-coverage-and-ui

Conversation

@nexmoe

@nexmoe nexmoe commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Summary

1. Logo Coverage & All LobeHub Variants

  • Providers: 76/336 (22.6%) → 329/336 (97.9%) (124 LobeHub + 205 sanitized MIT models.dev SVGs).
  • Developers: 56/167 (33.5%) → 84/167 (50.3%); Models: 922/1,187 (77.7%) → 1,071/1,187 (90.2%) via expanded LobeHub brand aliases and longest-prefix families matching (claude-*, gemini-*, gemma, grok, kimi, nova-*, mimo-*, ling-*, longcat, hy-mt, doubao, command-a, aya-*, nano-banana, etc.).
  • Emits all available LobeHub logo variants (mono, color, text, text-cn, brand, brand-color) to /v2/logos/*.svg and /logos.json (variants map), with automated sync & strict SVG security validation.
  • Detail drawers showcase all available LobeHub logo forms at their native aspect ratios with one-click Copy URL & Open SVG actions.

2. Directory UI Cleanup & Visual Polish

  • Calm neutral monochrome chrome (light + true-dark neutral) inspired by models.dev, removing vertical cell gridlines, loud blue header/row highlights, and noisy ↕ icons on unsorted columns.
  • Decluttered toolbar: removes duplicate ⌘K badge inside the inline filter input, hides Clear until a filter is active, aligns counts cleanly on the right, and collapses mobile filters into a tight 3-row layout (1 row on Providers/Developers).
  • Table precision: fixes MODELS mid-word header wrap, RELEASED ↓ arrow collision, PRICE truncation, and right-aligned numeric header alignment.
  • Dark-mode native logos: classifies every emitted SVG (mono, color, plate) so monochrome marks invert cleanly to crisp white in dark mode without harsh white sticker boxes, vibrant color marks float cleanly, and hybrid color+dark-ink marks use a soft neutral plate. Unbranded entities render clean typographic monograms instead of default.svg.

Verification

  • pnpm check (Biome + TypeScript + 51/51 Vitest unit tests, 90.13% branch coverage)
  • pnpm validate + pnpm build + scripts/validate-artifacts.ts (2,186 static files, 619 SVGs)
  • pnpm test:e2e (11/11 Playwright tests across 1440px, 390px, 360px, light+dark, EN/ZH/RU)
  • Visual screenshot inspection across desktop light/dark, mobile 390px, Chinese locale, and multi-variant LobeHub drawers

@nexmoe
nexmoe merged commit 3954b98 into main Dec 5, 2026
13 checks passed
@nexmoe
nexmoe deleted the feat/v2-logo-coverage-and-ui branch December 5, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant