Skip to content

Comments

fix: correct article usage for acronyms (an MFA, an SMS, an OTP)#42915

Merged
ChrisChinchilla merged 1 commit intosupabase:masterfrom
yogeshwaran-c:fix/grammar-an-mfa-an-otp-an-sms
Feb 18, 2026
Merged

fix: correct article usage for acronyms (an MFA, an SMS, an OTP)#42915
ChrisChinchilla merged 1 commit intosupabase:masterfrom
yogeshwaran-c:fix/grammar-an-mfa-an-otp-an-sms

Conversation

@yogeshwaran-c
Copy link
Contributor

What kind of change does this PR introduce?

Documentation / text fix (grammar)

What is the current behavior?

Several places in the codebase use "a" before acronyms that start with vowel sounds, which is grammatically incorrect:

  • "enter a MFA code" (MFA is pronounced "em-eff-ay", starting with a vowel sound)
  • "a SMS with a OTP" (SMS = "ess-em-ess", OTP = "oh-tee-pee")

What is the new behavior?

Corrected to use "an" before acronyms with vowel sounds:

  • "enter an MFA code"
  • "an SMS with an OTP"

Files changed

  • apps/studio/data/profile/mfa-challenge-and-verify-mutation.ts - comment fix
  • apps/docs/content/guides/platform/multi-factor-authentication.mdx - user-facing docs
  • apps/docs/docs/ref/javascript/v1/upgrade-guide.mdx - code comment in example
  • apps/docs/docs/ref/dart/v0/upgrade-guide.mdx - code comment in example

Additional context

The rule: use "an" before acronyms pronounced with an initial vowel sound, regardless of the first letter. "MFA" starts with "em" (vowel sound), "SMS" starts with "ess" (vowel sound), "OTP" starts with "oh" (vowel sound).

Fix incorrect indefinite article before acronyms that start with
vowel sounds:
- "a MFA" -> "an MFA" (pronounced "em-eff-ay")
- "a SMS" -> "an SMS" (pronounced "ess-em-ess")
- "a OTP" -> "an OTP" (pronounced "oh-tee-pee")
@yogeshwaran-c yogeshwaran-c requested a review from a team as a code owner February 17, 2026 02:52
@vercel
Copy link

vercel bot commented Feb 17, 2026

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Feb 18, 2026 1:32pm
learn Ready Ready Preview, Comment Feb 18, 2026 1:32pm
studio-self-hosted Ready Ready Preview, Comment Feb 18, 2026 1:32pm
studio-staging Ready Ready Preview, Comment Feb 18, 2026 1:32pm
ui-library Ready Ready Preview, Comment Feb 18, 2026 1:32pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Feb 18, 2026 1:32pm
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
cms Ignored Ignored Feb 18, 2026 1:32pm
studio Ignored Ignored Feb 18, 2026 1:32pm
design-system Skipped Skipped Feb 18, 2026 1:32pm

Request Review

@vercel
Copy link

vercel bot commented Feb 17, 2026

@yogeshwaran-c is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

Thanks for contributing to Supabase! ❤️ Our team will review your PR.

A few tips for a smoother review process:

  • If you have a local version of the repo, run pnpm run format to make sure formatting checks pass.
  • Once we've reviewed your PR, please don't trivially merge master (don't click Update branch if there are no merge conflicts to be fixed). This invalidates any pre-merge checks we've run.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 17, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

No actionable comments were generated in the recent review. 🎉


Summary by CodeRabbit

  • Documentation
    • Corrected grammar and capitalization in code examples and comments across multi-factor authentication guides.
    • Updated documentation for Dart and JavaScript upgrade guides.

Walkthrough

This pull request contains minor documentation and comment corrections across four files. Documentation files in apps/docs/ for both Dart and JavaScript upgrade guides have grammar corrections in code example comments, specifically updating "a SMS" to "an SMS" and "a OTP" to "an OTP". Additionally, the multi-factor authentication documentation and the MFA mutation file in apps/studio/ have comment line updates. All changes are non-functional with no impact on logic, control flow, or behavior.


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

Copy link
Contributor

@ChrisChinchilla ChrisChinchilla left a comment

Choose a reason for hiding this comment

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

@ChrisChinchilla ChrisChinchilla enabled auto-merge (squash) February 18, 2026 13:27
@coveralls
Copy link

Coverage Status

coverage: 73.567%. remained the same
when pulling fbdd79a on yogeshwaran-c:fix/grammar-an-mfa-an-otp-an-sms
into 4d36951 on supabase:master.

@ChrisChinchilla ChrisChinchilla merged commit f829c31 into supabase:master Feb 18, 2026
25 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

Braintrust eval report

Assistant (master-1771423971)

Score Average Improvements Regressions
Completeness 97.2% (-3pp) - 1 🔴
Conciseness 1.4% (+1pp) 1 🟢 -
Docs Faithfulness 52.6% (-8pp) - 1 🔴
Goal Completion 93.1% (-3pp) 1 🟢 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+7.000000000000001pp) 1 🟢 -
Tool Usage 97% (-3pp) - 1 🔴
Correctness 100% (+20pp) 1 🟢 -
URL Validity 100% (+0pp) - -
Time_to_first_token 0.28tok (-0.02tok) 7 🟢 5 🔴
Llm_calls 8.42 (+0.06) 5 🟢 4 🔴
Tool_calls 3.11 (+0.06) 4 🟢 5 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 117233.56tok (+8167.78tok) 5 🟢 7 🔴
Prompt_cached_tokens 55587.56tok (-259.56tok) 6 🟢 5 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 5669.67tok (+41.67tok) 7 🟢 5 🔴
Completion_reasoning_tokens 4170.67tok (+67.56tok) 6 🟢 5 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 122903.22tok (+8209.44tok) 4 🟢 8 🔴
Estimated_cost 0.03$ (+0$) 3 🟢 8 🔴
Duration 44.91s (-3.42s) 10 🟢 2 🔴
Llm_duration 88.09s (-5.71s) 10 🟢 2 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants