Open admineral opened 1 month ago
Thanks! Hoping to flush it more
I’ve been trying to send a photo of CodeSandbox render to the AI for feedback, but the photo always shows up as white. Maybe you know a trick ?
Could you share screenshot or steps to repro?
It is a little buggy.
Sorry for the misunderstanding. I'm working on a similar project using GPT and CodeSandbox, not your repository.
In my project, I've been experimenting with different React libraries to take screenshots. The goal is to create a feedback loop where I can send a screenshot of the code preview, generated by the AI, back to the model for feedback.
However, I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).
The project I'm working on is called "Reactor" and it's available on my GitHub profile, though I havent pushed the screenshot experient version. Maybe you can help with this?
Oh I see. Puppeteer is pretty good for taking web screenshot programmatically
Checkout my repo sketch2app and scroll up to previous commits, it demonstrates how to dynamically show react apps / react native apps with codesandbox rendered inside the app. It uses a package called sandpack which lets you pass json full of code.
I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).
haha the coding assistant with voice and codesandbox is very nice!