Skip to content

Conversation

cmonfortep
Copy link
Contributor

@cmonfortep cmonfortep commented Jul 6, 2025

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

Description

Adds integration between duck.ai and subscriptions.
Includes:

  • messaging for Feature Flags in FE
  • share token
  • navigational events

Steps to test this PR

Feature 1

  • Apply patch from https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
  • Fresh install
  • Install branch
  • Open Duck.ai, if onboarding shows, skip it
  • After onboarding, Duck.ai should be displayed as Free (Background logo just says "Duck.ai Free", models selector only display free models and no upsells)
  • Go to models selector, you should see the advance models
  • If you select one, the upsell appears "Unlock with a DuckDuckGo...."
  • Clicking on the upsell takes you to subscription flow
  • Ensure it does, and go back to chat
  • Click on Duck.ai settings (top right)
  • The options "Subscribe to DuckDuckGo" and "I have a subscription" appear
  • Click on "I have a Subscription"
  • Ensure it navigate to activation flow
  • Go back to Duck.ai
  • go to settings, and purchase a subscription (or go there using any upsell link)
    (after subscription restart the app, this is to avoid Duck.ai chat being restored, something we need to fix in https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
  • Open Duck.ai again (from any entry point)
  • An Duck.ai paid onboarding appears (depending if this is your first visit as subscriber)
  • Duck.ai is in subscriber mode (background logo has changed "Subscriber" and model selector includes advanced models)
  • Inside Duck.ai settings now it shows "manage", and if you click there you can navigate to subscription settings

UI changes

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

@cmonfortep
Copy link
Contributor Author

cmonfortep commented Jul 6, 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/subscription/include_duck_ai_handshake_fe branch from ed5ec9d to e5dd1c7 Compare July 6, 2025 15:35
@cmonfortep cmonfortep requested a review from lmac012 July 7, 2025 12:00
@cmonfortep cmonfortep force-pushed the feature/cristian/subscriptions/show_duck_ai_pro_settings branch from 9a53001 to 7026706 Compare July 7, 2025 12:02
@cmonfortep cmonfortep force-pushed the feature/cristian/subscription/include_duck_ai_handshake_fe branch from e5dd1c7 to baa96dc Compare July 7, 2025 12:02
Copy link
Contributor

@lmac012 lmac012 left a comment

Choose a reason for hiding this comment

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

LGTM. I tested what I could given the recent FE updates.

@cmonfortep cmonfortep force-pushed the feature/cristian/subscription/include_duck_ai_handshake_fe branch from baa96dc to 6fc0938 Compare July 9, 2025 13:21
@cmonfortep cmonfortep merged commit f3f9d77 into feature/cristian/subscriptions/show_duck_ai_pro_settings Jul 9, 2025
6 of 7 checks passed
@cmonfortep cmonfortep deleted the feature/cristian/subscription/include_duck_ai_handshake_fe branch July 9, 2025 13:22
cmonfortep added a commit that referenced this pull request Jul 9, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

### Description
Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

### Steps to test this PR

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings


### UI changes
| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
@cmonfortep cmonfortep mentioned this pull request Jul 9, 2025
16 tasks
cmonfortep added a commit that referenced this pull request Jul 11, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

### Description
Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

### Steps to test this PR

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings


### UI changes
| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
cmonfortep added a commit that referenced this pull request Jul 14, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings

| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
cmonfortep added a commit that referenced this pull request Jul 14, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings

| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
cmonfortep added a commit that referenced this pull request Jul 15, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings

| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
cmonfortep added a commit that referenced this pull request Jul 21, 2025
Task/Issue URL:
https://app.asana.com/1/137249556945/task/1210461583262416?focus=true

Adds integration between duck.ai and subscriptions.
Includes:
- messaging for Feature Flags in FE
- share token
- navigational events

_Feature 1_
- [x] Apply patch from
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210461583262416?focus=true
- [x] Fresh install
- [x] Install branch
- [x] Open Duck.ai, if onboarding shows, skip it
- [x] After onboarding, Duck.ai should be displayed as Free (Background
logo just says "Duck.ai Free", models selector only display free models
and no upsells)
- [ ] ~Go to models selector, you should see the advance models~
- [ ] ~If you select one, the upsell appears "Unlock with a
DuckDuckGo...."~
- [ ] ~Clicking on the upsell takes you to subscription flow~
- [ ] ~Ensure it does, and go back to chat~
- [ ] ~Click on Duck.ai settings (top right)~
- [ ] ~The options "Subscribe to DuckDuckGo" and "I have a subscription"
appear~
- [ ] ~Click on "I have a Subscription"~
- [ ] ~Ensure it navigate to activation flow~
- [ ] ~Go back to Duck.ai~
- [x] go to settings, and purchase a subscription (or go there using any
upsell link)
(after subscription restart the app, this is to avoid Duck.ai chat being
restored, something we need to fix in
https://app.asana.com/1/137249556945/project/1149059203486286/task/1210671370392466?focus=true)
- [x] Open Duck.ai again (from any entry point)
- [x] An Duck.ai paid onboarding appears (depending if this is your
first visit as subscriber)
- [x] Duck.ai is in subscriber mode (background logo has changed
"Subscriber" and model selector includes advanced models)
- [x] Inside Duck.ai settings now it shows "manage", and if you click
there you can navigate to subscription settings

| 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