Skip to content

Conversation

@octoper
Copy link
Member

@octoper octoper commented Dec 8, 2025

Description

This PR adds a subtitle on the reset password task screen

CleanShot 2025-12-08 at 15 54 24@2x CleanShot 2025-12-08 at 15 52 42@2x

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features

    • Added a subtitle to the Reset password session task screen and updated the heading to "Reset your password" for clearer guidance.
  • Chores

    • Expanded localization entries across many locales to support the new subtitle field.

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

@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2025

🦋 Changeset detected

Latest commit: 9c71a1b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 22 packages
Name Type
@clerk/localizations Minor
@clerk/clerk-js Minor
@clerk/shared Minor
@clerk/clerk-react Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/themes Patch
@clerk/types Patch
@clerk/vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Dec 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Dec 8, 2025 3:26pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 8, 2025

Walkthrough

Adds a Header.Subtitle to the Reset Password session task, updates tests to expect the new heading text, extends localization types, and adds subtitle keys across locale files (only en-US supplies a concrete string).

Changes

Cohort / File(s) Change Summary
Changeset
\.changeset/spotty-terms-check.md
Adds a changeset entry documenting the subtitle addition and dependency bumps.
UI component & tests
packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx, packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
Inserts Header.Subtitle using localization key taskResetPassword.subtitle; updates tests to expect "Reset your password".
Type definitions
packages/shared/src/types/localization.ts
Extends __internal_LocalizationResource/LocalizationResource to include optional taskResetPassword.subtitle: LocalizationValue.
Localization resources
packages/localizations/src/{ar-SA,be-BY,bg-BG,bn-IN,ca-ES,cs-CZ,da-DK,de-DE,el-GR,en-GB,en-US,es-CR,es-ES,es-MX,es-UY,fa-IR,fi-FI,fr-FR,he-IL,hi-IN,hr-HR,hu-HU,id-ID,is-IS,it-IT,ja-JP,kk-KZ,ko-KR,mn-MN,ms-MY,nb-NO,nl-BE,nl-NL,pl-PL,pt-BR,pt-PT,ro-RO,ru-RU,sk-SK,sr-RS,sv-SE,ta-IN,te-IN,th-TH,tr-TR,uk-UA,vi-VN,zh-CN,zh-TW}.ts
Adds subtitle key to taskResetPassword (or relevant nested objects) for all listed locales; en-US sets "Your account requires a new password before you can continue", others are added as undefined placeholders.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Areas to focus:
    • Verify en-US subtitle wording and placement.
    • Confirm component uses key taskResetPassword.subtitle and falls back gracefully when undefined.
    • Ensure the type change in packages/shared/src/types/localization.ts doesn't cause downstream type errors.
    • Review updated tests for correct expectation and stability.

Poem

🐇
I hopped through code with tiny paws,
A subtitle tucked near the laws.
From "Reset" to "Reset your" bright,
I whispered help in morning light.
Now users find a clearer cause. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: adding a subtitle to the TaskResetPassword component in both clerk-js and localizations packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch vaggelis/fix-add-description-to-reset-session-task-component

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 0a790d2 and 9c71a1b.

