-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
Feat(Builder): Add Video and Image Rendering to Block outputs #8167
Feat(Builder): Add Video and Image Rendering to Block outputs #8167
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
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.
Extract all this rendering to a reusable component isolated from this concern. We may want to do this across the app and also polluting the datatable is not the place for this code
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
… toran/open-1757-media-displaypreview-on-blocks
Removing myself from the reviewer list to remove bias |
Background
We want to be able to previous images and videos in the Builder.
Changes 🏗️
This change checks if an output url points to an image or a video, and renders it in the output table rather than displaying the url.
This works for raw video urls and YouTube urls.
Testing 🔍
Recording.2024-09-25.155309.mp4