forked from baron/baron-sso
Baron 통합로그인 -> Baron 로그인 명칭 변경
This commit is contained in:
@@ -801,10 +801,10 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
|
||||
String _appLabelForPath(String path) {
|
||||
if (path.startsWith('/api/v1/auth')) {
|
||||
return 'Baron 통합로그인';
|
||||
return 'Baron 로그인';
|
||||
}
|
||||
if (path.startsWith('/api/v1/user')) {
|
||||
return 'Baron 통합로그인';
|
||||
return 'Baron 로그인';
|
||||
}
|
||||
if (path.startsWith('/api/v1/dev')) {
|
||||
return 'Dev Console';
|
||||
@@ -812,7 +812,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
if (path.startsWith('/api/v1/admin')) {
|
||||
return 'Admin Console';
|
||||
}
|
||||
return 'Baron 통합로그인';
|
||||
return 'Baron 로그인';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -831,7 +831,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
backgroundColor: _subtle,
|
||||
appBar: AppBar(
|
||||
title: Text(
|
||||
'Baron 통합로그인',
|
||||
'Baron 로그인',
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
elevation: 0,
|
||||
@@ -890,7 +890,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
const SizedBox(height: 12),
|
||||
_buildPastRps(isMobile),
|
||||
const SizedBox(height: 28),
|
||||
_buildSectionTitle('접속이력', 'Baron 통합로그인 기준의 최근 접근 기록입니다.'),
|
||||
_buildSectionTitle('접속이력', 'Baron 로그인 기준의 최근 접근 기록입니다.'),
|
||||
const SizedBox(height: 12),
|
||||
_buildAccessHistory(timelineWide),
|
||||
],
|
||||
@@ -1041,7 +1041,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
if (snapshot.connectionState == ConnectionState.waiting) {
|
||||
return const SizedBox(height: 40, child: Center(child: CircularProgressIndicator()));
|
||||
}
|
||||
|
||||
|
||||
final pastItems = (snapshot.data ?? []).where((h) => h.status != 'active').toList();
|
||||
if (pastItems.isEmpty) {
|
||||
return Column(
|
||||
@@ -1078,7 +1078,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
final lastAuthLabel = rp.lastAuthenticatedAt != null
|
||||
? _formatDateTime(rp.lastAuthenticatedAt!)
|
||||
: '연동됨';
|
||||
|
||||
|
||||
final normalizedStatus = rp.status.toLowerCase();
|
||||
final statusLabel = isRevoked ? '비활성' : (normalizedStatus.isEmpty || normalizedStatus == 'active' ? '활성' : '비활성');
|
||||
final name = rp.name.isNotEmpty ? rp.name : rp.id;
|
||||
@@ -1150,7 +1150,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
final statusColor = isActive ? Colors.green : Colors.grey;
|
||||
final borderColor = isActive ? Colors.green.withOpacity(0.5) : _border;
|
||||
final borderWidth = isActive ? 1.5 : 1.0;
|
||||
|
||||
|
||||
// 활성 상태면 클릭 가능 (URL 유무와 관계없이)
|
||||
final isClickable = isActive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user