📒 Files selected for processing (1)
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/tests/TaskResetPassword.test.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (34)
  • GitHub Check: Integration Tests (quickstart, chrome, 15)
  • GitHub Check: Integration Tests (quickstart, chrome, 16)
  • GitHub Check: Integration Tests (nextjs, chrome, 16)
  • GitHub Check: Integration Tests (machine, chrome, RQ)
  • GitHub Check: Integration Tests (nextjs, chrome, 15)
  • GitHub Check: Integration Tests (machine, chrome)
  • GitHub Check: Integration Tests (billing, chrome)
  • GitHub Check: Integration Tests (nextjs, chrome, 14)
  • GitHub Check: Integration Tests (nextjs, chrome, 15, RQ)
  • GitHub Check: Integration Tests (nuxt, chrome)
  • GitHub Check: Integration Tests (billing, chrome, RQ)
  • GitHub Check: Integration Tests (tanstack-react-start, chrome)
  • GitHub Check: Integration Tests (custom, chrome)
  • GitHub Check: Integration Tests (vue, chrome)
  • GitHub Check: Integration Tests (expo-web, chrome)
  • GitHub Check: Integration Tests (react-router, chrome)
  • GitHub Check: Integration Tests (astro, chrome)
  • GitHub Check: Integration Tests (elements, chrome)
  • GitHub Check: Integration Tests (generic, chrome)
  • GitHub Check: Integration Tests (sessions:staging, chrome)
  • GitHub Check: Integration Tests (handshake, chrome)
  • GitHub Check: Integration Tests (handshake:staging, chrome)
  • GitHub Check: Integration Tests (localhost, chrome)
  • GitHub Check: Integration Tests (sessions, chrome)
  • GitHub Check: Integration Tests (ap-flows, chrome)
  • GitHub Check: Integration Tests (express, chrome)
  • GitHub Check: Unit Tests (22, **)
  • GitHub Check: Unit Tests (22, shared, clerk-js, RQ)
  • GitHub Check: Static analysis
  • GitHub Check: Publish with pkg-pr-new
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan

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

@octoper octoper self-assigned this Dec 8, 2025
@octoper octoper changed the title feat(clerk-js,localization): Add subtitle to TaskResetPassword component feat(clerk-js,localizations): Add subtitle to TaskResetPassword component Dec 8, 2025
@octoper octoper marked this pull request as ready for review December 8, 2025 13:53
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
packages/localizations/src/da-DK.ts (1)

13-13: Update to use the preferred import path.

The import uses the deprecated @clerk/types alias. Per coding guidelines, prefer importing types from @clerk/shared/types instead.

Apply this diff:

-import type { LocalizationResource } from '@clerk/types';
+import type { LocalizationResource } from '@clerk/shared/types';

Based on coding guidelines: "Prefer importing types from @clerk/shared/types instead of the deprecated @clerk/types alias"

packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx (1)

56-77: Update all heading expectations to the new text

You updated the first waitFor to expect "Reset your password", but the later test at Line 76 still waits for "Reset password", which will break once the localization title changes.

Consider aligning both:

-    await waitFor(() => getByRole('heading', { name: /Reset password/i }));
+    await waitFor(() => getByRole('heading', { name: /Reset your password/i }));
🧹 Nitpick comments (8)
packages/localizations/src/es-MX.ts (1)

13-15: Consider migrating the type import to @clerk/shared/types

Not for this PR necessarily, but when you next touch these localization files it may be worth switching LocalizationResource to come from @clerk/shared/types instead of the deprecated @clerk/types alias, to align with current guidelines.

packages/localizations/src/pt-BR.ts (1)

882-890: Schema alignment for taskResetPassword subtitle looks good

The added subtitle key under taskResetPassword matches the updated localization surface. Leaving it undefined is consistent with how missing strings are handled and can be filled with a Portuguese translation in a later pass.

packages/localizations/src/fr-FR.ts (1)

886-894: Subtitle field added to taskResetPassword in line with schema

The subtitle: undefined addition under taskResetPassword correctly exposes the new localization key for fr-FR and is consistent with how missing translations are represented in this file; behavior will rely on fallback text until a French string is supplied.

packages/localizations/src/bn-IN.ts (1)

875-883: taskResetPassword.subtitle key added correctly for bn-IN

The new subtitle entry matches the expanded localization shape and keeps this locale consistent with others; fine to leave as undefined until a real translation is available.

packages/localizations/src/id-ID.ts (1)

876-884: taskResetPassword.subtitle wired for id-ID

The added subtitle field aligns with the updated localization schema and keeps id-ID in sync with other locales; no issues from a typing or structure perspective.

packages/localizations/src/de-DE.ts (1)

885-893: Schema-consistent subtitle placeholder for de-DE

Adding taskResetPassword.subtitle as undefined keeps the German locale compatible with the new UI without affecting existing behavior; translation can be added independently later.

packages/localizations/src/hr-HR.ts (1)

