fix: tools call available dropdown #5222
Merged
+66
−50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
https://discord.com/channels/1107178041848909847/1380250208163860641/1380250208163860641
This pull request introduces several updates to the
ChatInput
and related components in theweb-app
directory, focusing on improving the user experience by refining tooltips, dropdowns, and UI behavior. Additionally, it includes minor adjustments to other components for better functionality and design consistency.Enhancements to
ChatInput
Component:dropdownToolsAvailable
andtooltipToolsAvailable
to manage the interaction between dropdowns and tooltips, ensuring smoother user experience. (web-app/src/containers/ChatInput.tsx
, web-app/src/containers/ChatInput.tsxR67-R68)TooltipTrigger
andDropdownToolsAvailable
to disable/enable based on state, preventing overlapping interactions. (web-app/src/containers/ChatInput.tsx
, web-app/src/containers/ChatInput.tsxL466-R486)web-app/src/containers/ChatInput.tsx
, web-app/src/containers/ChatInput.tsxL484-R506)Improvements to
DropdownToolsAvailable
:web-app/src/containers/DropdownToolsAvailable.tsx
, web-app/src/containers/DropdownToolsAvailable.tsxL102-R129)web-app/src/containers/DropdownToolsAvailable.tsx
, web-app/src/containers/DropdownToolsAvailable.tsxL102-R129)Minor UI Adjustments:
ProvidersMenu
for a cleaner display. (web-app/src/containers/ProvidersMenu.tsx
, web-app/src/containers/ProvidersMenu.tsxR99-R103)RenderMarkdown
, avoiding unintended interactions. (web-app/src/containers/RenderMarkdown.tsx
, web-app/src/containers/RenderMarkdown.tsxL83-R86)Fixes Issues
Self Checklist
Important
Improves
ChatInput
and related components by refining tooltips, dropdowns, and UI behavior, with minor UI adjustments in other components.dropdownToolsAvailable
andtooltipToolsAvailable
state variables to manage dropdown and tooltip interactions inChatInput.tsx
.TooltipTrigger
andDropdownToolsAvailable
to toggle based on state, preventing overlap inChatInput.tsx
.ChatInput.tsx
.DropdownToolsAvailable.tsx
.DropdownToolsAvailable.tsx
.ProvidersMenu.tsx
for cleaner display.RenderMarkdown.tsx
.This description was created by
for 94bdaac. You can customize this summary. It will automatically update as commits are pushed.