Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/mobile-rn/scripts/visual-qa.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ async function run() {
}
}
for (const expectedText of result.expectedTexts ?? []) {
if (!result.probe.bodyText.includes(expectedText)) {
if (!result.probe.bodyText.toLowerCase().includes(expectedText.toLowerCase())) {
failures.push(`${result.name}: missing expected text "${expectedText}"`);
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/mobile-rn/src/components/layout/ScreenHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function ScreenHeader({
{title}
</Text>
{description ? (
<Text numberOfLines={1} style={{ color: tokens.color.inkMuted, fontSize: tokens.type.sm, lineHeight: tokens.type.lineHeight.sm }}>
<Text numberOfLines={2} style={{ color: tokens.color.inkMuted, fontSize: tokens.type.sm, lineHeight: tokens.type.lineHeight.sm }}>
{description}
</Text>
) : null}
Expand Down
6 changes: 6 additions & 0 deletions app/mobile-rn/src/i18n/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ export const strings = {
projectSettingsDescription: 'Members, notifications, and project defaults.',
settingsEyebrow: 'AgentHub Settings',
settingsDescription: 'Workspace settings stay separate from the avatar profile and TokenDance ID account surface.',
settingsTabWorkspace: 'Workspace',
settingsTabDevice: 'Devices',
settingsTabIdentity: 'Identity',
workspaceSettings: 'Workspace settings',
workspaceSettingsDescription: 'Project defaults, notification policy, and mobile workspace behavior.',
hubSessionSettingsDescription: 'Open the profile/account sheet for TokenDance ID, Hub session, device, and theme controls.',
Expand Down Expand Up @@ -651,6 +654,9 @@ export const strings = {
projectSettingsDescription: '成员、通知和项目默认项。',
settingsEyebrow: 'AgentHub 设置',
settingsDescription: '工作区设置与头像 Profile、TokenDance ID 账号面板保持独立语义。',
settingsTabWorkspace: '工作区',
settingsTabDevice: '设备',
settingsTabIdentity: '身份',
workspaceSettings: '工作区设置',
workspaceSettingsDescription: '项目默认值、通知策略和 Mobile 工作区行为。',
hubSessionSettingsDescription: '打开 Profile/账号面板,管理 TokenDance ID、Hub 会话、设备和主题。',
Expand Down
10 changes: 5 additions & 5 deletions app/mobile-rn/src/screens/WorkbenchSurfaceScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ function getSurfaceConfig(
title: t.settings,
description: t.settingsDescription,
panes: [
{ label: t.workspaceSettings, value: 'workspace' },
{ label: t.settingsTabWorkspace, value: 'workspace' },
{ label: t.appearanceSettings, value: 'appearance' },
{ label: t.notifications, value: 'notifications' },
{ label: t.nativeDeviceCapabilities, value: 'device' },
{ label: t.settingsTabDevice, value: 'device' },
{ label: t.agentDefaults, value: 'agent-defaults' },
{ label: t.localRuntimeState, value: 'runtime' },
{ label: t.identityAndSession, value: 'identity' },
{ label: t.settingsTabIdentity, value: 'identity' },
{ label: t.approvalPolicy, value: 'approval' },
],
metrics: [
Expand Down Expand Up @@ -930,7 +930,7 @@ function SurfaceListRow({
<Badge label={row.meta} size="micro" />
</View>
<Text
numberOfLines={1}
numberOfLines={2}
style={{
color: tokens.color.inkMuted,
fontSize: tokens.type.xs,
Expand Down Expand Up @@ -998,7 +998,7 @@ function OverflowListRow({
{row.title}
</Text>
<Text
numberOfLines={1}
numberOfLines={2}
style={{
color: tokens.color.inkMuted,
fontSize: tokens.type.xs,
Expand Down