872-880: hr-HR taskResetPassword.subtitle matches new localization surface

The subtitle key is correctly added under taskResetPassword and uses an undefined placeholder consistent with the rest of this community locale.

packages/localizations/src/is-IS.ts (1)

872-880: is-IS subtitle key added for TaskResetPassword

The new subtitle entry is correctly placed and keeps the Icelandic locale compatible with the updated TaskResetPassword UI contract.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 13e08ae and e231dbf.

📒 Files selected for processing (53)
  • .changeset/spotty-terms-check.md (1 hunks)
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx (1 hunks)
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx (1 hunks)
  • packages/localizations/src/ar-SA.ts (1 hunks)
  • packages/localizations/src/be-BY.ts (1 hunks)
  • packages/localizations/src/bg-BG.ts (1 hunks)
  • packages/localizations/src/bn-IN.ts (1 hunks)
  • packages/localizations/src/ca-ES.ts (1 hunks)
  • packages/localizations/src/cs-CZ.ts (1 hunks)
  • packages/localizations/src/da-DK.ts (1 hunks)
  • packages/localizations/src/de-DE.ts (1 hunks)
  • packages/localizations/src/el-GR.ts (1 hunks)
  • packages/localizations/src/en-GB.ts (1 hunks)
  • packages/localizations/src/en-US.ts (1 hunks)
  • packages/localizations/src/es-CR.ts (1 hunks)
  • packages/localizations/src/es-ES.ts (1 hunks)
  • packages/localizations/src/es-MX.ts (1 hunks)
  • packages/localizations/src/es-UY.ts (1 hunks)
  • packages/localizations/src/fa-IR.ts (1 hunks)
  • packages/localizations/src/fi-FI.ts (1 hunks)
  • packages/localizations/src/fr-FR.ts (1 hunks)
  • packages/localizations/src/he-IL.ts (1 hunks)
  • packages/localizations/src/hi-IN.ts (1 hunks)
  • packages/localizations/src/hr-HR.ts (1 hunks)
  • packages/localizations/src/hu-HU.ts (1 hunks)
  • packages/localizations/src/id-ID.ts (1 hunks)
  • packages/localizations/src/is-IS.ts (1 hunks)
  • packages/localizations/src/it-IT.ts (1 hunks)
  • packages/localizations/src/ja-JP.ts (1 hunks)
  • packages/localizations/src/kk-KZ.ts (1 hunks)
  • packages/localizations/src/ko-KR.ts (1 hunks)
  • packages/localizations/src/mn-MN.ts (1 hunks)
  • packages/localizations/src/ms-MY.ts (1 hunks)
  • packages/localizations/src/nb-NO.ts (1 hunks)
  • packages/localizations/src/nl-BE.ts (1 hunks)
  • packages/localizations/src/nl-NL.ts (1 hunks)
  • packages/localizations/src/pl-PL.ts (1 hunks)
  • packages/localizations/src/pt-BR.ts (1 hunks)
  • packages/localizations/src/pt-PT.ts (1 hunks)
  • packages/localizations/src/ro-RO.ts (1 hunks)
  • packages/localizations/src/ru-RU.ts (1 hunks)
  • packages/localizations/src/sk-SK.ts (1 hunks)
  • packages/localizations/src/sr-RS.ts (1 hunks)
  • packages/localizations/src/sv-SE.ts (1 hunks)
  • packages/localizations/src/ta-IN.ts (1 hunks)
  • packages/localizations/src/te-IN.ts (1 hunks)
  • packages/localizations/src/th-TH.ts (1 hunks)
  • packages/localizations/src/tr-TR.ts (1 hunks)
  • packages/localizations/src/uk-UA.ts (1 hunks)
  • packages/localizations/src/vi-VN.ts (1 hunks)
  • packages/localizations/src/zh-CN.ts (1 hunks)
  • packages/localizations/src/zh-TW.ts (1 hunks)
  • packages/shared/src/types/localization.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (16)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

All code must pass ESLint checks with the project's configuration

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
**/*.{js,jsx,ts,tsx,json,md,yml,yaml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
packages/**/src/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Follow established naming conventions (PascalCase for components, camelCase for variables)

Prefer importing types from @clerk/shared/types instead of the deprecated @clerk/types alias

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
packages/**/src/**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

packages/**/src/**/*.{ts,tsx,js,jsx}: Maintain comprehensive JSDoc comments for public APIs
Use tree-shaking friendly exports
Validate all inputs and sanitize outputs
All public APIs must be documented with JSDoc
Use dynamic imports for optional features
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Implement proper logging with different levels

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
**/*.ts?(x)

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
packages/localizations/**

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

packages/localizations/**: Localization support must include translations for 30+ languages using a modular localization system
Support RTL languages in the localization system

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/typescript.mdc)

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Implement type guards for unknown types using the pattern function isType(value: unknown): value is Type
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details in classes
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Use mixins for shared behavior across unrelated classes in TypeScript
Use generic constraints with bounded type parameters like <T extends { id: string }>
Use utility types like Omit, Partial, and Pick for data transformation instead of manual type construction
Use discriminated unions instead of boolean flags for state management and API responses
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation at the type level
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Document functions with JSDoc comments including @param, @returns, @throws, and @example tags
Create custom error classes that extend Error for specific error types
Use the Result pattern for error handling instead of throwing exceptions
Use optional chaining (?.) and nullish coalescing (??) operators for safe property access
Let TypeScript infer obvious types to reduce verbosity
Use const assertions with as const for literal types
Use satisfies operator for type checking without widening types
Declare readonly arrays and objects for immutable data structures
Use spread operator and array spread for immutable updates instead of mutations
Use lazy loading for large types...

Files:

  • packages/localizations/src/ko-KR.ts
  • packages/localizations/src/nl-BE.ts
  • packages/shared/src/types/localization.ts
  • packages/localizations/src/be-BY.ts
  • packages/localizations/src/fa-IR.ts
  • packages/localizations/src/pt-PT.ts
  • packages/localizations/src/es-CR.ts
  • packages/localizations/src/pt-BR.ts
  • packages/localizations/src/ru-RU.ts
  • packages/localizations/src/es-ES.ts
  • packages/localizations/src/hi-IN.ts
  • packages/localizations/src/hu-HU.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/localizations/src/it-IT.ts
  • packages/localizations/src/zh-TW.ts
  • packages/localizations/src/ca-ES.ts
  • packages/localizations/src/ms-MY.ts
  • packages/localizations/src/hr-HR.ts
  • packages/localizations/src/ja-JP.ts
  • packages/localizations/src/nl-NL.ts
  • packages/localizations/src/id-ID.ts
  • packages/localizations/src/de-DE.ts
  • packages/localizations/src/pl-PL.ts
  • packages/localizations/src/sk-SK.ts
  • packages/localizations/src/te-IN.ts
  • packages/localizations/src/uk-UA.ts
  • packages/localizations/src/kk-KZ.ts
  • packages/localizations/src/cs-CZ.ts
  • packages/localizations/src/da-DK.ts
  • packages/localizations/src/th-TH.ts
  • packages/localizations/src/en-GB.ts
  • packages/localizations/src/vi-VN.ts
  • packages/localizations/src/fr-FR.ts
  • packages/localizations/src/ta-IN.ts
  • packages/localizations/src/zh-CN.ts
  • packages/localizations/src/tr-TR.ts
  • packages/localizations/src/he-IL.ts
  • packages/localizations/src/bg-BG.ts
  • packages/localizations/src/en-US.ts
  • packages/localizations/src/nb-NO.ts
  • packages/localizations/src/ar-SA.ts
  • packages/localizations/src/mn-MN.ts
  • packages/localizations/src/fi-FI.ts
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
  • packages/localizations/src/sv-SE.ts
  • packages/localizations/src/el-GR.ts
  • packages/localizations/src/is-IS.ts
  • packages/localizations/src/bn-IN.ts
  • packages/localizations/src/sr-RS.ts
  • packages/localizations/src/es-MX.ts
  • packages/localizations/src/es-UY.ts
  • packages/localizations/src/ro-RO.ts
packages/clerk-js/src/ui/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/clerk-js-ui.mdc)

packages/clerk-js/src/ui/**/*.{ts,tsx}: Element descriptors should be written in camelCase
Use useCardState for card-level state management
Use useFormState for form-level state management
Use useLoadingStatus for managing loading states
Use useFormControl hook for form field state management with validation and localization support
All rendered values must be localized using useLocalizations hook - hard coded values are not allowed
Use localizationKeys for translating UI text with support for parameters and error messages
Use handleError utility for API error handling and provide field states for proper error mapping
Use the styled system sx prop with theme tokens for custom styling instead of inline styles
Use the Card component pattern with Card.Root, Card.Header, Card.Title, Card.Content, and Card.Footer for consistent card layouts
Use FormContainer with headerTitle and headerSubtitle localization keys combined with Form.Root and FormButtons for consistent form layouts
When form submission occurs, manage loading and error states by calling status.setLoading(), card.setLoading(), and card.setError() appropriately

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
**/*.{test,spec}.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{test,spec}.{ts,tsx,js,jsx}: Unit tests are required for all new functionality
Verify proper error handling and edge cases
Include tests for all new features

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
**/*.tsx

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.tsx: Use error boundaries in React components
Minimize re-renders in React components

