-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
chore: sync main to feature #407
Conversation
* feat(bubble): add typing suffix support * docs(Bubble): improve typing demo documentation Co-authored-by: bqxbqx <[email protected]>
* feat: XStream 返回流同时支持异步迭代 * feat: asyncGenerator -> asyncIterable * Update components/x-stream/index.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * refactor: return to asyncGenerator * refactor: delete try..finally * refactor: add type * feat: return stream * feat: XReadableStream -> XReadableStream<Output> * feat: add test * feat: add interrupt streaming output demo * feat: add cleanup code * fix: add useEffect import * fix: lint * feat: update snapshot --------- Co-authored-by: 行楠 <[email protected]> Co-authored-by: 🏎️ Imer <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* refactor: code semantics, typingSuffix -> customSuffix * fix: code error
* feat: Sender support focus. * refactor: demo dom * chore: update test snap * fix: ts error * refactor: remove export SenderRef and use GetRef instead * refactor: SenderRef * docs: update SenderRef * docs: add blur demo * chore: update test snap * refactor: useProxyImperativeHandle instead of React.useImperativeHandle * test: add test for useProxyImperativeHandle
* chore: update version * docs: update changelog of 1.0.4 * docs: fix * docs: update img link (#395) * refactor: delete repetitive style import (#394) * feat: Sender support focus. (#397) * feat: Sender support focus. * refactor: demo dom * chore: update test snap * fix: ts error * refactor: remove export SenderRef and use GetRef instead * refactor: SenderRef * docs: update SenderRef * docs: add blur demo * chore: update test snap * refactor: useProxyImperativeHandle instead of React.useImperativeHandle * test: add test for useProxyImperativeHandle * chore: add DingTalk Release Notification (#401) * docs: update changelog
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Walkthrough\nThis pull request synchronizes the main branch with the feature branch. It includes updates to various components, enhancements, and bug fixes. Notable changes include the addition of new features, improvements to existing functionalities, and updates to documentation.\n\n### Changes\n| Files | Summary |\n|-------|---------|\n| .dumi/theme/common/PeterCat.tsx, .dumi/theme/layouts/GlobalLayout.tsx | Removed unused style import from
|
@@ -137,11 +137,13 @@ export interface XStreamOptions<Output> { | |||
transformStream?: TransformStream<string, Output>; | |||
} | |||
|
|||
type XReadableStream<R = SSEOutput> = ReadableStream<R> & AsyncGenerator<R>; |
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.
The XStream
function has been refactored to return a ReadableStream
that supports async iteration. Ensure that all usages of XStream
are compatible with this change, as it may affect how streams are consumed in the application.
No description provided.