Polish Novya UI with brand colors, first-load skeletons, and session transition overlay.
Keep chat pinned to the latest message while AI thinks or streams, and align buttons/inputs with the logo teal/blue focus treatment. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -312,7 +312,10 @@ export function isSessionCompleted(userId: string, sessionOrder: number): boolea
|
||||
* Check if the entire program is completed.
|
||||
*/
|
||||
export function isProgramCompleted(userId: string): boolean {
|
||||
return getProgramProgress(userId).completedAt !== null;
|
||||
const progress = getProgramProgress(userId);
|
||||
return (
|
||||
progress.completedAt !== null || progress.completedSessions.length >= PROGRAM_SESSION_COUNT
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user