**/*.tsx: Use proper type definitions for props and state in React components
Leverage TypeScript's type inference where possible in React components
Use proper event types for handlers in React components
Implement proper generic types for reusable React components
Use proper type guards for conditional rendering in React components

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
**/*.{test,spec,e2e}.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use real Clerk instances for integration tests

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
**/*.{md,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Update documentation for API changes

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
**/*.test.tsx

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use React Testing Library for component testing

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
**/*.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.{jsx,tsx}: Always use functional components with hooks instead of class components
Follow PascalCase naming for components (e.g., UserProfile, NavigationMenu)
Keep components focused on a single responsibility - split large components
Limit component size to 150-200 lines; extract logic into custom hooks
Use composition over inheritance - prefer smaller, composable components
Export components as named exports for better tree-shaking
One component per file with matching filename and component name
Separate UI components from business logic components
Use useState for simple state management in React components
Use useReducer for complex state logic in React components
Implement proper state initialization in React components
Use proper state updates with callbacks in React components
Implement proper state cleanup in React components
Use Context API for theme/authentication state management
Implement proper state persistence in React applications
Use React.memo for expensive components
Implement proper useCallback for handlers in React components
Use proper useMemo for expensive computations in React components
Implement proper virtualization for lists in React components
Use proper code splitting with React.lazy in React applications
Implement proper cleanup in useEffect hooks
Use proper refs for DOM access in React components
Implement proper event listener cleanup in React components
Use proper abort controllers for fetch in React components
Implement proper subscription cleanup in React components
Use proper HTML elements for semantic HTML in React components
Implement proper ARIA attributes for accessibility in React components
Use proper heading hierarchy in React components
Implement proper form labels in React components
Use proper button types in React components
Implement proper focus management for keyboard navigation in React components
Use proper keyboard shortcuts in React components
Implement proper tab order in React components
Use proper ...

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx
**/*.{test,spec}.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.{test,spec}.{jsx,tsx}: Use React Testing Library for unit testing React components
Test component behavior, not implementation details
Use proper test queries in React Testing Library tests
Implement proper test isolation in React component tests
Use proper test coverage in React component tests
Test component interactions in integration tests
Use proper test data in React component tests
Implement proper test setup in React component tests
Use proper test cleanup in React component tests
Implement proper test assertions in React component tests
Use proper test structure for React component tests

Files:

  • packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx
🧬 Code graph analysis (2)
packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/__tests__/TaskResetPassword.test.tsx (1)
packages/clerk-js/src/test/utils.ts (1)
  • waitFor (73-73)
packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx (1)
packages/clerk-js/src/ui/elements/Header.tsx (1)
  • Header (103-108)
