-
Notifications
You must be signed in to change notification settings - Fork 43
Feature/pub 1765 annotations examples #2636
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?
Conversation
Uses a double-pane view to show the example side by side for two different clients.
Shown in an expandable pane when the message is clicked.
Publish an annotation, specifying the annotation type. Summaries are received as a message in the subscribe listener.
Listens for annotation summaries received in realtime and renders their information for each summary type in a set of expandable summary components in the message details.
Separates the annotations summary from the raw annotations messages displayed in separate tabs.
Adds a delete button to raw annotations to publish a delete annotation which removes the annotation from the summary. Refactors the raw annotation view to display in a more compact format.
Various improvements to the components and styling to create a more compact visual style.
Adds the franken-ui dependency to the examples renderer. Updates the set of visible files configured for sandpack.
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
Description
Adds an example app for the new message annotations feature. Showcases:
I recorded a quick Loom to walk through this example: https://www.loom.com/share/e8e37e37d7c04999b82493142b445336?sid=25392ef5-5d8e-4225-8bea-1e2f08fb31f4
I intend to update the docs before landing this PR, but opening now for draft review.
This examples requires us to configure a namespace (channel rule) with the
mutableMessages
flag enabled. We need to identify how we can do this when used from the examples.This also needs an image to include on the examples index.
Checklist