refactor: remove readonly wording from thread status surfaces

This commit is contained in:
kris
2026-04-05 04:02:34 +08:00
parent 2a34c19cc9
commit 2e4d6f693d
4 changed files with 11 additions and 9 deletions

View File

@@ -117,8 +117,8 @@ public class ConversationInfoActivity extends BossScreenActivity {
appendContent(BossUi.buildWechatMenuRow(
this,
"线程状态",
"只读状态文档和最近进展事件",
projectFolderName.isEmpty() ? "只读" : projectFolderName + " · 只读",
"状态文档和最近进展事件",
projectFolderName.isEmpty() ? null : projectFolderName,
null,
v -> openThreadStatus()
));

View File

@@ -20,8 +20,8 @@ public class ThreadStatusActivity extends BossScreenActivity {
super.onCreate(savedInstanceState);
projectId = getIntent().getStringExtra(EXTRA_PROJECT_ID);
projectName = getIntent().getStringExtra(EXTRA_PROJECT_NAME);
configureScreen("线程状态", projectName == null ? "只读状态文档" : projectName);
setHeaderAction("只读", v -> showMessage("线程状态只读"));
configureScreen("线程状态", projectName == null ? "线程状态文档" : projectName);
hideHeaderAction();
reload();
}
@@ -67,7 +67,7 @@ public class ThreadStatusActivity extends BossScreenActivity {
appendContent(BossUi.buildSimpleProfileHeader(
this,
threadDisplayName,
"只读状态文档",
"线程状态文档",
buildHeaderDetail(document, recentProgressEvents)
));
@@ -92,7 +92,7 @@ public class ThreadStatusActivity extends BossScreenActivity {
this,
"最近进展事件",
count <= 0 ? "当前还没有进展事件。" : "" + count + "",
"只读视图 · 最近 5 条",
"自动同步 · 最近 5 条",
null,
null
));