🔇 Additional comments (45)
packages/localizations/src/nb-NO.ts (1)

875-875: LGTM! Change follows the established localization pattern.

The addition of subtitle: undefined is consistent with how this community-maintained locale handles untranslated strings. This approach allows the schema to be extended across all locales while leaving the actual translation to be provided later by community contributors.

packages/localizations/src/fi-FI.ts (1)

871-879: taskResetPassword.subtitle key addition is consistent and type-safe

Adding subtitle: undefined under taskResetPassword matches the existing localization pattern for untranslated strings and keeps this locale aligned with the updated localization schema. No issues from a typing or structural standpoint.

packages/localizations/src/da-DK.ts (1)

874-874: LGTM! Consistent with the localization pattern.

The addition of subtitle: undefined correctly extends the taskResetPassword schema to maintain type compatibility with the updated LocalizationResource type. Setting it to undefined is consistent with the pattern used throughout this community-maintained file for untranslated strings.

Note: Danish users will see no subtitle until this field is translated from the English source text.

packages/localizations/src/ta-IN.ts (1)

883-883: LGTM! Follows the established pattern for untranslated fields.

The addition of subtitle: undefined to the taskResetPassword object is correct and consistent with how this community-maintained localization file handles new fields that haven't been translated yet. The placement within the object structure is appropriate.

packages/localizations/src/mn-MN.ts (1)

870-878: Subtitle key correctly added for TaskResetPassword

Adding subtitle: undefined under taskResetPassword matches the new localization shape and is consistent with other untranslated keys in this file. This will allow the UI subtitle to be wired up once the Mongolian copy is available without breaking type safety.

packages/localizations/src/sk-SK.ts (1)

875-883: Subtitle key addition for reset-password task is correct

The new subtitle: undefined entry under taskResetPassword is syntactically correct and consistent with how untranslated keys are represented elsewhere in this locale.

packages/localizations/src/es-ES.ts (1)

871-879: Reset-password subtitle key wired into es-ES localization

Adding subtitle: undefined under taskResetPassword cleanly exposes the new string without breaking existing translations or types.

packages/localizations/src/ko-KR.ts (1)

863-871: Consistent extension of ko-KR taskResetPassword with subtitle

The subtitle property is added in the right place and form, matching the updated localization schema and existing patterns in this file.

packages/localizations/src/pt-PT.ts (1)

868-876: pt-PT reset-password subtitle key added correctly

The new subtitle field under taskResetPassword is correctly placed and keeps the locale object in sync with the extended localization contract.

packages/localizations/src/te-IN.ts (1)

877-885: te-IN taskResetPassword now supports subtitle key

Adding subtitle: undefined under taskResetPassword is consistent with the new localization surface and existing patterns in this locale.

packages/localizations/src/sv-SE.ts (1)

873-881: Consistent subtitle key added for taskResetPassword

Adding subtitle: undefined keeps the sv-SE taskResetPassword shape aligned with other locales and the shared localization type, with no runtime impact.

packages/localizations/src/en-GB.ts (1)

872-880: Subtitle field correctly added to taskResetPassword

The new subtitle: undefined entry cleanly extends the en-GB taskResetPassword object to support the new UI subtitle without changing behavior.

packages/localizations/src/th-TH.ts (1)

871-879: taskResetPassword.subtitle added in line with existing pattern

The added subtitle: undefined keeps the th-TH taskResetPassword entry in sync with the shared type and other locales; no issues found.

packages/localizations/src/ca-ES.ts (1)

870-878: Subtitle stub added for taskResetPassword

subtitle: undefined is correctly wired into the ca-ES taskResetPassword block, aligning this locale with the expanded TaskResetPassword UI.

packages/localizations/src/be-BY.ts (1)

875-883: be-BY taskResetPassword now exposes subtitle key

The subtitle: undefined entry correctly extends the be-BY localization shape for TaskResetPassword to support the new subtitle UI without altering existing behavior.

packages/localizations/src/he-IL.ts (1)

861-869: Subtitle key addition looks good

