feat: add ?city and ?languages prefill params to onboarding embed#951
Open
hturnbull93 wants to merge 1 commit into
Open
feat: add ?city and ?languages prefill params to onboarding embed#951hturnbull93 wants to merge 1 commit into
hturnbull93 wants to merge 1 commit into
Conversation
Allows the iframe host to prefill the city field and languages multiselect via URL query params, consistent with the existing ?country param. - ?city=Berlin → prefills city input - ?languages=German,English → prefills languages (comma-separated stored values) Invalid/unrecognised language values are silently dropped; falls back to ['English'] if nothing valid is provided. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015aKhZeP6x8pgBkDEraXGUs
✅ Deploy Preview for pauseai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
?city=<value>query param to prefill the city field in the onboarding embed iframe?languages=<comma-separated>query param to prefill the languages multiselect (e.g.?languages=German,English)['English']if nothing valid is provided?country=param behaviourTest plan
?city=Berlin→ city field prefilled with "Berlin"?languages=German,English→ languages multiselect prefilled with German and English?languages=InvalidLang→ falls back to English (invalid value dropped)?country=Germany&city=Berlin&languages=German→ all three params work together🤖 Generated with Claude Code
https://claude.ai/code/session_015aKhZeP6x8pgBkDEraXGUs