improvement(tag-dropdown): added option to select block in tag dropdown, custom tools modal improvements, light mode fixes#2594
Merged
waleedlatif1 merged 4 commits intostagingfrom Dec 27, 2025
Conversation
…wn, custom tools modal improvements, light mode fixes
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis PR implements UI improvements for the tag dropdown and custom tools modal, along with comprehensive light mode fixes across multiple components. The changes enhance the tag dropdown by adding block selection with visual icons, improve the custom tools modal parameter display using Badge components, and ensure consistent theming by replacing hardcoded colors with CSS variables and adding light mode variants throughout the application. Key Changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant TagDropdown
participant OutputSelect
participant CustomToolModal
participant Store
Note over User,Store: Tag Dropdown Block Selection Flow
User->>TagDropdown: Types "<" to trigger dropdown
TagDropdown->>Store: Fetch blocks and nested tags
Store-->>TagDropdown: Return block data
TagDropdown->>TagDropdown: Generate flatTagList with root tags
TagDropdown->>User: Display blocks with TagIcon
User->>TagDropdown: Select root block tag
TagDropdown->>Store: Insert block reference
Note over User,Store: Output Select Enhancement Flow
User->>OutputSelect: Opens output selector
OutputSelect->>Store: Get workflow outputs by block
Store-->>OutputSelect: Return grouped outputs
OutputSelect->>OutputSelect: Render block icons with TagIcon
User->>OutputSelect: Press ArrowDown key
OutputSelect->>OutputSelect: Global keydown listener captures event
OutputSelect->>OutputSelect: Update highlightedIndex
OutputSelect->>OutputSelect: Auto-scroll to highlighted item
User->>OutputSelect: Press Enter to select
OutputSelect->>Store: Update selected outputs
Note over User,Store: Custom Tool Modal Improvements
User->>CustomToolModal: Opens modal
CustomToolModal->>CustomToolModal: Parse JSON schema for parameters
CustomToolModal->>User: Display parameters as Badge components
User->>CustomToolModal: Types parameter name
CustomToolModal->>CustomToolModal: Show autocomplete dropdown
User->>CustomToolModal: Navigate with arrow keys
CustomToolModal->>CustomToolModal: Auto-scroll selected parameter
User->>CustomToolModal: Select parameter
CustomToolModal->>CustomToolModal: Insert parameter into code
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Type of Change
Testing
Tested manually
Checklist