MCPcopy Create free account
hub / github.com/experdot/pointer / expandTopicsForMessage

Function expandTopicsForMessage

src/renderer/src/services/navigationService.ts:89–95  ·  view source on GitHub ↗
(pageId: string, messageId: string)

Source from the content-addressed store, hash-verified

87 * 展开包含指定消息的所有折叠 Topic
88 */
89export async function expandTopicsForMessage(pageId: string, messageId: string): Promise<void> {
90 const collapsedTopicIds = getCollapsedTopicsForMessage(pageId, messageId)
91
92 for (const topicId of collapsedTopicIds) {
93 await messagesService.setTopicCollapsed(pageId, topicId, false)
94 }
95}
96
97// ==================== 相对导航 ====================
98

Callers 2

useSearchHighlightFunction · 0.90
navigateToMessageFunction · 0.85

Calls 1

Tested by

no test coverage detected