- Added a new function for determining job status badge variants to improve UI consistency. - Refactored imports to utilize the core UI library for better maintainability. - Updated job report and filters components to enhance user experience and streamline functionality. - Improved layout and responsiveness across operations-related components.
EvoBGP WebUI
SvelteKit-приложение панели управления EvoBGP. Запуск — docs/quickstart.md.
Разработка UI обязательно следует официальной документации shadcn-svelte и правилам репозитория .cursor/rules/web-shadcn.mdc: максимум нативных компонентов из registry, установка только через CLI в src/lib/ui/core/.
UI-архитектура
| Путь | Назначение |
|---|---|
src/lib/ui/core/ |
shadcn-svelte (только через npx shadcn-svelte@latest add … -y -o) |
src/lib/ui/app/ |
Layout, PageHeader, toast (notify) |
src/lib/ui/patterns/ |
FormField, AppDataTable, ConfirmDialog, EmptyState |
src/lib/components/ui/ |
Re-export на ui/core (совместимость) |
Токены темы: src/routes/layout.css. Справочник: src/lib/ui/app/tokens.md.
Разработка
npm install
npm run dev
npm run check
Добавление компонентов shadcn (из каталога web/):
npx shadcn-svelte@latest add <component> -y -o