feat: IP-based locale initialization, model-list parser fix, and mobile viewport refinements-2#145
Draft
kkgs-32 wants to merge 2 commits intou14app:mainfrom
Draft
feat: IP-based locale initialization, model-list parser fix, and mobile viewport refinements-2#145kkgs-32 wants to merge 2 commits intou14app:mainfrom
kkgs-32 wants to merge 2 commits intou14app:mainfrom
Conversation
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.
The commit message says IP-based initial locale (@kkgs-32), which refers to my request, but the actual changes only modify the Gemini model list. It doesn’t seem related to my requested change.
Summary
This PR includes three updates:
en-USfallback.all,+,-,-all,@).Changes
1) IP-based initial locale
/api/envto returncountryCodeandlocaleFromIp.en-US.i18n.changeLanguage('').2) Model list parsing fix and unification
utils/modelList.ts.components/Setting.tsxcomponents/ModelSelect.tsx-allbehavior so default models are actually removed.@modelhandling for default-model preference.3) Mobile viewport-height handling
.app-viewport-heightstrategy inapp/globals.css(vh/svh/dvh+ CSS variable fallback).app/page.tsxfor non-iOS.-webkit-fill-availablefallback block.fixed/insetlayout on normal chat mode.Files Changed
utils/modelList.ts(new)components/Setting.tsxcomponents/ModelSelect.tsxapp/globals.cssapp/page.tsxcomponents/TalkWithVoice.tsxcomponents/MultimodalLive/index.tsxstore/setting.tscomponents/StoreProvider.tsxapp/api/env/route.tscomponents/I18nProvider.tsxVerification
next: command not found).Notes