Names have been added to the buttons in query copilot page with suggestions
This commit is contained in:
parent
6af1925d15
commit
5a5cb26ab4
|
@ -374,6 +374,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
|
|||
)}
|
||||
<IconButton
|
||||
iconProps={{ iconName: "Send" }}
|
||||
aria-label="Send"
|
||||
disabled={isGeneratingQuery || !userPrompt.trim()}
|
||||
style={{ marginLeft: 8 }}
|
||||
onClick={() => startGenerateQueryProcess()}
|
||||
|
@ -550,6 +551,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
|
|||
)}
|
||||
<IconButton
|
||||
id="likeBtn"
|
||||
aria-label="Like"
|
||||
style={{ marginLeft: 20 }}
|
||||
iconProps={{ iconName: likeQuery === true ? "LikeSolid" : "Like" }}
|
||||
onClick={() => {
|
||||
|
@ -562,6 +564,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
|
|||
/>
|
||||
<IconButton
|
||||
style={{ margin: "0 10px" }}
|
||||
aria-label="Dislike"
|
||||
iconProps={{ iconName: dislikeQuery === true ? "DislikeSolid" : "Dislike" }}
|
||||
onClick={() => {
|
||||
if (!dislikeQuery) {
|
||||
|
|
Loading…
Reference in New Issue