-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev 0.0.6 #150
Conversation
This file contains 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
- Introduced a maximize/minimize toggle for the AskPanel, enhancing user experience by allowing users to expand the panel for better visibility. - Updated the layout to adjust the panel size dynamically based on the maximize state. - Improved styling for the quote display area and input components to ensure a consistent and user-friendly interface. - Refactored code for better readability and maintainability.
…yling - Added a new custom hook, usePreventOverflowHidden, to prevent unwanted overflow styles on the document element. - Integrated the usePreventOverflowHidden hook into ToolDropdown and ModelDropdown components to enhance usability. - Updated dropdown components to include isolation styles for better rendering and interaction. - Improved overall styling for dropdown menus to ensure a consistent user experience.
…der info - Added shortName property to model objects for improved readability. - Updated dropdown display to show short names alongside provider information, enhancing user experience and clarity.
- Adjusted the layout of dropdown items to enhance readability and user interaction. - Updated the styling to ensure provider information is displayed more clearly on hover, improving overall user experience.
- Added event propagation prevention for Escape and '@' key presses to enhance dropdown interaction. - Updated Enter key handling to prevent default behavior during composition, improving user experience. - Implemented onKeyUp event to stop propagation, ensuring consistent keyboard behavior across input interactions.
- Updated the positioning of the CopyButton in the AskMessage component to enhance its visibility and accessibility. - Changed the top margin from `top-0` to `top-[-6px]` to better align the button with the message text, improving user interaction.
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.
This pull request includes several changes to improve the user interface and functionality of the
ask-panel
component, as well as some configuration updates.UI and Functionality Improvements:
AskPanel
component, allowing the panel to be expanded and collapsed. This includes changes to the panel's CSS classes and the addition of theisMaximized
state. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]CopyButton
andAskMessage
components to improve the user experience, including changes to button positioning and visibility. [1] [2]Configuration Updates:
fastRequestCurrentProjectConfig.json
configuration file, which contained various API documentation templates and project settings..husky/pre-commit
script to usepnpm lint-staged
directly instead ofpnpm dlx lint-staged
.Codebase Enhancements:
usePreventOverflowHidden
hook to prevent overflow hidden styles from being applied to the document, and integrated this hook into theToolDropdown
andModelDropdown
components. [1] [2] [3] [4] [5] [6] [7] [8]These changes collectively enhance the user interface, improve functionality, and clean up the codebase.