Skip to content

Conversation

@ihsanvalizade
Copy link
Contributor

@ihsanvalizade ihsanvalizade commented Nov 3, 2025

This commit adds Azerbaijani (AZ_AZ) language support across the wren-ui project.

Changes include:

  • Added AZ_AZ = 'AZ_AZ' to ProjectLanguage enum in types.ts
  • Added AZ_AZ = 'Azerbaijani' to WrenAILanguage enum in adaptor.ts
  • Added AZ_AZ to GraphQL ProjectLanguage enum in schema.ts
  • Mapped ProjectLanguage.AZ_AZ to 'Azerbaijani' in getLanguageText (language.ts)

Summary by CodeRabbit

  • New Features
    • Added Azerbaijani language support across the app: Azerbaijani is now available in project language lists, API-exposed language options, and user-facing language labels. This update ensures Azerbaijani appears in language selectors, display mappings, and related UI elements where project languages are presented.

✏️ Tip: You can customize this high-level summary in your review settings.

This commit adds Azerbaijani (AZ_AZ) language support across the wren-ui project.

Changes include:
- Added AZ_AZ = 'AZ_AZ' to ProjectLanguage enum in __types__.ts
- Added AZ_AZ = 'Azerbaijani' to WrenAILanguage enum in adaptor.ts
- Added AZ_AZ to GraphQL ProjectLanguage enum in schema.ts
- Mapped ProjectLanguage.AZ_AZ to 'Azerbaijani' in getLanguageText (language.ts)
Copilot AI review requested due to automatic review settings November 3, 2025 21:05
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 3, 2025

Caution

Review failed

The pull request is closed.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Adds Azerbaijani (AZ_AZ) to language enums and the UI language lookup: updates client/server ProjectLanguage, server WrenAILanguage, and getLanguageText mapping. No control-flow or behavior changes.

Changes

Cohort / File(s) Summary
Language Enum (types & schema)
wren-ui/src/apollo/client/graphql/__types__.ts, wren-ui/src/apollo/server/schema.ts
Added AZ_AZ to the ProjectLanguage enum.
Server adaptor enum
wren-ui/src/apollo/server/models/adaptor.ts
Added AZ_AZ = 'Azerbaijani' to WrenAILanguage enum.
Language text mapping
wren-ui/src/utils/language.ts
Added [ProjectLanguage.AZ_AZ]: 'Azerbaijani' to getLanguageText lookup.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Simple, consistent enum and mapping additions across a few files.
  • Verify enum names align across client/server and mapping key uses.

Possibly related PRs

Suggested labels

wren-ui

Suggested reviewers

  • cyyeh
  • andreashimin

Poem

🐰 A nibble, a hop, a new label today,
AZ_AZ tiptoes into the display,
Enums updated, mappings sing,
Azerbaijani joins the spring—
Hooray for words that find their way!

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: adding Azerbaijani language support to wren-ui, which is reflected across all modified files.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 00950bb and ba2c518.

📒 Files selected for processing (4)
  • wren-ui/src/apollo/client/graphql/__types__.ts (1 hunks)
  • wren-ui/src/apollo/server/models/adaptor.ts (1 hunks)
  • wren-ui/src/apollo/server/schema.ts (1 hunks)
  • wren-ui/src/utils/language.ts (1 hunks)

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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the Azerbaijani language across the Wren UI application.

  • Adds AZ_AZ as a new language option in the ProjectLanguage enum
  • Updates the language mapping utilities to include Azerbaijani
  • Ensures consistency across GraphQL schema, type definitions, and adaptor models

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
wren-ui/src/utils/language.ts Adds Azerbaijani language text mapping to the getLanguageText function
wren-ui/src/apollo/server/schema.ts Adds AZ_AZ to the GraphQL ProjectLanguage enum
wren-ui/src/apollo/server/models/adaptor.ts Adds Azerbaijani to the WrenAILanguage enum without trailing comma
wren-ui/src/apollo/client/graphql/types.ts Adds AZ_AZ to the client-side ProjectLanguage enum (auto-generated)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@fredalai fredalai left a comment

Choose a reason for hiding this comment

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

LGTM

@fredalai fredalai merged commit 062ebf9 into Canner:main Nov 27, 2025
3 of 5 checks passed
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