feat(subsystem): 调整子系统接入状态显示
- Wayne 和 CloudDM 状态设为 active(在线) - 其他子系统状态设为 integrating(接入改造中) - 状态文本统一调整为「在线」/「接入改造中」 - 非 active 状态的跳转按钮显示为灰色禁用状态 Co-authored-by: lx <lx@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ export interface Subsystem {
|
||||
url: string
|
||||
domain: string
|
||||
category: string
|
||||
status: 'integrated' | 'integrating'
|
||||
status: 'active' | 'integrated' | 'integrating'
|
||||
sso_enabled: boolean
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ const mockSubsystems: Subsystem[] = [
|
||||
url: 'https://wayne.qiniu.com',
|
||||
domain: 'wayne.xinfra.internal',
|
||||
category: '容器管理',
|
||||
status: 'integrated',
|
||||
status: 'active',
|
||||
sso_enabled: true,
|
||||
},
|
||||
{
|
||||
@@ -42,7 +42,7 @@ const mockSubsystems: Subsystem[] = [
|
||||
url: 'https://clouddm.qiniu.com',
|
||||
domain: 'clouddm.xinfra.internal',
|
||||
category: '数据库',
|
||||
status: 'integrated',
|
||||
status: 'active',
|
||||
sso_enabled: true,
|
||||
},
|
||||
{
|
||||
@@ -78,7 +78,7 @@ const mockSubsystems: Subsystem[] = [
|
||||
url: 'https://qpass.xinfra.internal',
|
||||
domain: 'qpass.xinfra.internal',
|
||||
category: '内部系统',
|
||||
status: 'integrated',
|
||||
status: 'integrating',
|
||||
sso_enabled: true,
|
||||
},
|
||||
{
|
||||
@@ -90,7 +90,7 @@ const mockSubsystems: Subsystem[] = [
|
||||
url: 'https://grafana.xinfra.internal',
|
||||
domain: 'grafana.xinfra.internal',
|
||||
category: '可观测性',
|
||||
status: 'integrated',
|
||||
status: 'integrating',
|
||||
sso_enabled: true,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user