Skip to content

chore: remove COPPA age requirement warnings and references#49

Merged
dmeiser merged 3 commits into
mainfrom
remove/coppa-warnings
Jul 12, 2026
Merged

chore: remove COPPA age requirement warnings and references#49
dmeiser merged 3 commits into
mainfrom
remove/coppa-warnings

Conversation

@dmeiser

@dmeiser dmeiser commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Removes COPPA-related copy from the UI, docs, and project guidance.

Changes:

  • LandingPage.tsx: remove COPPA warning block
  • LoginPage.tsx: remove COPPA warning alert
  • SignupPage.tsx: remove COPPA warning alert and file-header comment
  • PrivacyPolicyPage.tsx: remove Children's Privacy (COPPA) section
  • README.md: remove COPPA bullet points
  • docs/BRANDING_GUIDE.md & docs/BRANDING_GUIDE.html: remove COPPA warning section and CSS
  • docs/branding/README.md: remove COPPA compliance bullet
  • .github/copilot-instructions.md: remove COPPA compliance rule
  • frontend/tests/LandingPage.test.tsx: remove COPPA warning test
  • tests/e2e/test_smoke_signup.py: reword comment

The signup form age-confirmation checkbox remains functional.

dmeiser added 2 commits July 9, 2026 08:30
- Update frontend .env.example to use login.dev.kernelworx.app
- Change deploy.sh to discover the Cognito custom domain from OpenTofu
  output first, then AWS CLI describe-user-pool, instead of the legacy
  CloudFormation lookup
- Add cognito_domain output to tofu/application/environments/dev/main.tf
  for parity with prod
Removes COPPA-related copy from the UI, docs, and project guidance:
- LandingPage, LoginPage, SignupPage warning alerts/blocks
- PrivacyPolicyPage Children's Privacy (COPPA) section
- README, branding guide, and copilot instructions references
- Related LandingPage test

The signup form age-confirmation checkbox remains functional.
Copilot AI review requested due to automatic review settings July 9, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes COPPA/children’s privacy messaging from the UI and documentation, while also updating deployment/infrastructure outputs to better support discovering the Cognito hosted UI domain during frontend deployment.

Changes:

  • Removed COPPA-related warning copy from public-facing frontend pages, tests, and documentation.
  • Updated frontend deployment logic to derive the Cognito domain via OpenTofu outputs (with AWS CLI / constructed fallbacks).
  • Added/standardized OpenTofu outputs for the Cognito domain and updated the frontend .env.example to reflect the custom domain.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tofu/application/environments/dev/main.tf Reformatting + adds cognito_domain output for deployment tooling.
tests/e2e/test_smoke_signup.py Rewords age checkbox comment (COPPA reference removed).
README.md Removes COPPA warning bullet(s) from project overview/compliance section.
frontend/tests/LandingPage.test.tsx Removes assertion for COPPA warning block that no longer renders.
frontend/src/pages/SignupPage.tsx Removes COPPA warning copy/component from signup UI (age checkbox remains).
frontend/src/pages/PrivacyPolicyPage.tsx Removes “Children’s Privacy (COPPA)” section from privacy policy page.
frontend/src/pages/LoginPage.tsx Removes COPPA warning alert from login page.
frontend/src/pages/LandingPage.tsx Removes COPPA warning panel from landing page content.
frontend/deploy.sh Switches Cognito domain discovery to prefer OpenTofu output with AWS CLI fallback.
frontend/.env.example Updates example Cognito domain to match custom login domain pattern.
docs/branding/README.md Removes COPPA compliance bullet from branding asset notes.
docs/BRANDING_GUIDE.md Removes COPPA warning example section from branding guide.
docs/BRANDING_GUIDE.html Removes COPPA-related CSS and example markup from branding guide HTML.
.github/copilot-instructions.md Removes COPPA warning guidance from repo Copilot instructions.

Comment thread frontend/deploy.sh
fi
COGNITO_DOMAIN=$(aws cognito-idp describe-user-pool \
--user-pool-id "$USER_POOL_ID" \
--query 'UserPool.CustomDomain' \
Comment thread frontend/deploy.sh
Comment on lines +95 to +99
# OpenTofu environment directory (for output lookups)
TOFU_DIR="$SCRIPT_DIR/../tofu/application/environments/$ENVIRONMENT"

# Get Cognito custom domain
# 1. Prefer OpenTofu output (matches the managed infrastructure config)
Resolved conflicts:
- frontend/src/pages/LandingPage.tsx
- frontend/tests/LandingPage.test.tsx

Kept main's rewritten landing page and tests, which no longer contain the COPPA warning.
@dmeiser
dmeiser merged commit e94e841 into main Jul 12, 2026
6 of 7 checks passed
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