Skip to content

Comments

feat(LC-1594): Centralized Age Consent for AI and telemetry LCA systems#1024

Draft
goblincore wants to merge 4 commits intomainfrom
lc-1594-age-gate-privacy-preferences
Draft

feat(LC-1594): Centralized Age Consent for AI and telemetry LCA systems#1024
goblincore wants to merge 4 commits intomainfrom
lc-1594-age-gate-privacy-preferences

Conversation

@goblincore
Copy link
Collaborator

@goblincore goblincore commented Feb 24, 2026

Overview

🎟 Relevant Jira Issues

πŸ“š What is the context and goal of this PR?

πŸ₯΄ TL; RL:

πŸ’‘ Feature Breakdown (screenshots & videos encouraged!)

πŸ›  Important tradeoffs made:

πŸ” Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (refactor, documentation update, etc)

πŸ’³ Does This Create Any New Technical Debt? ( If yes, please describe and add JIRA TODOs )

  • No
  • Yes

Testing

πŸ”¬ How Can Someone QA This?

πŸ“± πŸ–₯ Which devices would you like help testing on?

πŸ§ͺ Code Coverage

Documentation

πŸ“ Documentation Checklist

User-Facing Docs (docs/ β†’ docs.learncard.com)

  • Tutorial β€” New capability that users need to learn (docs/tutorials/)
  • How-To Guide β€” New workflow or integration (docs/how-to-guides/)
  • Reference β€” New/changed API, config, or SDK method (docs/sdks/)
  • Concept β€” New mental model or architecture explanation (docs/core-concepts/)
  • App Flows β€” Changes to LearnCard App or ScoutPass user flows (docs/apps/)

Internal/AI Docs

  • AGENTS.md β€” New pattern, flow, or context that AI assistants need
  • Code comments/JSDoc β€” Complex logic that needs inline explanation

Visual Documentation

  • Mermaid diagram β€” Complex flow, state machine, or architecture

πŸ’­ Documentation Notes

βœ… PR Checklist

  • Related to a Jira issue (create one if not)
  • My code follows style guidelines (eslint / prettier)
  • I have manually tested common end-2-end cases
  • I have reviewed my code
  • I have commented my code, particularly where ambiguous
  • New and existing unit tests pass locally with my changes
  • I have completed the Documentation Checklist above (or explained why N/A)

πŸš€ Ready to squash-and-merge?:

  • Code is backwards compatible
  • There is not a "Do Not Merge" label on this PR
  • I have thoughtfully considered the security implications of this change.
  • This change does not expose new public facing endpoints that do not have authentication

Rovo Dev code review: Rovo Dev has reviewed this pull request
Any suggestions or improvements have been posted as pull request comments.

…elds

Adds aiEnabled, aiAutoDisabled, analyticsEnabled, analyticsAutoDisabled,
bugReportsEnabled, and isMinor optional fields to the lca-api Preferences
model, access layer, and tRPC routes. Changes updatePreferences to use
upsert so a single call works for both new and returning users. Extends
frontend PreferencesType to carry the new fields.
@netlify
Copy link

netlify bot commented Feb 24, 2026

βœ… Deploy Preview for learncarddocs canceled.

Name Link
πŸ”¨ Latest commit 83612f3
πŸ” Latest deploy log https://app.netlify.com/projects/learncarddocs/deploys/699da101c1ff3a0008baf9ae

@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2026

⚠️ No Changeset found

Latest commit: 83612f3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Feb 24, 2026

βœ… Deploy Preview for staging-learncardapp canceled.

Name Link
πŸ”¨ Latest commit 83612f3
πŸ” Latest deploy log https://app.netlify.com/projects/staging-learncardapp/deploys/699da101977b850008f3cf68

@github-actions
Copy link
Contributor

πŸ‘‹ Hey there! It looks like you modified code, but didn't update the documentation in /docs.

If this PR introduces new features, changes APIs, or modifies behavior that users or developers need to know about, please consider updating the docs.


πŸ„ Windsurf Tip

You can ask Windsurf to help:

"Analyze the changes in this PR and update the gitbook docs in /docs accordingly."

Windsurf will review your changes and suggest appropriate documentation updates based on what was modified.


πŸ“š Documentation Guide
Change Type Doc Location
New feature/API docs/tutorials/ or docs/how-to-guides/
SDK/API changes docs/sdks/
New concepts docs/core-concepts/
App UI/UX flows docs/apps/ (LearnCard App, ScoutPass)
Internal patterns AGENTS.md

This is an automated reminder. If no docs are needed, feel free to ignore this message.

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