Skip to content

[MBL-19968][All] Privacy settings screen & consent flow cleanup#3666

Merged
tamaskozmer merged 6 commits intomasterfrom
MBL-19968-new-feature-flag
Apr 29, 2026
Merged

[MBL-19968][All] Privacy settings screen & consent flow cleanup#3666
tamaskozmer merged 6 commits intomasterfrom
MBL-19968-new-feature-flag

Conversation

@tamaskozmer
Copy link
Copy Markdown
Contributor

@tamaskozmer tamaskozmer commented Apr 27, 2026

Test plan:
The API is currently available only on beta env.

Testing on the PROD env, the tracking policy should fall back to the send_usage_metrics FF:

  • Verify when the FF is enabled tracking is enabled
  • Verify when the FF is disabled tracking is disabled
  • Verify Profile Menu > Settings shows no Privacy Settings in all 3 apps

Testing on the BETA env, the usage_metrics value can be governed by adjusting the FFs:

  1. Tracking always enabled
  • Set send_usage_metrics_after_consent FF to enabled
  • Set cookie_consent_necessary FF to disabled
  • (will result in: usage_metrics: "track_usage")
  • Verify no consent dialog is shown at login
  • Verify tracking is enabled (regardless of the above FF)
  • Verify Profile Menu > Settings shows no Privacy Settings row in all 3 apps
  1. Tracking always disabled
  • Set send_usage_metrics_after_consent FF to disabled
  • Set cookie_consent_necessary FF to disabled
  • (will result in: usage_metrics: "no_track_usage")
  • Verify no consent dialog is shown at login
  • Verify tracking is disabled (regardless of the above FF)
  • Verify Profile Menu > Settings shows no Privacy Settings row in all 3 apps
  1. Tracking requires consent
  • Set send_usage_metrics_after_consent FF to enabled
  • Set cookie_consent_necessary FF to enabled
  • (will result in: usage_metrics: "ask_for_consent")
  • Verify consent dialog is shown at login
  • Clear the user consent by logging out and in (or via the developer menu)
  • Verify tracking follows the choice (regardless of the above FF)
  • Verify Profile Menu > Settings shows Privacy Settings row in all 3 apps, and the value matches the choice
  • Verify Setting changes enabled/disable tracking as expected

refs: MBL-19968, MBL-19964
affects: Student, Teacher, Parent
release note: Added a Privacy settings screen under the Legal section. It shows a toggle for anonymous usage data sharing and only appears when the institution requires explicit user consent.

Checklist

  • Follow-up e2e test ticket created or not needed
  • Tested in dark mode
  • Tested in light mode
  • Test in landscape mode and/or tablet
  • A11y checked
  • Approve from product

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

🧪 Unit Test Results

✅ 📱 Parent App

  • Tests: 310 total, 0 failed, 0 skipped
  • Duration: 36.156s
  • Success Rate: 100%

✅ 📱 Student App

  • Tests: 1210 total, 0 failed, 0 skipped
  • Duration: 0.000s
  • Success Rate: 100%

✅ 📱 Teacher App

  • Tests: 364 total, 0 failed, 0 skipped
  • Duration: 30.358s
  • Success Rate: 100%

✅ 🌅 Horizon

  • Tests: 779 total, 0 failed, 0 skipped
  • Duration: 38.224s
  • Success Rate: 100%

✅ 📦 Submodules

  • Tests: 3467 total, 0 failed, 0 skipped
  • Duration: 55.023s
  • Success Rate: 100%

📊 Summary

  • Total Tests: 6130
  • Failed: 0
  • Skipped: 0
  • Status: ✅ All tests passed!

Last updated: Tue, 28 Apr 2026 12:10:13 GMT

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

📊 Code Coverage Report

ℹ️ Student

  • PR Coverage: 42.48%
  • Master Coverage: N/A

ℹ️ Teacher

  • PR Coverage: 25.23%
  • Master Coverage: N/A

ℹ️ Pandautils

  • PR Coverage: 24.10%
  • Master Coverage: N/A

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Teacher Install Page

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Parent Install Page

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Student Install Page

Copy link
Copy Markdown
Contributor

@kristofnemere kristofnemere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA+1

@tamaskozmer tamaskozmer merged commit 1a7655c into master Apr 29, 2026
43 of 50 checks passed
@tamaskozmer tamaskozmer deleted the MBL-19968-new-feature-flag branch April 29, 2026 12:49
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.

2 participants