Skip to content

fix(web): mobile header FAB + ModelAlias props - #761

Open
Shunamxiao wants to merge 1 commit into
icebear0828:devfrom
Shunamxiao:fix/header-mobile-fab
Open

fix(web): mobile header FAB + ModelAlias props#761
Shunamxiao wants to merge 1 commit into
icebear0828:devfrom
Shunamxiao:fix/header-mobile-fab

Conversation

@Shunamxiao

Copy link
Copy Markdown

Fixes

1. Header mobile layout — On screens <sm, the language toggle, theme toggle, and Add Account button were crowding the brand name and overlapping. They now collapse into a floating action button (FAB) pinned bottom-right (brand title forced to a single line, logout icon kept).

2. ModelAlias settings types — Define the ModelAliasSettingsProps interface so the models prop (used for the target <datalist>) types correctly; SettingsTab passes models through; test updated to pass the required prop.

Verification

  • vite build succeeds (78 modules, esbuild)
  • vitest passes for ModelAliasSettings.test.tsx
  • Dev server tested locally (http://localhost:5173 → HTTP 200)

- Header: force brand name to a single line; on <sm screens the
  language toggle, theme toggle, and Add Account button collapse into
  a bottom-right FAB (logout icon kept).
- ModelAliasSettings: define the ModelAliasSettingsProps interface so
  the models prop types correctly; SettingsTab passes models through.
- ModelAliasSettings.test: pass the required models prop.

Verified: vite build OK (78 modules), ModelAliasSettings.test passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant