LibreChat/client/src/components/Auth
Danny Avila 265d660076
👷 ci: Type-check the Client Workspace (#13560)
The `client/` workspace was never type-checked: the existing typecheck
job only covered `packages/` and `api/`, and Vite/esbuild transpiles
without type-checking, so type errors shipped through every CI gate.

- Add a `typecheck` job to frontend-review.yml running `tsc --noEmit`
  over `client/` (zero tolerance), reusing the data-provider +
  client-package build artifacts. Triggers on `client/**`,
  `packages/client/**`, `packages/data-provider/**`.
- Fix all 168 pre-existing client type errors this surfaced (source +
  tests), including genuine latent bugs:
  - `getFileConfig()` was typed as merged `FileConfig`, but the server
    returns the raw config that `mergeFileConfig()` consumes (`TFileConfig`).
  - SidePanel/Agents `Retrieval`/`ImageVision` were bound to `AgentForm`
    but use the assistants `Capabilities` enum → `AssistantForm`.
  - `useSearchResultsByTurn` read a `sources` field its type lacked.
  - Removed orphaned dead code: `Artifacts/Mermaid.tsx` (imported a
    never-installed dep) and dead barrel re-exports (`./Plugins`, `./MCPAuth`).
- Narrow `client/tsconfig.json` to the client app (drop `../e2e` and
  `../config/translations`, which reference backend/tooling modules) so
  the gate's scope matches its trigger.

No `any`/`@ts-ignore`/`as unknown as`. Localized newly-surfaced strings.
2026-06-06 18:40:31 -04:00
..
__tests__ 👷 ci: Type-check the Client Workspace (#13560) 2026-06-06 18:40:31 -04:00
ApiErrorWatcher.tsx feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
AuthLayout.tsx 🛂 fix: Address Accessibility Issues - Axe Rating: Serious (#10607) 2025-12-11 16:35:40 -05:00
BlinkAnimation.tsx ♻️ refactor: Login and Registration component Improvement (#2716) 2024-05-28 08:25:07 -04:00
ErrorMessage.tsx 🎨 refactor: Auth Components UI Consistency (#7651) 2025-06-02 07:49:10 -04:00
Footer.tsx ⛓️💥 feat: More Accessible Login Page Links (#10997) 2025-12-16 17:28:25 -05:00
index.ts 🔒 feat: Two-Factor Authentication with Backup Codes & QR support (#5685) 2025-02-17 19:09:36 -05:00
Login.tsx 🪃 fix: Prevent Recursive Login Redirect Loop (#11964) 2026-02-26 16:10:14 -05:00
LoginForm.tsx 🔐 feat: Use SecretInput for Sensitive Fields (#12955) 2026-06-01 18:14:12 -04:00
Registration.tsx 🔐 feat: Use SecretInput for Sensitive Fields (#12955) 2026-06-01 18:14:12 -04:00
RequestPasswordReset.tsx 🧭 fix: Add Base Path Support for Login/Register and Image Paths (#10116) 2025-11-21 11:25:14 -05:00
ResetPassword.tsx 🔐 feat: Use SecretInput for Sensitive Fields (#12955) 2026-06-01 18:14:12 -04:00
SocialButton.tsx 🔐 style: update auth and loading screen (#3875) 2024-09-11 09:20:19 -04:00
SocialLoginRender.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
TwoFactorScreen.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
VerifyEmail.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00