-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add custom scrollbar to ai chat #337
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
base: main
Are you sure you want to change the base?
feat: add custom scrollbar to ai chat #337
Conversation
|
Cursor Agent can help with this pull request. Just |
|
@cursor fix biome checks |
|
All biome checks are now passing. The imports have been automatically organized in the correct order:
Learn more about Cursor Agents |
| import PlusIcon from '@icon/regular/plus.svg'; | ||
| import XIcon from '@icon/regular/x.svg'; | ||
| import { DropdownMenu } from '@kobalte/core/dropdown-menu'; | ||
| import { CustomScrollbar } from '@macro-entity'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should not be importing from macro-entity here, CustomScrollbar should be moved into Core
| } from '@core/signal/blockElement'; | ||
| import { blockHandleSignal } from '@core/signal/load'; | ||
| import { useCanEdit } from '@core/signal/permissions'; | ||
| import { CustomScrollbar } from '@macro-entity'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
| import SunIcon from '@icon/duotone/sun-horizon-duotone.svg'; | ||
| import ArrowDownIcon from '@icon/regular/arrow-down.svg'; | ||
| import XIcon from '@icon/regular/x.svg'; | ||
| import { CustomScrollbar } from '@macro-entity'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
714b0f5 to
1360c54
Compare
b9cd4dd to
b9f677f
Compare
Co-authored-by: jacob <[email protected]>
Co-authored-by: jacob <[email protected]>
b9f677f to
28d9b5d
Compare
Summary
This PR adds the custom scrollbar to both the AI chat block (fullscreen view) and the sidebar AI chat panel. This provides a consistent, custom-styled scrollbar experience across AI chat interfaces, featuring a thin accent-colored scrollbar with smooth animations and enhanced interaction.
Screenshots, GIFs, and Videos
Please provide screenshots or GIFs demonstrating the new custom scrollbar in both the fullscreen AI chat and the sidebar AI chat panel.