Changesets · Branches · Tags · Compare
| Changeset | 2536cc3b1ea927bc01f1bbd9311d6a1fd7a74f3d6934735b81d6dbb566752562 |
|---|---|
| Author | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-16 18:48 -07:00 |
| Committer | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-16 18:48 -07:00 |
| Parents | b7ad1cad0f62 |
1 file changed
modified gui/src/components/StepContainer/ResponseActions.tsx +6 −11
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | import { |
| 2 | 2 | BarsArrowDownIcon, |
| 3 | - PlusIcon, | |
| 3 | + PencilSquareIcon, | |
| 4 | 4 | TrashIcon, |
| 5 | 5 | } from "@heroicons/react/24/outline"; |
| 6 | 6 | import { ChatHistoryItem } from "core"; |
| @@ -47,18 +47,13 @@ | ||
| 47 | 47 | return ( |
| 48 | 48 | <div className="text-description-muted mx-2 flex cursor-default items-center justify-end space-x-1 bg-transparent pb-0 text-xs"> |
| 49 | 49 | {isLast && ruleGenerationSupported && ( |
| 50 | - <div | |
| 51 | - className="mr-1 border-y-0 border-l-0 border-r border-solid pr-2" | |
| 50 | + <HeaderButtonWithToolTip | |
| 51 | + tabIndex={-1} | |
| 52 | + text="Generate rule" | |
| 52 | 53 | onClick={onGenerateRule} |
| 53 | 54 | > |
| 54 | - <span className="flex cursor-pointer items-center hover:brightness-125"> | |
| 55 | - <PlusIcon className="mr-1 h-3 w-3" /> | |
| 56 | - <span className="xs:block hidden whitespace-nowrap"> | |
| 57 | - Generate rule | |
| 58 | - </span> | |
| 59 | - <span className="xs:hidden block whitespace-nowrap">Rule</span> | |
| 60 | - </span> | |
| 61 | - </div> | |
| 55 | + <PencilSquareIcon className="text-description-muted h-3.5 w-3.5" /> | |
| 56 | + </HeaderButtonWithToolTip> | |
| 62 | 57 | )} |
| 63 | 58 | |
| 64 | 59 | {isTruncated && ( |