Skip to content

feat(zoo-gateway): settings UI, validation, and i18n#345

Open
JamesRobert20 wants to merge 4 commits into
feat/zoo-gateway-types-corefrom
feat/zoo-gateway-settings-ui
Open

feat(zoo-gateway): settings UI, validation, and i18n#345
JamesRobert20 wants to merge 4 commits into
feat/zoo-gateway-types-corefrom
feat/zoo-gateway-settings-ui

Conversation

@JamesRobert20
Copy link
Copy Markdown
Contributor

Summary

  • Adds ZooGateway settings component, provider wiring in ApiOptions, and sign-in validation
  • Initializes zooGatewayModelId when switching to Zoo Gateway
  • Adds i18n strings across locales (including formal Turkish validation copy)

Part 2 of the Zoo Gateway stack. Depends on #344.

Test plan

  • webview-ui: ApiOptions, validate tests
  • Manual: select Zoo Gateway, sign-in prompt, model picker

Made with Cursor

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a7153646-2d6c-4331-8643-59cf19360a2e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/zoo-gateway-settings-ui

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JamesRobert20 JamesRobert20 mentioned this pull request May 27, 2026
1 task
@JamesRobert20 JamesRobert20 force-pushed the feat/zoo-gateway-types-core branch from f776483 to dfb1eed Compare May 27, 2026 14:23
@JamesRobert20 JamesRobert20 force-pushed the feat/zoo-gateway-settings-ui branch from adedf0a to 8634510 Compare May 27, 2026 14:25
James Mtendamema and others added 3 commits May 27, 2026 08:41
Co-authored-by: Cursor <cursoragent@cursor.com>
- Resolve ModelPicker serviceUrl from zooCodeBaseUrl so staging/dev
  environments link to the matching dashboard.
- Fall back to getCachedZooCodeToken() in the handler and model fetcher
  when the profile has not been seeded yet (auth before webview open).

Co-authored-by: Cursor <cursoragent@cursor.com>
…-lockfile installs

Co-authored-by: Cursor <cursoragent@cursor.com>
@JamesRobert20 JamesRobert20 force-pushed the feat/zoo-gateway-settings-ui branch from 8634510 to 7bc8c0c Compare May 27, 2026 14:42
…ch 'free' search hint dropped on rebase

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

❌ Patch coverage is 97.93103% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/api/providers/zoo-gateway.ts 25.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@proyectoauraorg proyectoauraorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: Settings UI, Validation, and i18n

Verdict: ✅ Approved

Verified

  • ApiOptions.spec.tsx — 18 tests pass (including zoo-gateway modelId initialization)
  • validate.spec.ts — 20 tests pass
  • ZooGateway.tsx — clean component following existing provider pattern
  • validate.ts — requires authentication before use (good UX gate)
  • ✅ i18n — all 18 locales covered

Notes

  • vite.config.ts has +56/-11 changes — verified it doesn't break other providers
  • WelcomeViewProvider.tsx integration looks correct for onboarding flow
  • i18n keys id and nl have slightly fewer changes (+9/-1 vs +11/-3) — appears intentional

Dependency

Depends on #344. After #344 merges, this should rebase cleanly.

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.

2 participants