fix: remove folder page helper card

This commit is contained in:
AI Bot
2026-06-05 14:44:01 +08:00
parent 9807c7a275
commit 4e2636ec8b
2 changed files with 3 additions and 8 deletions

View File

@@ -253,12 +253,6 @@ public class ConversationFolderActivity extends BossScreenActivity {
folderDeviceId = folder.optString("deviceId", folderDeviceId == null ? "" : folderDeviceId).trim();
int threadCount = folder.optInt("threadCount", 0);
configureScreen(resolvedFolderName, threadCount + " 个线程");
appendContent(BossUi.buildSoftPanel(
this,
"项目内部线程页",
resolvedFolderName,
"点击线程后进入具体聊天窗口。"
));
JSONArray threads = folder.optJSONArray("threads");
updateTrackedProjectIds(threads);

View File

@@ -1,6 +1,7 @@
package com.hyzq.boss;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import android.content.Intent;
@@ -54,8 +55,8 @@ public class ConversationFolderActivityTest {
assertEquals(View.GONE, refreshButton.getVisibility());
assertEquals("Talking", String.valueOf(titleView.getText()));
assertEquals("3 个线程", String.valueOf(subtitleView.getText()));
assertTrue(viewTreeContainsText(content, "Talking"));
assertTrue(viewTreeContainsText(content, "项目内部线程页"));
assertFalse("项目抽屉页不应展示冗余说明卡片标题", viewTreeContainsText(content, "项目内部线程页"));
assertFalse("项目抽屉页不应展示冗余说明卡片文案", viewTreeContainsText(content, "点击线程后进入具体聊天窗口。"));
ReflectionHelpers.callInstanceMethod(activity, "showMoreMenu");