Skip to content

OSA: Privacy choices dialog on the privacy page and in the widget reference - #46

Merged
neuromechanist merged 4 commits into
mainfrom
docs/osa-privacy-choices
Nov 11, 2026
Merged

neuromechanist merged 4 commits into
mainfrom
docs/osa-privacy-choices

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

The OSA widget's footer checkbox ("Share page URL to help answer questions") became a Privacy choices button and dialog in OpenScience-Collective/osa#708, with a second choice, Share usage data. This brings the docs in line.

  • docs/osa/privacy.md: synced with PRIVACY.md on OSA develop (the "Your choices" section, the request table, the usage-metrics and tracing notes for Share usage data off).
  • docs/osa/deployment/widget.md: the options table drops pageContextLabel (removed from the widget) and adds shareUsageDefaultEnabled, shareUsageStorageKey and privacyUrl; Page Context Awareness, Privacy and the troubleshooting note describe the dialog instead of the checkbox.

Tested: uv run mkdocs build --strict passes.

Update (2026-11-11)

Since the first version, docs/osa/privacy.md also says:

The page matches OSA's PRIVACY.md byte for byte, apart from the front matter and the "Source" note, once osa#726 and osa#727 are on develop. Merge this after both.

…s, then deleted

Mirrors OSA's PRIVACY.md after OpenScience-Collective/osa#726. mkdocs build: the page builds;
the only warning is OSCAR's examples link (submodule, same pin as main).
@neuromechanist

Copy link
Copy Markdown
Member Author

Review round 1 (Sonnet code reviewer, the three privacy PRs together): outcomes

Reviewed together: OpenScience-Collective/osa#727, #46 and nemarOrg/docs#116.
Tests: NEMAR docs bun test 254 pass, OSA test_privacy_page.py passes, and mkdocs build --strict shows only the known OSCAR submodule warning.
The documentation mirror matches OSA's PRIVACY.md (develop plus osa#726 and osa#727) byte for byte, apart from the front matter and the source note.

PR # Severity Finding Outcome
osa#727 1 Suggestion "A request about data that concerns you" invites requests OSA cannot act on, and the wording differed from NEMAR's Fixed on all three pages: privacy questions only, plus "Usage records and feedback are not tied to a name or an account, so the maintainers may not be able to find what concerns one person." NEMAR's line says "Privacy questions about the assistant".
osa#727 2 Suggestion The CHANGELOG entry had no PR number, and it will conflict with osa#726 in CHANGELOG.md Fixed: "(#727)". The conflict is resolved by merging develop into the branch after osa#726, with no rebase.
documentation#46 1 Important widget.md says the default link is docs.osc.earth, but the widget's default is GitHub's PRIVACY.md Rejected, false positive. The reviewer read an old local checkout. On develop, frontend/osa-chat-widget.js:17817 is const DEFAULT_PRIVACY_URL = 'https://docs.osc.earth/osa/privacy/'; (osa#711), and docs/community-widget.md:1111 says the same.
documentation#46 2 Suggestion The PR body did not mention retention or the contact, or that it depends on osa#726 and osa#727 Fixed: an Update section, which says to merge after both
nemarOrg/docs#116 1 Important Merge sequencing: production nemar.org still runs the older widget (a "Share page URL" checkbox, no Privacy choices button) and the purge is not released Held for the maintainer: they directed "merge all after review", but merging publishes now. The maintainer's session asked them before merging this one.
nemarOrg/docs#116 2 Suggestion Contact wording differed from OSA's Fixed, see osa#727 item 1
nemarOrg/docs#116 3 Suggestion Share usage data: OSA's page also says that off means no trace Fixed: "with it off, the assistant also makes no trace of the request"

@neuromechanist
neuromechanist merged commit 25f14c0 into main Nov 11, 2026
@neuromechanist
neuromechanist deleted the docs/osa-privacy-choices branch November 11, 2026 20:04
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.

1 participant