Address Stories review feedback

This commit is contained in:
Manjunath committed 2026-11-16 22:35:07 +05:30
1 parent 2edcd5bc69
commit fec84dbf78
48 files changed
+783 -232

No files matched your search

+8
View File
@@ -4,6 +4,14 @@ const wantsStories = () => {
return STORIES_PARAMS.some((p) => params.has(p));
};
/** Stop microphone use on entry while letting an active typed turn finish. */
export function stopVoiceForStories(session) {
if (!session || session.adapter.getStartOptions?.()?.textOnly) return false;
const wasActive = session.isActive();
session.stop();
return wasActive;
}
/**
* Stories, loaded on first use. The controller, the story catalog, the
* screens and their styles are separate chunks, fetched when the person