-
Notifications
You must be signed in to change notification settings - Fork 10.2k
feat: rename cal.ai to transcribe #22940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Anirban Singha <anirbansingha20@gmail.com>
WalkthroughThe changes update the label of the transcription-related button from "Cal.ai" to "Transcribe" in two locations: the button state definition in Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@SinghaAnirban005 is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
ba80583
to
abeb4d6
Compare
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/06/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (08/06/25)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (08/06/25)1 label was added to this PR based on Keith Williams's automation. |
There was a problem hiding this 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
🔭 Outside diff range comments (1)
apps/web/modules/videos/views/videos-single-view.tsx (1)
86-92
: Wrap UI strings witht()
to comply with localisation guidelinePer the repo guideline for
**/*.tsx
, all user-facing text must be passed through the translation function instead of being hard-coded. The newly added string still violates that rule.- transcription: { - label: "Transcribe", - tooltip: "Transcription powered by AI", + transcription: { + label: t("transcribe"), // add key in locales + tooltip: t("transcription_powered_by_ai"), // add key in localesYou already import
useLocale
elsewhere, sot
is available in scope.
🧹 Nitpick comments (1)
apps/web/modules/videos/button-states.ts (1)
15-17
: Consider internationalisation for new labelThe new string
"Transcribe"
is hard-coded. While this file is not JSX/TSX (so the localisation guideline doesn’t strictly apply), the value ultimately surfaces in the UI. If the rest of the button catalogue is ever localised, keeping raw strings here will require additional refactors.Not blocking, but worth considering exposing the label through your i18n layer (e.g.
t("transcribe")
) to keep parity with the TSX usage patterns.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
apps/web/modules/videos/button-states.ts
(1 hunks)apps/web/modules/videos/views/videos-single-view.tsx
(1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.tsx
📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Always use
t()
for text localization in frontend code; direct text embedding should trigger a warning
Files:
apps/web/modules/videos/views/videos-single-view.tsx
**/*.{ts,tsx}
📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Flag excessive Day.js use in performance-critical code; prefer native Date or Day.js
.utc()
in hot paths like loops
Files:
apps/web/modules/videos/views/videos-single-view.tsx
apps/web/modules/videos/button-states.ts
**/*.ts
📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
**/*.ts
: For Prisma queries, only select data you need; never useinclude
, always useselect
Ensure thecredential.key
field is never returned from tRPC endpoints or APIs
Files:
apps/web/modules/videos/button-states.ts
🧠 Learnings (1)
📚 Learning: applies to **/*.tsx : always use `t()` for text localization in frontend code; direct text embedding...
Learnt from: CR
PR: calcom/cal.com#0
File: .cursor/rules/review.mdc:0-0
Timestamp: 2025-07-28T11:50:23.946Z
Learning: Applies to **/*.tsx : Always use `t()` for text localization in frontend code; direct text embedding should trigger a warning
Applied to files:
apps/web/modules/videos/views/videos-single-view.tsx
E2E results are ready! |
* feat: rename cal.ai to transcribe Signed-off-by: Anirban Singha <anirbansingha20@gmail.com> * update Signed-off-by: Anirban Singha <anirbansingha20@gmail.com> --------- Signed-off-by: Anirban Singha <anirbansingha20@gmail.com>
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?