Skip to content
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

Feature to export the preview as image #26

Closed
lallenfrancisl opened this issue Jan 12, 2022 · 5 comments
Closed

Feature to export the preview as image #26

lallenfrancisl opened this issue Jan 12, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@lallenfrancisl
Copy link

It would be really nice if we could export the preview as an image. This could have usecases where we want to store it as documentation or include it in a website

@Ovyerus Ovyerus self-assigned this Jan 24, 2022
@Ovyerus Ovyerus added the enhancement New feature or request label Jan 24, 2022
@Ovyerus
Copy link
Owner

Ovyerus commented Jan 31, 2022

Definitely would be cool to have, a good idea. React Flow (the graph lib I'm using) doesn't seem to have a screenshot capability. However I notice monkeytype seems to take a screenshot of the results element (it changes temporarily to match what it has in the screenshot, before reverting back), so I'll do some digging to see if I can pull it off and implement something similar here.

@guatedude2
Copy link

Have you I saw @dravorle added the screenshot functionality. Is this something that's coming to the hosted version anytime soon?

@Ovyerus
Copy link
Owner

Ovyerus commented Jan 21, 2023

Yes I'll be getting it out to the hosted version as soon as I can. Noticed some weirdness with it (flow not going back to its normal size, and weird output size) during some testing yesterday though so I'm going to be changing some parts of it to try and fix it.

@dravorle
Copy link
Contributor

Just tested it and somehow there are really quite a few weird things with it now.
It might be due to the update to react flow 11, as I have not worked with that version when writing it.

Sorry for the complications!

@Ovyerus
Copy link
Owner

Ovyerus commented Jan 21, 2023

No worries, it was good to get the ball rolling at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants