feat(uxcp): country auto-detect, persona smart defaults, ux polish#54
Merged
feat(uxcp): country auto-detect, persona smart defaults, ux polish#54
Conversation
- CountryBiasMap: pre-select the user's country on mount via IANA timezone (53-country lookup) with navigator.language fallback. No permission prompt, no network call. Selection only — biases are not auto-filled until the user clicks the action button. - CountryBiasMap: drop the orphaned `tagline` field; restore the `subTagline` block in the header (types + en/ru/hy locales). - BiasPanel: bump font sizes (BiasNumber 11→14, BiasName 14→16, BiasShort 12→14 with 8-line scroll cap, FooterMeta 12→14, Rationale 13→16, RegionTag/ConfidenceBadge 12→14); interpolate the country name into the "Use in Persona Builder" button label. - CountryList: bump 14px elements to 16, sub-14 elements to 14. - hy locale: replace "կողմնակալություն" with "հակում" everywhere (correct Armenian term for cognitive bias); all suffix forms remain grammatically valid via stem swap. - UXCPLayout: auto-select the most relevant persona stage when bias relevancy data first becomes available; smooth-scroll to the persona section when biases are applied from the country panel. - PersonaRelatedQuestions: default the priority filter to the dominant relevancy bucket for the active stage; user clicks override and persist for the rest of the session. - ci(playwright): support HTTP Basic Auth for staging tests — read PLAYWRIGHT_HTTP_USERNAME/PASSWORD from env in playwright.config.ts and pass them through the scheduled workflow only when the target is not production. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
taglinefield; restore thesubTaglineblock in the header (types + en/ru/hy locales).