Adding taskResetPassword.subtitle: undefined keeps the he-IL resource in sync with the new header subtitle without changing runtime behavior.

packages/localizations/src/it-IT.ts (1)

878-886: Italian locale updated consistently

The new taskResetPassword.subtitle: undefined key matches the expanded localization shape and is safe to ship.

packages/localizations/src/zh-CN.ts (1)

857-865: zh-CN subtitle key matches new UI contract

Adding taskResetPassword.subtitle: undefined keeps this locale compatible with the new header subtitle without altering existing strings.

.changeset/spotty-terms-check.md (1)

1-7: Changeset is correctly scoped

Patch bumps for @clerk/localizations, @clerk/clerk-js, and @clerk/shared with a clear description are appropriate for this UI/localization tweak.

packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskResetPassword/index.tsx (1)

113-116: Header subtitle wiring is correct

Header.Subtitle uses localizationKeys('taskResetPassword.subtitle'), which aligns with the new localization field and existing header API; no further changes needed here.

packages/localizations/src/hu-HU.ts (1)

869-877: Hungarian locale kept in sync

The added taskResetPassword.subtitle: undefined correctly extends the localization shape for the new subtitle without affecting current UX.

packages/localizations/src/vi-VN.ts (1)

878-886: vi-VN subtitle key aligned with schema

Adding taskResetPassword.subtitle: undefined keeps vi-VN compatible with the new TaskResetPassword header contract.

packages/localizations/src/es-MX.ts (1)

878-886: taskResetPassword subtitle key added correctly

The new subtitle key under taskResetPassword matches the updated localization schema and the pattern used in other locales; keeping it undefined is consistent for a community locale and lets it fall back to the default text.

packages/localizations/src/sr-RS.ts (1)

868-876: Subtitle key wired into taskResetPassword as expected

Adding subtitle: undefined here brings sr-RS in line with the new taskResetPassword schema and other locales, and is safe given the existing pattern of falling back when a translation is not provided.

packages/localizations/src/es-UY.ts (1)

877-885: taskResetPassword subtitle key added consistently

The new subtitle entry under taskResetPassword matches the shared localization structure and other locales; keeping it undefined is appropriate for this community file until a translation is provided.

packages/localizations/src/ru-RU.ts (1)

882-890: New taskResetPassword.subtitle key is correctly added

The added subtitle: undefined key matches the localization shape and existing pattern for untranslated strings in this file; it’s a safe, non-breaking extension of the locale surface.

packages/localizations/src/en-US.ts (1)

869-877: taskResetPassword copy and new subtitle look consistent

The new subtitle clearly explains why the reset is required, and updating the title to “Reset your password” keeps wording aligned with the flow. Keys and structure match the rest of the localization resource and the expected UI usage.

packages/localizations/src/es-CR.ts (1)

877-885: taskResetPassword.subtitle added with correct shape

Adding subtitle: undefined keeps this locale’s taskResetPassword block in sync with the shared localization schema and other locales, without impacting runtime behavior until translated.

packages/localizations/src/hi-IN.ts (1)

875-883: Subtitle key added consistently for taskResetPassword

The subtitle: undefined entry correctly extends the taskResetPassword localization block to support the new subtitle UI, matching the shared type and patterns used elsewhere.

packages/localizations/src/ms-MY.ts (1)

878-886: taskResetPassword.subtitle extension is correct

The added subtitle key follows the established locale structure and aligns with the new Task Reset Password subtitle usage, without affecting existing behavior.

packages/localizations/src/bg-BG.ts (1)

871-879: Subtitle key addition is consistent and non‑breaking

Adding subtitle: undefined here cleanly extends the localization surface for taskResetPassword and matches the existing title pattern; it’s safe to ship even without a translation value yet.

packages/localizations/src/cs-CZ.ts (1)

881-889: Subtitle field added correctly to taskResetPassword

subtitle: undefined is placed consistently beside title and keeps the cs‑CZ locale in sync with the shared localization schema.

packages/localizations/src/nl-BE.ts (1)

870-878: nl‑BE taskResetPassword subtitle wired into locale

