The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
/**
* When "What is new" (E21) opens by itself: once per version, never during
* the onboarding, never for a version without notes. Pure, so the rule is a
* unit test. The seen version lives in the shared releaseNotesStore, the
* texts are the phone's own (strings/release-notes.ts).
*/
import { mobileReleaseNoteFor } from '../../../strings/release-notes'
export function shouldShowMobileNotes(currentVersion: string, lastSeen: string | null, onboardingDone: boolean): boolean {
if (!onboardingDone) return false
if (!mobileReleaseNoteFor(currentVersion)) return false
return lastSeen !== currentVersion
}