AI disclaimer: also on the cards and the results
The note now rides along with the content itself, not only with the generation screens and the chat composer: - Under every card in the study feed and in the review, mistakes and exam sessions (the activity slide's last element — below the card, and below the feedback panel once answered). - On the results slides: the study results screen and the shared session results (review, mistakes, exam). Navigation surfaces (library, deck lists, chat history, settings) still carry no note — it belongs to the moment of generation and to the card being answered, not to browsing (README decision 50 updated). The phase-2 grading check now scopes its placement (the disclaimer right under the graded box) since the same text legitimately appears several times on a session page; three new checks cover the feed, the results slide and the exam (59 checks). SW -> freezmo-v40.
This commit is contained in:
parent
396da6528a
commit
b5269d2844
5 changed files with 44 additions and 9 deletions
|
|
@ -3,6 +3,7 @@
|
|||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
|
||||
import { ActivityRenderer } from "@/components/activities";
|
||||
import { AiDisclaimer } from "@/components/AiDisclaimer";
|
||||
import { XIcon } from "@/components/icons";
|
||||
import { ReportQuestionButton } from "@/components/ReportQuestionButton";
|
||||
import { ProgressBar } from "@/components/ui";
|
||||
|
|
@ -216,6 +217,7 @@ export function SessionFeed({
|
|||
isLast={itemIndex === total - 1}
|
||||
nextLabel={itemIndex === total - 1 ? t("review.seeResults") : undefined}
|
||||
/>
|
||||
<AiDisclaimer />
|
||||
</div>
|
||||
</section>
|
||||
))}
|
||||
|
|
@ -226,7 +228,12 @@ export function SessionFeed({
|
|||
>
|
||||
<div className="mx-auto flex min-h-full w-full max-w-xl flex-col gap-4 px-4 pb-24 pt-24 [justify-content:safe_center]">
|
||||
{finished
|
||||
? renderResults({ results, items, correct, total: attemptedTotal, score })
|
||||
? (
|
||||
<>
|
||||
{renderResults({ results, items, correct, total: attemptedTotal, score })}
|
||||
<AiDisclaimer />
|
||||
</>
|
||||
)
|
||||
: (
|
||||
<div className="card space-y-2 p-5 text-center">
|
||||
<p className="text-sm font-semibold text-[var(--text-muted)]">{t("review.results")}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue