-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
๐ style(chat): auto send message from URL #6497
base: main
Are you sure you want to change the base?
Conversation
@samanhappy is attempting to deploy a commit to the LobeChat Desktop Team on Vercel. A member of the Team first needs to authorize it. |
๐ @samanhappy Thank you for raising your pull request and contributing to our Community |
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.
Please move this feature in to a new component. useSearchParams
is not compatiable with pre-render. It should be wrapped with Suspense
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.
Hi, Iโm new to LobeChat, so if Iโve done anything incorrectly, please donโt hesitate to let me know
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## main #6497 +/- ##
=======================================
Coverage 91.62% 91.62%
=======================================
Files 699 699
Lines 65834 65834
Branches 4461 4461
=======================================
Hits 60321 60321
Misses 5513 5513
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. |
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
This change enables the application to pre-fill the input field with a message from the URL and automatically send it when the page is loaded. This feature is particularly useful when using Chrome's Site Search shortcuts, as it allows users to quickly send predefined messages by including them in the URL.
๐ ่กฅๅ ไฟกๆฏ | Additional Information