import stringToHTML from "@/seqta/utils/stringToHTML"; import { openPopup } from "@/seqta/utils/Openers/PopupManager"; /** Grade Analytics privacy — uses the shared BetterSEQTA+ whatsnew popup shell. */ export function openAnalyticsPrivacyPopup() { const header = stringToHTML( /* html */ `

Privacy notice

Grade Analytics on this device

`, ).firstChild as HTMLElement; const text = stringToHTML(/* html */ `

Your grade history and charts stay on this device. BetterSEQTA+ does not collect or store your analytics on our servers.

What we store locally

What we never do

How refresh works

Refresh data loads released marks directly from SEQTA while you are logged in. That traffic is between your browser and your school’s SEQTA site — not to us.

Clearing your data

You can remove cached analytics any time by clearing this extension’s storage in your browser settings.

General plugin settings (such as cache duration in the Grade Analytics plugin panel) may still sync if you use BetterSEQTA Cloud — but never your assessment results or charts.

`).firstChild as HTMLElement; openPopup({ header, content: [text], animateSelector: ".whatsnewTextContainer *", containerClass: "whatsnewContainer--scrollBody", }); }