The new subtitle: undefined entry is correctly added and keeps the nl‑BE localization aligned with the updated reset‑password task UI.

packages/localizations/src/nl-NL.ts (1)

870-878: Schema alignment for nl‑NL taskResetPassword

The subtitle: undefined key is added in the right place and keeps nl‑NL consistent with the shared taskResetPassword localization schema.

packages/localizations/src/el-GR.ts (1)

872-880: el‑GR taskResetPassword now exposes subtitle key

Adding subtitle: undefined here properly extends the el‑GR localization for the reset‑password task without altering current behavior.

packages/localizations/src/fa-IR.ts (1)

881-889: taskResetPassword.subtitle locale key added correctly

Adding subtitle: undefined here keeps the fa-IR resource in sync with the extended taskResetPassword schema and avoids type issues, while safely leaving the string untranslated for now.

packages/localizations/src/pl-PL.ts (1)

875-883: Polish taskResetPassword.subtitle key wired into localization shape

The new subtitle: undefined entry correctly extends the pl-PL taskResetPassword block to match the updated localization type, without altering existing behavior.

packages/localizations/src/uk-UA.ts (1)

867-875: Schema alignment for taskResetPassword.subtitle in uk-UA

Defining subtitle: undefined here properly updates the uk-UA locale to support the new subtitle field used by taskResetPassword, consistent with other locales.

packages/localizations/src/tr-TR.ts (1)

871-879: tr-TR taskResetPassword.subtitle key added in the right place

The subtitle: undefined property cleanly extends the tr-TR taskResetPassword block to match the new UI/localization contract, without impacting runtime behavior.

packages/localizations/src/kk-KZ.ts (1)

862-870: kk-KZ taskResetPassword.subtitle now part of the locale surface

Including subtitle: undefined here completes the taskResetPassword shape for kk-KZ, matching the updated shared localization type and other locale files.

packages/shared/src/types/localization.ts (1)

1294-1302: taskResetPassword.subtitle type addition looks consistent and safe

Adding subtitle: LocalizationValue to __internal_LocalizationResource.taskResetPassword matches how subtitles are modeled elsewhere (e.g., other task sections) and correctly exposes the new localization key through LocalizationResource without breaking existing locales.

packages/localizations/src/ar-SA.ts (1)

867-875: ar-SA taskResetPassword.subtitle key wired correctly

The new subtitle: undefined entry under taskResetPassword matches the extended type surface and existing locale patterns that use undefined as a placeholder until translations are provided.

packages/localizations/src/zh-TW.ts (1)

858-866: zh-TW taskResetPassword.subtitle added in line with new type

The subtitle: undefined field under taskResetPassword aligns with the updated LocalizationResource shape and mirrors the placeholder style used elsewhere in this locale.

packages/localizations/src/ja-JP.ts (1)

882-890: ja-JP taskResetPassword.subtitle key matches the extended contract

The newly added subtitle: undefined under taskResetPassword is consistent with the updated type definition and with how other optional localization keys are stubbed in this file.

packages/localizations/src/ro-RO.ts (1)

883-891: ro-RO taskResetPassword.subtitle key added consistently

The subtitle: undefined entry under taskResetPassword correctly reflects the new localization key while keeping behavior aligned with other partially translated locales.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 8, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7392

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7392

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7392

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7392

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7392

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7392

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@7392

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@7392

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7392

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7392

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7392

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7392

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7392

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7392

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@7392

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7392

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@7392

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7392

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7392

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7392

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@7392

@clerk/types

npm i https://pkg.pr.new/@clerk/types@7392

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7392

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7392

commit: 9c71a1b

@nikosdouvlis nikosdouvlis disabled auto-merge December 8, 2025 16:24
@nikosdouvlis nikosdouvlis merged commit b117ebc into main Dec 8, 2025
135 of 145 checks passed
@nikosdouvlis nikosdouvlis deleted the vaggelis/fix-add-description-to-reset-session-task-component branch December 8, 2025 16:24
nikosdouvlis pushed a commit that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants