Skip to content

Commit

Permalink
[8.x] [Obs AI Assistant] Update the word "chat" to "co…
Browse files Browse the repository at this point in the history
…nversation" across the UI (#199310)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Update the word "chat" to
"conversation" across the
UI](#199216)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-07T12:52:22Z","message":"[Obs
AI Assistant] Update the word \"chat\" to \"conversation\" across the
UI\n\nCloses https://github.com/elastic/kibana/issues/196999\r\n\r\n##
Summary\r\n\r\n### Problem\r\nThe word \"chat\" and \"conversation\"
have been used in different parts of\r\nthe UI to refer to the same
thing, causing some inconsistency.\r\n\r\n### Solution\r\nUpdate all
occurrences of \"chat\" to
\"conversation\"","sha":"0d4b77f295b908de081fd1c2a4020b9b1a06c53a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.17.0"],"title":"[Obs
AI Assistant] Update the word \"chat\" to \"conversation\" across the
UI","number":199216,"url":"https://github.com/elastic/kibana/pull/199216","mergeCommit":{"message":"[Obs
AI Assistant] Update the word \"chat\" to \"conversation\" across the
UI\n\nCloses https://github.com/elastic/kibana/issues/196999\r\n\r\n##
Summary\r\n\r\n### Problem\r\nThe word \"chat\" and \"conversation\"
have been used in different parts of\r\nthe UI to refer to the same
thing, causing some inconsistency.\r\n\r\n### Solution\r\nUpdate all
occurrences of \"chat\" to
\"conversation\"","sha":"0d4b77f295b908de081fd1c2a4020b9b1a06c53a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199216","number":199216,"mergeCommit":{"message":"[Obs
AI Assistant] Update the word \"chat\" to \"conversation\" across the
UI\n\nCloses https://github.com/elastic/kibana/issues/196999\r\n\r\n##
Summary\r\n\r\n### Problem\r\nThe word \"chat\" and \"conversation\"
have been used in different parts of\r\nthe UI to refer to the same
thing, causing some inconsistency.\r\n\r\n### Solution\r\nUpdate all
occurrences of \"chat\" to
\"conversation\"","sha":"0d4b77f295b908de081fd1c2a4020b9b1a06c53a"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <[email protected]>
  • Loading branch information
kibanamachine and viduni94 authored Nov 7, 2024
1 parent 704c4fd commit 210fd07
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function NewChatButton(
{...nextProps}
>
{i18n.translate('xpack.aiAssistant.newChatButton', {
defaultMessage: 'New chat',
defaultMessage: 'New conversation',
})}
</EuiButton>
) : (
Expand Down
4 changes: 2 additions & 2 deletions x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,14 @@ export function ChatFlyout({
<EuiToolTip
content={i18n.translate(
'xpack.aiAssistant.chatFlyout.euiToolTip.newChatLabel',
{ defaultMessage: 'New chat' }
{ defaultMessage: 'New conversation' }
)}
display="block"
>
<NewChatButton
aria-label={i18n.translate(
'xpack.aiAssistant.chatFlyout.euiButtonIcon.newChatLabel',
{ defaultMessage: 'New chat' }
{ defaultMessage: 'New conversation' }
)}
collapsed
data-test-subj="observabilityAiAssistantNewChatFlyoutButton"
Expand Down
4 changes: 2 additions & 2 deletions x-pack/packages/kbn-ai-assistant/src/chat/chat_header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ export function ChatHeader({
flyoutPositionMode === 'overlay'
? i18n.translate(
'xpack.aiAssistant.chatHeader.euiToolTip.flyoutModeLabel.dock',
{ defaultMessage: 'Dock chat' }
{ defaultMessage: 'Dock conversation' }
)
: i18n.translate(
'xpack.aiAssistant.chatHeader.euiToolTip.flyoutModeLabel.undock',
{ defaultMessage: 'Undock chat' }
{ defaultMessage: 'Undock conversation' }
)
}
display="block"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/packages/kbn-ai-assistant/src/chat/disclaimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Disclaimer() {
>
{i18n.translate('xpack.aiAssistant.disclaimer.disclaimerLabel', {
defaultMessage:
"This chat is powered by an integration with your LLM provider. LLMs are known to sometimes present incorrect information as if it's correct. Elastic supports configuration and connection to the LLM provider and your knowledge base, but is not responsible for the LLM's responses.",
"This conversation is powered by an integration with your LLM provider. LLMs are known to sometimes present incorrect information as if it's correct. Elastic supports configuration and connection to the LLM provider and your knowledge base, but is not responsible for the LLM's responses.",
})}
</EuiText>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function StartChatButton(props: React.ComponentProps<typeof EuiButton>) {
{...props}
>
{i18n.translate('xpack.observabilityAiAssistant.insight.response.startChat', {
defaultMessage: 'Start chat',
defaultMessage: 'Start conversation',
})}
</EuiButton>
);
Expand Down

0 comments on commit 210fd07

Please sign in to comment.