CI / changes (push) Successful in 9s
CI / openapi (push) Has been skipped
CI / commitlint (push) Has been skipped
CI / web (push) Successful in 42s
CI / go (push) Has been skipped
CI / bird2 (push) Has been skipped
CI / release (push) Successful in 3m57s
- Refactored state management for modules, revisions, peers, speakers, and jobs, enhancing loading and error handling. - Updated imports to utilize core UI components for better maintainability and consistency. - Introduced derived states for KPI cards, providing real-time insights into system metrics. - Improved loading function to fetch data efficiently and handle errors gracefully. - Enhanced UI layout with new icons and dynamic descriptions based on last updated timestamps.
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