Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lld-llm): Privacy enhancement for braze CC #6629

Merged
merged 11 commits into from
Apr 19, 2024
Merged

Conversation

LucasWerey
Copy link
Contributor

@LucasWerey LucasWerey commented Apr 8, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

Privacy enhancement for braze CC with untracked users
We will be able to send untracked CC to users who don't want to be tracked. For this we use a redux store so the dismissed CC won't be shown. As we can't track the user id we will assign an id from a pool to the current user.

To test it you can use two different devices and set the same braze user id. If analytics are enabled the cards dismissed on one device will be dismissed on the second. If analytics are disabled it will only dismiss cards on the corresponding device.

Fix braze carousel: it was sliding to an empty CC when there was only 1 CC in the carousel after a dismiss.

Small fix with unimported in common & screenshot causing CI to fail

llm demo : https://github.com/LedgerHQ/ledger-live/assets/73439207/e0fd35f6-86fb-4d85-b6d2-9e1f86fe9620

lld demo : https://github.com/LedgerHQ/ledger-live/assets/73439207/73dbedaa-bacf-436e-8f37-f6334bee9799

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@LucasWerey LucasWerey added the WIP Work in progress label Apr 8, 2024
@LucasWerey LucasWerey self-assigned this Apr 8, 2024
@LucasWerey LucasWerey requested a review from a team as a code owner April 8, 2024 12:53
Copy link

vercel bot commented Apr 8, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
web-tools βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Apr 19, 2024 10:19am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 10:19am
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 10:19am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 10:19am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Apr 19, 2024 10:19am

@LucasWerey LucasWerey marked this pull request as draft April 8, 2024 21:06
@live-github-bot live-github-bot bot added the mobile Has changes in LLM label Apr 10, 2024
@LucasWerey LucasWerey marked this pull request as ready for review April 11, 2024 14:52
@LucasWerey LucasWerey removed the WIP Work in progress label Apr 11, 2024
libs/ledger-live-common/src/braze/anonymousUsers.ts Outdated Show resolved Hide resolved
@LucasWerey
Copy link
Contributor Author

LucasWerey commented Apr 19, 2024

@LucasWerey

Generating screenshots: workflow ended

Jobs status:
βœ… - generate-screenshots-linux

@LucasWerey LucasWerey requested a review from a team as a code owner April 19, 2024 09:38
@live-github-bot live-github-bot bot added the screenshots Screenshots have been updated label Apr 19, 2024
@LucasWerey LucasWerey merged commit fa313ee into develop Apr 19, 2024
55 checks passed
@LucasWerey LucasWerey deleted the feat/LIVE-11944 branch April 19, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common desktop Has changes in LLD mobile Has changes in LLM screenshots Screenshots have been updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants