From 7b54baaf6eb6c0c8ba54e2a4efefe8d2df039c98 Mon Sep 17 00:00:00 2001 From: Kevin Gilpin Date: Thu, 9 Jan 2025 16:21:02 -0500 Subject: [PATCH] fix: Propagate code selection location to Navie Fixes https://github.com/getappmap/appmap-js/issues/2188 --- .../components/src/components/chat/Chat.vue | 47 ++++++++---- .../src/components/chat/CodeSelection.ts | 7 ++ packages/components/src/pages/ChatSearch.vue | 73 ++++++++++++------- .../src/stories/ChatInput.stories.js | 1 + .../tests/unit/chat/ChatComponent.spec.js | 13 +++- 5 files changed, 98 insertions(+), 43 deletions(-) create mode 100644 packages/components/src/components/chat/CodeSelection.ts diff --git a/packages/components/src/components/chat/Chat.vue b/packages/components/src/components/chat/Chat.vue index 261226044d..094439172e 100644 --- a/packages/components/src/components/chat/Chat.vue +++ b/packages/components/src/components/chat/Chat.vue @@ -77,21 +77,14 @@