Files
EvoBGP/apps/web
Denozordec 2fef952403
CI / changes (push) Successful in 11s
CI / commitlint (push) Has been skipped
CI / openapi (push) Has been skipped
CI / web (push) Successful in 47s
CI / go (push) Successful in 1m1s
CI / bird2 (push) Successful in 17s
CI / release (push) Successful in 4m36s
feat(ui): refactor components and enhance UX
Updated various UI components to improve user experience and maintainability. Key changes include:
- Refactored `PageHeader` to remove icon handling, simplifying its structure.
- Replaced `KpiMetricsGrid` with `SectionCards` for better layout consistency.
- Enhanced `AppShell` and navigation components to utilize a grouped navigation structure, improving accessibility and organization.
- Introduced new properties in `crud-list-page` for handling empty states and loading indicators.
- Updated styles and classes for better visual consistency across components.

These changes streamline the UI and enhance the overall user experience across the application.
2026-07-01 00:42:50 +07:00
..

EvoBGP WebUI (@evobgp/web)

SvelteKit-панель управления EvoBGP. Monorepo: apps/web + packages/ui + packages/shared.

Правила: .cursor/rules/web-shadcn.mdc, frontend-monorepo.mdc.

Структура

Путь Назначение
packages/ui/src/components/ shadcn-svelte примитивы (@evobgp/ui)
src/lib/components/ PageShell, QueryState, SectionCards, domain
src/lib/components/patterns/ AppDataTable, FormField, ConfirmDialog
src/lib/ui/app/ PageHeader, nav, toast
src/lib/queries/ TanStack Query factories
packages/shared/ API types + Zod contracts

Разработка

Из корня репозитория:

pnpm install
pnpm --filter @evobgp/web dev
pnpm --filter @evobgp/web check
pnpm --filter @evobgp/web lint
pnpm --filter @evobgp/web build

Добавление shadcn-svelte (из apps/web/):

pnpm dlx shadcn-svelte@latest add <component> -y -o

Тема: packages/ui/src/styles/globals.css → импорт в src/routes/layout.css.

Проверка перед PR

pnpm --filter @evobgp/web check и lint — exit 0 (WEB-19).