Skip to content

docs: browser-neutral privacy policy matching the extension's declared data - #61

Merged
pratts merged 1 commit into
mainfrom
docs/48-privacy-policy
Nov 18, 2026
Merged

pratts merged 1 commit into
mainfrom
docs/48-privacy-policy

Conversation

@pratts

@pratts pratts commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Closes #48. Part of the Firefox release milestone.

Why

The privacy policy said "The Chrome extension…". AMO reviewers compare it with the manifest's data_collection_permissions (#43). Two statements were also inaccurate:

  • "We do not sell or share your data with third parties": summaries send the note's text to OpenAI (OPENAI_BASE_URL, default api.openai.com).
  • "You may delete your … account at any time": there is no account-deletion endpoint or button.

Changes

  • frontend/src/pages/privacy-policy.tsx (effective date 2026-11-18):
    • Who we are: the extension (Chrome and Firefox), the dashboard and the server.
    • What we collect: account (name, email, and the password as a salted hash), notes (selected text, page URL and title, domain, summaries), login tokens (refresh tokens kept on the server only as a hash), and server logs (IP address, time, path and status, from Fiber's logger).
    • What we don't collect: nothing is sent until the user acts; "Notes from this site" matches the current site against saved notes on the device first; settings stay in browser storage; no analytics or tracking.
    • Who else receives it: the AI provider, for summaries only, and the hosting providers. Speech comes from the browser's engine, but some browser or OS voices are online services.
    • Deleting data: notes in the app, the account by email.
    • Permissions: the final list from [extension][P1] Step 3: Handle missing or revoked host permissions and trim permissions #45, in plain words. A short "Changes" section is added.
    • Some sections now render as lists.
  • extension/package.json: the description says "browser extension for Chrome and Firefox", with firefox and firefox-addon keywords.
  • READMEs: the descriptions say Chrome and Firefox. Store links are left for [docs][P3] Step 11: Link the Firefox Add-ons listing in the READMEs and dashboard #53.

No extension version bump: only tests/, README.md and package.json change in extension/, and none of them is shipped.

Tests

  • frontend/src/pages/privacy-policy.test.tsx (5 tests):
    • the page is public and covers both browsers, with no "The Chrome extension";
    • it covers each declared data category, the AI provider, deletion, and every permission.
  • extension/tests/manifest.test.mjs: reads the policy source and fails if a declared data category or permission has no wording in it.
    • Frontend tests can't read files outside frontend/ (Vite denies it), and frontend CI only runs on frontend/**.
    • So this direction catches a manifest change that the policy misses.

Results:

  • Frontend: lint, typecheck, unit tests (123), build and api:check pass. I also checked the built page in headless Chrome.
  • e2e: not run, because there's no local backend on :3000. The e2e suites only use /privacy-policy as a landing page and don't check its text.
  • Extension: npm test, 97 pass.

For AMO (#52)

Privacy policy URL: https://tts-study-assistant.vercel.app/privacy-policy. It's public and needs no login, and the extension popup links to it. Live after this merges and Vercel deploys.

🤖 Generated with Claude Code

…d data

- Policy covers the extension in Chrome and Firefox, the dashboard and
  the server. Lists what is collected (account, notes with page URL and
  title, login tokens, server logs) and what isn't, matching
  data_collection_permissions in the manifest.
- Discloses that summaries send the note's text to the AI provider
  (OpenAI); the old text said nothing is shared with third parties.
- Account deletion is by email (there is no endpoint); notes can be
  deleted in the app. Permissions are the final list from #45.
- Frontend test checks the wording; the extension's manifest test fails
  if a declared category or permission has no wording in the policy.
- package.json description and READMEs say Chrome and Firefox.

Closes #48

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pratts pratts added this to the Firefox release (AMO) milestone Nov 18, 2026
@pratts pratts self-assigned this Nov 18, 2026
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tts-study-assistant Ready Ready Preview Nov 18, 2026 2:35pm UTC

@pratts
pratts merged commit 644a975 into main Nov 18, 2026
16 checks passed
@pratts
pratts deleted the docs/48-privacy-policy branch November 18, 2026 14:35

This branch was successfully deployed

1 active deployment
Preview — b571adcf Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs][frontend][P2] Step 6: Make the privacy policy browser-neutral and match the declared data collection

1 participant