Добавлена ветка маршрутов /design-preview без авторизации и без запросов к API:
вход (вне оболочки), приложения, безопасность (passkeys), пользователи
(права доступа по приложениям и разделам, создание, массовые действия,
удаление вводом email, сброс passkeys), входы (история и сессии),
изменения (лента Timeline, таблица, ротация журнала), OIDC-клиенты
(issuer, создание, секрет один раз), ссылки приложений.
Оболочка: сайдбар с группами «Портал» и «Админ», переключатель на 8
приложений, свёрнутый вид с точками проблем, шапка с крошками и
монитором, меню пользователя с темой/плотностью/контрастом, палитра ⌘K,
панель «Не сохранено» с diff. Данные — суррогатные, названия из
@authportal/shared. В audit-log-timeline добавлены min-w-0, чтобы лента
не вызывала горизонтальный скролл на узких экранах.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- pnpm catalog: один typescript 6.0.3 и vitest 4.1.10 на весь монорепо
- задача turbo typecheck; tsc вынесен из build web (блокировал vite build)
- eslint-конфиги для api/db/shared (бэкенд не линтился)
- turbo test больше не зависит от ^build (тесты идут по исходникам)
- react-day-picker перенесён из web в ui (потребитель calendar.tsx)
- из web удалены неиспользуемые motion/@dnd-kit×4/react-virtual/date-fns
- демо-блоки blocks/ (sheet-9, solution-users-1/6, settings-5, auth-18) —
не импортировались; auth-logo перенесён в components/auth-logo.tsx
- варианты грида data-grid-table-dnd/-dnd-rows/-virtual и ui/svgs — не импортировались
- убраны исключения blocks из tsconfig и eslint
- AGENTS.md: добавить apps/api/db/shared в описание стека
- Updated environment configurations to include CDN Manager in the RETURN_TO_ALLOWLIST.
- Enhanced target app resolution to recognize CDN-related hosts.
- Added CDN Manager to the application switcher and updated relevant documentation.
- Included tests to verify the correct mapping of CDN hosts.
Co-authored-by: Cursor <[email protected]>
- Introduced the CreateOidcClientSheet component for OIDC client creation.
- Updated the index export to include the new component.
- Modified the OIDC admin route to import and utilize the new CreateOidcClientSheet.
Co-authored-by: Cursor <[email protected]>
- Added new OIDC configuration options in `.env.example`.
- Expanded documentation in `AGENTS.md` to include OIDC endpoints and admin UI.
- Updated ReUI skill version and component count from 17 to 20 across various documentation files.
- Enhanced `README.md` and other related files to reflect the new component structure and usage guidelines.
Co-authored-by: Cursor <[email protected]>
Добавлен POST /api/v1/ingest/audit, фильтры source_app/user_id, last_login_at; таблица пользователей по solution-users-1 с журналом в Sheet.
Co-authored-by: Cursor <[email protected]>
Добавлен audit log (solution-users-6) с retention N дней и hourly purge; таблица пользователей приведена к DNA solution-users-1 (Filters, avatar, sorting).
Co-authored-by: Cursor <[email protected]>
- Removed unused permission and app retrieval logic from the login process.
- Introduced a new endpoint for reissuing access tokens to handle role changes and account switches.
- Updated JWT payload handling to improve clarity and maintainability.
- Enhanced the readJwtPayload function for better decoding of JWT claims.
- Added NavUser component to the SidebarFooter for user information display.
- Refactored SiteHeader by removing unused imports and components related to user account management.
- Updated breadcrumbs logic to include a new path for admin apps.
- Adjusted SidebarMenuItem formatting for improved readability.
- Added support for optional tenant IDs in JWT claims for user permissions.
- Updated auth routes to include tenant information in the JWT payload.
- Enhanced app switcher configuration to handle tenant IDs without exposing them publicly.
- Improved documentation for EvoBGP tenant ID integration and its usage in JWT.
- Added useEffect to reset admin state when the sheet is closed.
- Updated SheetContent to include a close button and improved styling.
- Enhanced form structure with better accessibility and user experience.
- Integrated error display using Alert component for form submission feedback.