Changesets · Branches · Tags · Compare
| Changeset | e688e3578e84fc7d5a906875a7aa38c9e8529ac645b21d6bfb2ab46f942f0ab3 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-25 14:14 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-25 14:14 -07:00 |
| Parents | f34c6dd29412 |
10 files changed
modified gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx +1 −3
| @@ -48,9 +48,7 @@ | ||
| 48 | 48 | ) : ( |
| 49 | 49 | <> |
| 50 | 50 | <AssistantIcon assistant={selectedProfile} size={iconSize} /> |
| 51 | - <span | |
| 52 | - className={`select-none truncate text-xs ${isSidebar && "hidden md:block"}`} | |
| 53 | - > | |
| 51 | + <span className={`xs:line-clamp-1 hidden select-none text-xs`}> | |
| 54 | 52 | {selectedProfile.title} |
| 55 | 53 | </span> |
| 56 | 54 | </> |
modified gui/src/components/AssistantAndOrgListbox/index.tsx +1 −1
| @@ -150,7 +150,7 @@ | ||
| 150 | 150 | /> |
| 151 | 151 | <Transition> |
| 152 | 152 | <ListboxOptions |
| 153 | - className="max-h-32 -translate-x-1.5 overflow-y-auto pb-0" | |
| 153 | + className="max-h-32 scale-x-[97%] overflow-y-auto pb-0" | |
| 154 | 154 | style={{ zIndex: 200 }} |
| 155 | 155 | > |
| 156 | 156 | <div className="flex items-center justify-between px-1.5 py-1"> |
modified gui/src/components/StyledMarkdownPreview/index.tsx +20 −0
| @@ -84,6 +84,26 @@ | ||
| 84 | 84 | font-family: var(--vscode-editor-font-family); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + ul ul, | |
| 88 | + ul ol, | |
| 89 | + ol ul, | |
| 90 | + ol ol { | |
| 91 | + padding-left: 1.5em; | |
| 92 | + margin-top: 1em; | |
| 93 | + } | |
| 94 | + | |
| 95 | + li { | |
| 96 | + margin-bottom: 0.8em; | |
| 97 | + } | |
| 98 | + li:last-child { | |
| 99 | + margin-bottom: 0; | |
| 100 | + } | |
| 101 | + | |
| 102 | + ul, | |
| 103 | + ol { | |
| 104 | + padding-left: 2em; | |
| 105 | + } | |
| 106 | + | |
| 87 | 107 | code:not(pre > code) { |
| 88 | 108 | font-family: var(--vscode-editor-font-family); |
| 89 | 109 | } |
modified gui/src/components/mainInput/InputToolbar.tsx +0 −1
| @@ -56,7 +56,6 @@ | ||
| 56 | 56 | const hasReasoningEnabled = useAppSelector( |
| 57 | 57 | (store) => store.session.hasReasoningEnabled, |
| 58 | 58 | ); |
| 59 | - | |
| 60 | 59 | const isEnterDisabled = |
| 61 | 60 | props.disabled || (isInEdit && codeToEdit.length === 0); |
| 62 | 61 |
modified gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +1 −1
| @@ -105,7 +105,7 @@ | ||
| 105 | 105 | }; |
| 106 | 106 | |
| 107 | 107 | return ( |
| 108 | - <div className="flex flex-1 items-center justify-between gap-1.5"> | |
| 108 | + <div className="flex flex-1 items-center justify-between gap-3"> | |
| 109 | 109 | <div className="flex items-center gap-1"> |
| 110 | 110 | {shouldShowError && ( |
| 111 | 111 | <ToolTip delayShow={700} content="View configuration errors"> |
modified gui/src/components/ui/Button.tsx +1 −1
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | className={cn( |
| 41 | 41 | "cursor-pointer transition-all duration-200", |
| 42 | 42 | "hover:enabled:cursor-pointer", |
| 43 | - "disabled:text-description-muted disabled:pointer-events-none disabled:opacity-50", | |
| 43 | + "disabled:cursor-not-allowed disabled:opacity-50", | |
| 44 | 44 | buttonVariants[variant], |
| 45 | 45 | isIcon |
| 46 | 46 | ? iconButtonSizes[size] |
modified gui/src/pages/gui/ToolCallDiv/SimpleToolCallUI.tsx +5 −0
| @@ -7,6 +7,7 @@ | ||
| 7 | 7 | import { IdeMessengerContext } from "../../../context/IdeMessenger"; |
| 8 | 8 | import { ToggleWithIcon } from "./ToggleWithIcon"; |
| 9 | 9 | import { ToolCallStatusMessage } from "./ToolCallStatusMessage"; |
| 10 | +import { ToolTruncateHistoryIcon } from "./ToolTruncateHistoryIcon"; | |
| 10 | 11 | import { toolCallStateToContextItems } from "./utils"; |
| 11 | 12 | |
| 12 | 13 | interface SimpleToolCallUIProps { |
| @@ -61,6 +62,10 @@ | ||
| 61 | 62 | /> |
| 62 | 63 | <ToolCallStatusMessage tool={tool} toolCallState={toolCallState} /> |
| 63 | 64 | </div> |
| 65 | + | |
| 66 | + {!!toolCallState.output?.length && ( | |
| 67 | + <ToolTruncateHistoryIcon historyIndex={historyIndex} /> | |
| 68 | + )} | |
| 64 | 69 | </div> |
| 65 | 70 | |
| 66 | 71 | {isToggleable && ( |
modified gui/src/pages/gui/ToolCallDiv/ToolCallDisplay.tsx +5 −1
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | import { Tool, ToolCallState } from "core"; |
| 2 | 2 | import { ToolCallStatusMessage } from "./ToolCallStatusMessage"; |
| 3 | +import { ToolTruncateHistoryIcon } from "./ToolTruncateHistoryIcon"; | |
| 3 | 4 | |
| 4 | 5 | interface ToolCallDisplayProps { |
| 5 | 6 | children: React.ReactNode; |
| @@ -19,7 +20,7 @@ | ||
| 19 | 20 | return ( |
| 20 | 21 | <div className="flex flex-col justify-center px-4"> |
| 21 | 22 | <div className="mb-2 flex flex-col"> |
| 22 | - <div className="flex flex-row items-center justify-between gap-1.5"> | |
| 23 | + <div className="flex flex-row items-start justify-between gap-1.5"> | |
| 23 | 24 | <div className="flex min-w-0 flex-row items-center gap-2"> |
| 24 | 25 | <div className="mt-[1px] h-4 w-4 flex-shrink-0 font-semibold"> |
| 25 | 26 | {icon} |
| @@ -29,6 +30,9 @@ | ||
| 29 | 30 | )} |
| 30 | 31 | <ToolCallStatusMessage tool={tool} toolCallState={toolCallState} /> |
| 31 | 32 | </div> |
| 33 | + {!!toolCallState.output?.length && ( | |
| 34 | + <ToolTruncateHistoryIcon historyIndex={historyIndex} /> | |
| 35 | + )} | |
| 32 | 36 | </div> |
| 33 | 37 | </div> |
| 34 | 38 | <div>{children}</div> |
modified gui/src/pages/gui/ToolCallDiv/ToolCallStatusMessage.tsx +1 −1
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | |
| 54 | 54 | return ( |
| 55 | 55 | <div |
| 56 | - className="text-description line-clamp-4 min-w-0 break-all" | |
| 56 | + className="text-description line-clamp-4 min-w-0 break-words" | |
| 57 | 57 | data-testid="tool-call-title" |
| 58 | 58 | > |
| 59 | 59 | {`Continue ${intro} ${message}`} |
modified gui/src/pages/gui/ToolCallDiv/ToolTruncateHistoryIcon.tsx +2 −1
| @@ -21,7 +21,8 @@ | ||
| 21 | 21 | const { mainEditor } = useMainEditor(); |
| 22 | 22 | |
| 23 | 23 | if (historyIndex === lastMessageIndex) { |
| 24 | - return null; | |
| 24 | + // filler so doesn't jump in | |
| 25 | + return <div className="h-3 w-3" />; | |
| 25 | 26 | } |
| 26 | 27 | |
| 27 | 28 | return ( |