fix: improve session export and empty chat states

Move session export into the sidebar menu
Add desktop save-and-reveal flow for exported markdown
Show empty-state UI instead of a loading skeleton for empty sessions
This commit is contained in:
Bohdan Triapitsyn
2026-04-17 15:33:26 +03:00
parent a17d159e18
commit 71eac0d2f6
7 changed files with 192 additions and 40 deletions
+1
View File
@@ -72,6 +72,7 @@ export {
useSessionMessageRecords,
useSessionTextMessages,
useUserMessageHistory,
buildSessionMessageRecordsSnapshot,
} from "./sync-context"
// Sync operations
+1 -1
View File
@@ -1698,7 +1698,7 @@ function getVisibleMessagesForSession(state: State, sessionID: string, previous?
}
}
function buildSessionMessageRecordsSnapshot(
export function buildSessionMessageRecordsSnapshot(
state: State,
sessionID: string,
previous?: SessionMessageRecordsSnapshot,