1
0
mirror of synced 2025-12-19 18:10:59 -05:00

[AI Search] Update disclaimer text style (#55420)

This commit is contained in:
Ashish Keshan
2025-04-25 17:09:12 -04:00
committed by GitHub
parent 4a4e201111
commit 3fb90a63db
4 changed files with 8 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ search:
search_docs_with_query: Search docs for "{{query}}" search_docs_with_query: Search docs for "{{query}}"
privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data. privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data.
ai: ai:
disclaimer: Copilot uses AI. Check for mistakes by reviewing the links in the response. disclaimer: <a href="https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-githubcom"}>Copilot</a> uses AI. Check for mistakes.
references: Additional docs references: Additional docs
loading_status_message: Loading Copilot response... loading_status_message: Loading Copilot response...
done_loading_status_message: Done loading Copilot response done_loading_status_message: Done loading Copilot response

View File

@@ -45,7 +45,7 @@ search:
search_docs_with_query: Search docs for "{{query}}" search_docs_with_query: Search docs for "{{query}}"
privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data. privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data.
ai: ai:
disclaimer: Copilot uses AI. Check for mistakes by reviewing the links in the response. disclaimer: <a href="https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-githubcom"}>Copilot</a> uses AI. Check for mistakes.
references: Additional docs references: Additional docs
loading_status_message: Loading Copilot response... loading_status_message: Loading Copilot response...
done_loading_status_message: Done loading Copilot response done_loading_status_message: Done loading Copilot response

View File

@@ -15,6 +15,11 @@ $mutedTextColor: var(--fgColor-muted, var(--color-fg-muted, #656d76));
color: $mutedTextColor; color: $mutedTextColor;
margin: 8px 0px 18px 0px; margin: 8px 0px 18px 0px;
padding: $bodyPadding; padding: $bodyPadding;
a {
color: $mutedTextColor;
text-decoration: underline;
}
} }
.markdownBodyOverrides { .markdownBodyOverrides {

View File

@@ -298,7 +298,7 @@ export function AskAIResults({
<article aria-busy={responseLoading} aria-live="assertive"> <article aria-busy={responseLoading} aria-live="assertive">
{!aiCouldNotAnswer && message !== '' ? ( {!aiCouldNotAnswer && message !== '' ? (
<span ref={disclaimerRef} className={styles.disclaimerText}> <span ref={disclaimerRef} className={styles.disclaimerText}>
{t('search.ai.disclaimer')} <span dangerouslySetInnerHTML={{ __html: t('search.ai.disclaimer') }} />
</span> </span>
) : null} ) : null}
<UnrenderedMarkdownContent <UnrenderedMarkdownContent