1
0
forked from baron/baron-sso

fix(admin): stabilize tenant import report UI and satisfy E2E tests

- Added missing i18n keys for import results in both root and common locales.
- Fixed TypeScript type errors and implicit 'any' types in TenantListPage.
- Added 'destructive' variant to common Badge component.
- Updated Playwright tests with refined locators and enhanced API mocks to match the new reporting structure.
- Restored quick summary message in Tenant Registry for backward compatibility.
This commit is contained in:
2026-06-04 12:59:32 +09:00
parent 91e983b315
commit 8f2e351875
9 changed files with 106 additions and 9 deletions

View File

@@ -26,6 +26,7 @@ subtitle = "View administrator activity history."
subtitle = "View developer activity history within the current app scope."
[ui.common]
no_results = "No results to display."
apply = "Apply"
actions = "Actions"
add = "Add"

View File

@@ -26,6 +26,7 @@ subtitle = "관리자 작업 이력을 조회합니다."
subtitle = "현재 앱 범위의 개발자 작업 이력을 조회합니다."
[ui.common]
no_results = "표시할 결과가 없습니다."
apply = "적용"
actions = "액션"
add = "추가"

View File

@@ -26,6 +26,7 @@ subtitle = ""
subtitle = ""
[ui.common]
no_results = ""
apply = "Apply"
actions = ""
add = ""

View File

@@ -12,6 +12,8 @@ export const commonBadgeVariantClasses = {
"border-transparent bg-emerald-100 text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300",
warning:
"border-transparent bg-amber-100 text-amber-700 dark:bg-amber-900/40 dark:text-amber-200",
destructive:
"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
info: "border-transparent bg-blue-500 text-white hover:bg-blue-500/90",
} as const;