Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions desktop/src/main/kotlin/io/askimo/desktop/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateMapOf
Expand Down Expand Up @@ -1022,6 +1021,9 @@ fun app(frameWindowScope: FrameWindowScope? = null, windowState: WindowState? =
sessionMemorySessionId = sessionId
showSessionMemoryDialog = true
},
onMoveSessionToNewProject = {
showNewProjectDialog = true
},
onEditProject = { projectId ->
editingProjectId = projectId
showEditProjectDialog = true
Expand Down Expand Up @@ -2017,7 +2019,6 @@ fun mainContent(
onOpenSystemDiagnostics: () -> Unit = {},
bookmarksViewModel: BookmarksViewModel? = null,
) {
val discoverRefresh by appContext.telemetry.refreshSignal.collectAsState()
Box(
modifier = Modifier
.fillMaxSize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ fun navigationSidebar(
onRenameSession: (String, String) -> Unit,
onExportSession: (String) -> Unit,
onShowSessionSummary: (String) -> Unit = {},
onMoveSessionToNewProject: (sessionId: String) -> Unit = {},
onEditProject: (String) -> Unit = {},
onDeleteProject: (String) -> Unit = {},
onEditUserProfile: () -> Unit,
Expand Down Expand Up @@ -118,6 +119,7 @@ fun navigationSidebar(
onRenameSession = onRenameSession,
onExportSession = onExportSession,
onShowSessionSummary = onShowSessionSummary,
onMoveSessionToNewProject = onMoveSessionToNewProject,
onEditProject = onEditProject,
onDeleteProject = onDeleteProject,
userProfileContent = {
Expand Down
Loading