CI / changes (push) Successful in 9s
CI / commitlint (push) Has been skipped
CI / openapi (push) Successful in 24s
CI / web (push) Successful in 29s
CI / go (push) Successful in 43s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 3m29s
- Introduced new schemas for `SpeakerLiveStatus`, `BgpSessionLive`, and `LiveSpeakerPoll` in OpenAPI documentation to support live status queries. - Enhanced the `/v1/speakers` endpoint to include a `live` query parameter, allowing retrieval of real-time speaker and BGP status. - Updated the HTTP API to collect and return live status data for speakers, improving monitoring capabilities. - Modified frontend components to display live status information, enhancing user visibility into speaker health and BGP session states. - Added a new endpoint `/v1/bird/status` for retrieving the local BIRD status, further enriching the network monitoring features.
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
npm run lint # prettier --check; обязательно перед PR (CI job web)
Из корня репозитория (обе проверки как в CI):
powershell -NoProfile -File scripts/lint-web.ps1
sh scripts/lint-web.sh
При падении lint: npx prettier --write . в каталоге web/, затем снова check + lint.
Добавление компонентов shadcn (из каталога web/):
npx shadcn-svelte@latest add <component> -y -o