feat: organize project conversations and add coding teacher side chat
This commit is contained in:
1 parent
2f82b9f79c
commit
9242a40d87
45 files changed
+2987
-1137
No files matched your search
@@ -30,6 +30,7 @@ import {
|
||||
findNianCodeDeepLinkUrl,
|
||||
NIANCODE_APP_PROTOCOL,
|
||||
queueCloudAgentLink,
|
||||
queueTeacherPreviewRevision,
|
||||
parseNianCodeDeepLinkUrl,
|
||||
} from './app-deep-link';
|
||||
import { installMediaPermissionHandler } from './media-permissions';
|
||||
@@ -359,6 +360,9 @@ function handleAppDeepLinkActivation(rawUrl: string): boolean {
|
||||
if (deepLink.type === 'cloud-agent') {
|
||||
queueCloudAgentLink(deepLink.slug);
|
||||
mainWindow?.webContents.send('cloud-agent-link');
|
||||
} else if (deepLink.type === 'teacher-preview') {
|
||||
queueTeacherPreviewRevision(deepLink.draftRevision);
|
||||
mainWindow?.webContents.send('navigate', '/coding-teacher-preview?draftRevision=' + deepLink.draftRevision);
|
||||
} else {
|
||||
logger.info(`Received Makelore app link: type=${deepLink.type}, request_id=${deepLink.requestId}`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user