Skip to content

Subscription copy changes for duck.ai and plans #6383

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

Conversation

cmonfortep
Copy link
Contributor

@cmonfortep cmonfortep commented Jul 14, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1149059203486286/task/1210704593867822?focus=true

Description

Updates copies/icons/visuals to integrate with duck.ai changes

Steps to test this PR

Feature 1

Feature 2

  • Cancel and remove your subscription
  • Go to Feature flags inventory
  • Disable privacypro - duckaiplus
  • Go to the browser
  • Access settings again (you need to enter so it re-evaluates the FF)
  • Ensure you don't see ai models in the subscription section (description field)
  • The title mentions privacy pro

Feature 3

  • Cancel and remove your subscription (if any)
  • Go to Feature flags inventory
  • Disable privacypro - subscriptionRebranding
  • Restart the browser (we need to restart the process since value is cached)
  • Navigate to settings
  • Ensure you see privacy pro copies

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)

@cmonfortep cmonfortep requested a review from nalcalag July 14, 2025 07:40
@cmonfortep
Copy link
Contributor Author

cmonfortep commented Jul 14, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cmonfortep cmonfortep force-pushed the feature/cristian/subscriptions/duck_ai_ppro_rename branch from 1e2b12e to b7522e5 Compare July 14, 2025 08:02
Copy link
Contributor

@nalcalag nalcalag left a comment

Choose a reason for hiding this comment

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

LGTM! Just one question, and a note that some strings need to be added in a separate PR to trigger translations

Copy link
Contributor

Choose a reason for hiding this comment

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

You'd need to remove this change and do it in another PR so we trigger translations job.

Copy link
Contributor

Choose a reason for hiding this comment

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

Question: Why are you pre-fetching the value and caching it, instead of simply checking if the toggle is enabled in the API implementation? Is this a pattern we should follow if a view depends on it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Accessing Toggle.isEnabled produces an IO operation which should happen in a IO thread. In some places I can't perform that operation in the background, so I'm using this main-thread safe method.

@cmonfortep cmonfortep merged commit 7b6d60a into feature/cristian/subscriptions/show_duck_ai_pro_settings Jul 14, 2025
27 of 28 checks passed
@cmonfortep cmonfortep deleted the feature/cristian/subscriptions/duck_ai_ppro_rename branch July 14, 2025 16:09
cmonfortep added a commit that referenced this pull request Jul 14, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210704593867822?focus=true

### Description
Updates copies/icons/visuals to integrate with duck.ai changes

### Steps to test this PR

_Feature 1_
- [x] Apply latest staging patch from this task
https://app.asana.com/1/137249556945/project/1209991789468715/task/1210448620621729?focus=true
- [x] Fresh install
- [x] Go to settings
- [x] In the subscription section validate the copies are the ones in
"NEW" column in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210704593867822?focus=true
- [x] Purchase the subscription
- [x] Ensure "New" pill appears in Duck.ai
- [x] Go to settings -> send feedback
- [x] Ensure we say "subscription" according to
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210704593867822?focus=true
(last table)

_Feature 2_
- [x] Cancel and remove your subscription
- [x] Go to Feature flags inventory
- [x] Disable privacypro - duckaiplus
- [x] Go to the browser
- [x] Access settings again (you need to enter so it re-evaluates the
FF)
- [x] Ensure you don't see ai models in the subscription section
(description field)
- [x] The title mentions privacy pro

_Feature 3_
- [x] Cancel and remove your subscription (if any)
- [x] Go to Feature flags inventory
- [x] Disable privacypro - subscriptionRebranding
- [x] Restart the browser (we need to restart the process since value is
cached)
- [x] Navigate to settings
- [x] Ensure you see privacy pro copies

### UI changes
| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
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