feat(ui): короткий роут m для тредов и восстановление заголовка канала

This commit is contained in:
AidarKC
2026-05-19 01:05:25 +03:00
parent d13c60fca1
commit 3a0899bcfe
5 changed files with 111 additions and 44 deletions
+14
View File
@@ -99,6 +99,20 @@ export function getRoute() {
};
}
if (pageId === 'm') {
return {
pageId: 'channel-thread-view',
params: {
messageBlockchainName: decodePart(segments[1]),
messageBlockNumber: segments[2] || '',
messageBlockHash: segments[3] || '',
channelOwnerBlockchainName: '',
channelRootBlockNumber: '',
channelRootBlockHash: '',
},
};
}
if (pageId === 'device-session-view') {
return { pageId, params: { sessionId: dynamicId ? decodeURIComponent(dynamicId) : '' } };
}