Skip to content

add snippet js translation missing callout#586

Merged
Lauren Hirata Singh (lnhsingh) merged 2 commits into
mainfrom
eugene/mcp_docs
Sep 19, 2025
Merged

add snippet js translation missing callout#586
Lauren Hirata Singh (lnhsingh) merged 2 commits into
mainfrom
eugene/mcp_docs

Conversation

@eyurtsev

@eyurtsev Eugene Yurtsev (eyurtsev) commented Sep 18, 2025

Copy link
Copy Markdown
Collaborator

Added a snippet for js translations. No need to merge until we need to use it.

Idea is to make sure we have an easy way to identify which code blocks need to be translated!

@github-actions

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-eugene-1758225995-098199f

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 a reusable MDX snippet that provides a callout component to indicate when JavaScript code examples are missing from documentation pages. This snippet will help identify areas where JavaScript translations are needed.

  • Adds a new MDX snippet file for JavaScript translation missing callout
  • Uses Mintlify's Callout component with appropriate styling and messaging
  • Includes a link to the docs repository for contributions

Comment thread src/snippets/js-snippet-missing.mdx Outdated
Copilot AI review requested due to automatic review settings September 19, 2025 13:54

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I like it!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

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

@@ -0,0 +1,4 @@
<Callout icon="hand-holding-hand" color="#FFC107" iconType="regular">
We don’t have this code example in JavaScript yet. Want to help?

Copilot AI Sep 19, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Consider changing 'We don't have' to 'We don't currently have' for clearer communication about the temporary nature of the missing content.

Suggested change
We don’t have this code example in JavaScript yet. Want to help?
We don’t currently have this code example in JavaScript yet. Want to help?

Copilot uses AI. Check for mistakes.
@github-actions

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-eugene-1758290140-ceead96

@lnhsingh
Lauren Hirata Singh (lnhsingh) merged commit 49bd9cd into main Sep 19, 2025
12 checks passed
@lnhsingh
Lauren Hirata Singh (lnhsingh) deleted the eugene/mcp_docs branch September 19, 2025 14:07
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.

3 participants