Skip to content

Update terminology from "production endpoint" to "main endpoint"#629

Open
Thushani-Jayasekera wants to merge 1 commit intowso2:mainfrom
Thushani-Jayasekera:gen-cred
Open

Update terminology from "production endpoint" to "main endpoint"#629
Thushani-Jayasekera wants to merge 1 commit intowso2:mainfrom
Thushani-Jayasekera:gen-cred

Conversation

@Thushani-Jayasekera
Copy link
Copy Markdown
Contributor

@Thushani-Jayasekera Thushani-Jayasekera commented Feb 23, 2026

Purpose

$subject

Summary by CodeRabbit

  • Style
    • Updated endpoint label terminology from "Production Endpoint" to "Main Endpoint" throughout the interface.
    • Copy button accessibility labels updated to reflect new endpoint naming convention.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 23, 2026

Walkthrough

The pull request updates terminology across two files, replacing "production endpoint" references with "main endpoint" in the GraphQL schema viewer component's accessibility label and the API documentation template. No functional, structural, or behavioral changes were introduced.

Changes

Cohort / File(s) Summary
Endpoint label terminology updates
libs/graphql-schema-viewer/src/components/GraphQLSchemaViewer/GraphQLSchemaViewer.tsx, src/defaultContent/pages/api-landing/partials/api-default.hbs
Changed "production endpoint" terminology to "main endpoint" in accessibility label and UI text label. No functional or structural modifications.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 From "production" to "main," the words take flight,
A simple shift, terminology made right,
No logic changed, just labels that gleam,
Like a rabbit hopping through a naming dream! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is incomplete, containing only a Purpose heading with a placeholder '$subject' instead of substantive content describing the change, issues, goals, approach, or other required sections. Complete the description by removing the placeholder and filling in required sections including Purpose, Goals, Approach, Release note, Documentation, and other applicable sections from the template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: updating terminology from 'production endpoint' to 'main endpoint' across UI components.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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
Copy Markdown

@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.

Caution

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

⚠️ Outside diff range comments (1)
libs/graphql-schema-viewer/src/components/GraphQLSchemaViewer/GraphQLSchemaViewer.tsx (1)

305-332: ⚠️ Potential issue | 🟡 Minor

Update visible label to match aria-label and sandbox pattern.

The aria-label reads "Copy main endpoint URL to clipboard" (line 305), but the visible label still reads "Endpoint" (line 332). Update it to "Main Endpoint" to align with the accessibility label and match the pattern used for the Sandbox card.

Suggested fix
                    <div style={{ ...styles.endpointLabel, ...styles.endpointLabelProduction }}>
-                      Endpoint
+                      Main Endpoint
                    </div>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@libs/graphql-schema-viewer/src/components/GraphQLSchemaViewer/GraphQLSchemaViewer.tsx`
around lines 305 - 332, The visible label text inside the production endpoint
card currently reads "Endpoint" but the aria-label is "Copy main endpoint URL to
clipboard" and the sandbox card uses "Main Endpoint"; update the rendered label
string to "Main Endpoint" where styles.endpointLabel and
styles.endpointLabelProduction are applied (the same JSX block that calls
handleEndpointCopy and sets aria-label) so the UI text matches the aria-label
and sandbox pattern.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In
`@libs/graphql-schema-viewer/src/components/GraphQLSchemaViewer/GraphQLSchemaViewer.tsx`:
- Around line 305-332: The visible label text inside the production endpoint
card currently reads "Endpoint" but the aria-label is "Copy main endpoint URL to
clipboard" and the sandbox card uses "Main Endpoint"; update the rendered label
string to "Main Endpoint" where styles.endpointLabel and
styles.endpointLabelProduction are applied (the same JSX block that calls
handleEndpointCopy and sets aria-label) so the UI text matches the aria-label
and sandbox pattern.

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.

1 participant