-
Notifications
You must be signed in to change notification settings - Fork 997
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
Subscription copy changes for duck.ai and plans #6383
Conversation
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1e2b12e
to
b7522e5
Compare
There was a problem hiding this 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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
7b6d60a
into
feature/cristian/subscriptions/show_duck_ai_pro_settings
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)|
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
Feature 3
UI changes