Skip to content

Commit 9b8bef4

Browse files
committed
Use thumbUp and thumbDown icons and adjust suggested questions
1 parent 75f7c21 commit 9b8bef4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/Elastic.Documentation.Site/Assets/eui-icons-cache.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { icon as EuiIconSparkles } from '@elastic/eui/es/components/icon/assets/
1616
import { icon as EuiIconTrash } from '@elastic/eui/es/components/icon/assets/trash'
1717
import { icon as EuiIconUser } from '@elastic/eui/es/components/icon/assets/user'
1818
import { icon as EuiIconWrench } from '@elastic/eui/es/components/icon/assets/wrench'
19+
import { icon as EuiIconThumbUp } from '@elastic/eui/es/components/icon/assets/thumbUp'
20+
import { icon as EuiIconThumbDown } from '@elastic/eui/es/components/icon/assets/thumbDown'
1921
import { appendIconComponentCache } from '@elastic/eui/es/components/icon/icon'
2022

2123
appendIconComponentCache({
@@ -37,4 +39,6 @@ appendIconComponentCache({
3739
faceSad: EuiIconFaceSad,
3840
refresh: EuiIconRefresh,
3941
error: EuiIconError,
42+
thumbUp: EuiIconThumbUp,
43+
thumbDown: EuiIconThumbDown,
4044
})

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/AskAi/AskAiAnswer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const AskAiAnswer = () => {
117117
<EuiToolTip content="This answer was helpful">
118118
<EuiButtonIcon
119119
aria-label="This answer was helpful"
120-
iconType="faceHappy"
120+
iconType="thumbUp"
121121
color="success"
122122
/>
123123
</EuiToolTip>
@@ -126,7 +126,7 @@ export const AskAiAnswer = () => {
126126
<EuiToolTip content="This answer was not helpful">
127127
<EuiButtonIcon
128128
aria-label="This answer was not helpful"
129-
iconType="faceSad"
129+
iconType="thumbDown"
130130
color="danger"
131131
/>
132132
</EuiToolTip>

src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/SearchOrAskAiModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ export const SearchOrAskAiModal = () => {
5959
suggestions={[
6060
{ question: 'What is an index template?' },
6161
{ question: 'What is semantic search?' },
62-
{ question: 'How do I create an index?' },
62+
{ question: 'How do I create an elasticsearch index?' },
63+
{ question: 'How do I set up an ingest pipeline?' },
6364
]}
6465
/>
6566
)}

0 commit comments

Comments
 (0)