From e14163cda2ff1de2e90621f1de2341fd90b136d2 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Thu, 27 Mar 2025 14:37:03 -0700 Subject: [PATCH] feat: add animated ellipsis to lump --- extensions/vscode/package-lock.json | 4 ++-- gui/src/components/mainInput/Lump/LumpToolbar.tsx | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 678794d02..1170be786 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "1.1.16", + "version": "1.1.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "1.1.16", + "version": "1.1.17", "license": "Apache-2.0", "dependencies": { "@continuedev/fetch": "^1.0.3", diff --git a/gui/src/components/mainInput/Lump/LumpToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar.tsx index cca7885d3..c4565cb95 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar.tsx @@ -1,5 +1,6 @@ import { useContext } from "react"; import styled from "styled-components"; +import { AnimatedEllipsis } from "../.."; import { IdeMessengerContext } from "../../../context/IdeMessenger"; import { useAppDispatch, useAppSelector } from "../../../redux/hooks"; import { @@ -11,7 +12,8 @@ import { BlockSettingsTopToolbar } from "./BlockSettingsTopToolbar"; const Container = styled.div` display: flex; - justify-content: flex-end; + justify-content: space-between; + align-items: center; width: 100%; `; @@ -27,6 +29,15 @@ interface TopToolbarProps { setSelectedSection: (value: string | null) => void; } +function GeneratingIndicator() { + return ( +
+ Generating + +
+ ); +} + export function LumpToolbar(props: TopToolbarProps) { const dispatch = useAppDispatch(); const ideMessenger = useContext(IdeMessengerContext); @@ -36,6 +47,7 @@ export function LumpToolbar(props: TopToolbarProps) { if (ttsActive) { return ( + { @@ -51,6 +63,7 @@ export function LumpToolbar(props: TopToolbarProps) { if (isStreaming) { return ( + {