🪟 refactor: Portal Control for Shared View Settings and Google Balance Support (#10786)
Some checks are pending
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Waiting to run
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Waiting to run
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions

* feat: Add support for Google model endpoint in balance check

* feat: Add portal prop to ThemeSelector and LangSelector in ShareView
This commit is contained in:
Danny Avila 2025-12-03 10:29:23 -05:00 committed by GitHub
parent 8bdc808074
commit 711d21365d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 2 deletions

View file

@ -227,9 +227,13 @@ function ShareHeader({
<OGDialogTitle>{settingsLabel}</OGDialogTitle>
</OGDialogHeader>
<div className="flex flex-col gap-4 pt-2 text-sm">
<ThemeSelector theme={theme} onChange={onThemeChange} />
<div className="relative focus-within:z-[100]">
<ThemeSelector theme={theme} onChange={onThemeChange} portal={false} />
</div>
<div className="bg-border-medium/60 h-px w-full" />
<LangSelector langcode={langcode} onChange={onLangChange} portal={false} />
<div className="relative focus-within:z-[100]">
<LangSelector langcode={langcode} onChange={onLangChange} portal={false} />
</div>
</div>
</OGDialogContent>
</OGDialog>