From 0f80d4c144e2dd7ae2e2364f867e0139c83a99fe Mon Sep 17 00:00:00 2001 From: Marc McIntosh Date: Tue, 20 Feb 2024 14:31:25 +0100 Subject: [PATCH] chore: update readme and todos --- README.md | 9 ++++++++- TODO.md | 8 +++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4a7cb01f..a5b6e437 100644 --- a/README.md +++ b/README.md @@ -153,10 +153,17 @@ interface ChatErrorStreaming extends ActionToChat { } /** * Request for command completion from the lsp + * trigger will be null if the user has selected a command at that point it should be fine to send the query to the lsp */ interface RequestAtCommandCompletion extends ActionFromChat { type: EVENT_NAMES_FROM_CHAT.REQUEST_AT_COMMAND_COMPLETION; // = "chat_request_at_command_completion" - payload: { id: string; query: string; cursor: number; number: number }; + payload: { + id: string; + query: string; + cursor: number; + trigger: string | null; + number?: number; + }; } /** diff --git a/TODO.md b/TODO.md index eae5148f..09e633bc 100644 --- a/TODO.md +++ b/TODO.md @@ -104,12 +104,14 @@ [x] bug with the combobox being open after asking a question [x] file preview should scroll with textarea [x] chat content should stay at end when textarea grows -[ ] should this be disabled if the user has scrolled away from the bottom? +[ ] should the scrolling be disabled if the user has scrolled away from the bottom? -[ ] combobox only needs one function for completion and preview +[x] combobox only needs one function for completion and preview [x] check clicking on the combobox the second click on @@file doesn't seem to work. [x] place the cursor at the right place when adding a command between text -[ ] use repeat to find flaky tests +[x] use repeat to find flaky tests + +[x] list display in response has a large margin/padding ### EVENTS TODO FOR IDEs