The two-column model list looked low-res because every card shared the same skeleton, with three saturated tags and a raw baseUrl meta line carrying most of the visual weight. Replace SettingCard usage on this page (other consumers — Mcp and WebSearch settings — keep using it untouched) with an inline ModelCard built around: - A 36x36 leading badge per model type (chat, embedding, rerank, vllm, asr) with low-saturation tinted backgrounds and a matching tdesign icon, so users can scan by type at a glance instead of decoding tag colors. - Title row with the model name and an optional muted "builtin" pill; the more-actions button only appears on hover/focus and opens the dropdown on click (not hover) to match the rest of the app. - A muted subtitle (type · source · embedding dimension) and a monospaced, single-line truncated baseUrl as the last line — so secondary info reads as secondary. - Responsive grid: repeat(auto-fill, minmax(320px, 1fr)) so wider modals get 3 columns and narrow viewports collapse to 1. Drops dead CSS (.model-type-tag-* color rules, the page-wide :deep(.t-tag) override, .model-meta-item) and the now-unused SettingCard import. |
||
|---|---|---|
| .. | ||
| packages | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| env.d.ts | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||