-
Notifications
You must be signed in to change notification settings - Fork 31
Onboarding: Add AddressBarMode step #2157
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for content-scope-scripts ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
[Beta] Generated file diffTime updated: Thu, 08 Jan 2026 19:20:53 GMT Apple
File has changed Integration
File has changed Windows
File has changed New Files
❌ File only exists in new changeset |
| * @param {boolean} props.isReduced - Whether the address bar is in reduced (search-only) mode | ||
| * @param {boolean} [props.isDarkMode=false] - Whether to render dark mode colors | ||
| */ | ||
| export function AddressBarPreview({ isReduced, isDarkMode = false }) { |
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.
This component may look a bit complex, but it was necessary to implement a smooth transition between Search & Duck.ai and Search Only. It also replaces four separate SVG files.
Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/1211787158133389/task/1212634445757993?focus=true
Description
This PR adds a new "Address Bar Mode" step as the final step in onboarding.
It allows users to choose between "Search & Duck.ai" and "Search Only".
Screen.Recording.2026-01-08.at.10.07.43.AM.mov
It also adds a new item, "Chat privately with AI Chatbots (optional)", to the onboarding comparison chart.
Note: I’ve submitted onboarding.json to Smartling. I’ll update the translation files as soon as translation files are ready.
Testing Steps
Search & Duck.aiandSearch Onlycontext: specialPages
featureName: onboarding
method: setDuckAiInAddressBar
"Search & Duck.ai" -> params: { enabled: true }
"Search Only" -> params: { enabled: false }
Checklist
<!—
These questions are a friendly reminder to shipping code, if you're uncertain ask the AoR owners.
It's also totally appropriate to not check some of these boxes, if they don't apply to your change.
—>
Please tick all that apply:
Note
Introduces a new final onboarding step to choose Address Bar Mode and wires it end-to-end across UI, state, messaging, tests, and content.
addressBarModestep (v3 order) withAddressBarModeUI,AddressBarPreview, andToggleButtoncomponents; supports dark mode and animationsupdate-system-valueidaddress-bar-modeand new messagesetDuckAiInAddressBar; reducer updated to handleinfostepexec-completecustomizeadvances to next step when not last; new accept handlingSystemValueId,ORDER_V3, steps), data definitions, and translations; adds iconsv3/Ai-Chat-Color-24.svg,v3/Star-Color-24.svgStacksupportsclassNameandStack.gaps[0]string value; theme variables expandedWritten by Cursor Bugbot for commit 745e2fa. This will update automatically on new commits. Configure here.